yumapro  24.10-3
YumaPro SDK
Loading...
Searching...
No Matches
ypgnmi.h File Reference

YP-GNMI requests support module. More...

#include <xmlstring.h>
#include "status.h"
#include "status_enum.h"
#include "ncxtypes.h"
#include "dlq.h"
#include "val.h"
#include "yangapi.h"
Include dependency graph for ypgnmi.h:

Go to the source code of this file.

Data Structures

struct  ypgnmi_get_cb_t
 gNMI GET control block More...
 
struct  ypgnmi_edit_t
 Delete/Replace/Update edit requests Q. More...
 
struct  ypgnmi_edit_cb_t
 gNMI Edit Control Block More...
 

Functions

ypgnmi_get_cb_typgnmi_new_gcb (void)
 Create a new ypgnmi_get_cb_t control block. More...
 
void ypgnmi_free_gcb (ypgnmi_get_cb_t *cb)
 Clean and free a ypgnmi_get_cb_t control block. More...
 
ypgnmi_edit_tget_first_edit_entry (ypgnmi_edit_cb_t *cb)
 Get the first edit entry in editsQ. More...
 
ypgnmi_edit_tget_next_edit_entry (ypgnmi_edit_t *entry)
 Get the next edit entry in the editsQ. More...
 
ypgnmi_edit_typgnmi_new_edit (xmlChar *path_str, xmlChar *input, op_editop_t editop)
 Create a new yp-gnmi Edit entriy. More...
 
void ypgnmi_free_edit (ypgnmi_edit_t *entry)
 Free a yp-gnmi Edit entries. More...
 
ypgnmi_edit_cb_typgnmi_new_ecb (void)
 Create a new ypgnmi_edit_cb_t control block. More...
 
void ypgnmi_free_ecb (ypgnmi_edit_cb_t *cb)
 Clean and free a ypgnmi_edit_cb_t control block. More...
 
void ypgnmi_set_edit_status (rpc_msg_t *msg, const xmlChar *edit_id, status_t res)
 Set the error status to the gNMI edit. More...
 
boolean ypgnmi_check_edits_status (ypgnmi_edit_cb_t *ecb)
 Check if any of the requested edits failed. More...
 

Detailed Description

YP-GNMI requests support module.