11#ifndef _H_agt_restconf
12#define _H_agt_restconf
163 boolean scb_is_static);
166#if defined(WITH_GNMI) && defined(WITH_RESTCONF) && defined(WITH_YCONTROL)
Common function for RESTCONF and YANG-API protocols.
status_t agt_restconf_init(void)
Initialize the agt_restconf module.
Definition: agt_restconf.c:1698
boolean agt_restconf_dispatch_gnmi_get(ses_cb_t *scb)
Dispatch an incoming gNMI GET request with help of RESTCONF.
Definition: agt_restconf.c:2592
status_t agt_restconf_static_restmon_init1(void)
Load the ietf-restconf-monitoring SIL even if it is statically linked.
Definition: agt_restconf.c:2520
status_t agt_restconf_setup_fields_nodes(ses_cb_t *scb, yangapi_cb_t *rcb, rpc_msg_t *msg, boolean *errdone)
Setup fields nodes if parameter is used.
Definition: agt_restconf.c:1399
boolean agt_restconf_dispatch_ex(ses_cb_t *scb, boolean scb_is_static)
Dispatch an incoming RESTCONF request (Extended)
Definition: agt_restconf.c:1769
val_value_t * agt_restconf_get_root(void)
Get the RESTCONF Context root val_value_t node.
Definition: agt_restconf.c:2494
boolean agt_restconf_dispatch(ses_cb_t *scb)
Dispatch an incoming RESTCONF request.
Definition: agt_restconf.c:1747
void agt_restconf_static_restmon_cleanup(void)
Call the cleanup function for the ietf-restconf-monitoring module.
Definition: agt_restconf.c:2560
agt_restconf_data_t * agt_restconf_get_context(void)
Get the RESTCONF Context structure.
Definition: agt_restconf.c:2478
status_t agt_restconf_static_restmon_init2(void)
Call the ietf-restconf-monitoring init2 function.
Definition: agt_restconf.c:2540
status_t agt_restconf_validate_method_params(ses_cb_t *scb, yangapi_cb_t *rcb, rpc_msg_t *msg)
validate that the operation is supported for the URI parameters given.
Definition: agt_restconf.c:1591
void agt_restconf_cleanup(void)
Cleanup the agt_yangapi module.
Definition: agt_restconf.c:1723
status_t
global error return code
Definition: status_enum.h:210
Global error messages for status code enumerations.
global error status code enumerations
RESTCONF structure for data.
Definition: agt_restcmn.h:183
NETCONF Server and Client RPC Request/Reply Message Header.
Definition: rpc.h:181
Session Control Block.
Definition: ses.h:573
one value to match one type
Definition: val.h:912
Restapi Control Block Used by RESTCONF to hold parse and request processing state.
Definition: yangapi.h:351