11 #if defined(WITH_YANGAPI) || defined(WITH_RESTCONF) || defined(WITH_YCONTROL) 12 #ifndef _H_agt_restconf 13 #define _H_agt_restconf 40 #ifndef _H_status_enum 48 #ifndef _H_agt_restcmn 164 boolean scb_is_static);
167 #if defined(WITH_GNMI) && defined(WITH_RESTCONF) && defined(WITH_YCONTROL) 239 #endif // WITH_RESTCONF 240 #endif // STATIC_LINK 252 #endif // WITH_RESTCONF || WITH_YANGPAI || WITH_YCONTROL val_value_t * agt_restconf_get_root(void)
Get the RESTCONF Context root val_value_t node.
Definition: agt_restconf.c:2701
Restapi Control Block Used by RESTCONF to hold parse and request processing state.
Definition: yangapi.h:224
NETCONF Server and Client RPC Request/Reply Message Header.
Definition: rpc.h:181
boolean agt_restconf_dispatch(ses_cb_t *scb)
Dispatch an incoming RESTCONF request.
Definition: agt_restconf.c:2023
boolean agt_restconf_dispatch_ex(ses_cb_t *scb, boolean scb_is_static)
Dispatch an incoming RESTCONF request (Extended)
Definition: agt_restconf.c:2045
status_t agt_restconf_static_restmon_init1(void)
Load the ietf-restconf-monitoring SIL even if it is statically linked.
Definition: agt_restconf.c:2727
agt_restconf_data_t * agt_restconf_get_context(void)
Get the RESTCONF Context structure.
Definition: agt_restconf.c:2685
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:1440
void agt_restconf_static_restmon_cleanup(void)
Call the cleanup function for the ietf-restconf-monitoring module.
Definition: agt_restconf.c:2767
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:1632
RESTCONF structure for data.
Definition: agt_restcmn.h:184
one value to match one type
Definition: val.h:870
status_t agt_restconf_init(void)
Initialize the agt_restconf module.
Definition: agt_restconf.c:1974
boolean agt_restconf_dispatch_gnmi_get(ses_cb_t *scb)
Dispatch an incoming gNMI GET request with help of RESTCONF.
Definition: agt_restconf.c:2799
Session Control Block.
Definition: ses.h:542
status_t
global error return code
Definition: status_enum.h:186
Common function for RESTCONF and YANG-API protocols.
Global error messages for status code enumerations.
status_t agt_restconf_static_restmon_init2(void)
Call the ietf-restconf-monitoring init2 function.
Definition: agt_restconf.c:2747
void agt_restconf_cleanup(void)
Cleanup the agt_yangapi module.
Definition: agt_restconf.c:1999
global error status code enumerations