11 #if defined (WITH_YANGAPI) || defined(WITH_YCONTROL) || defined(WITH_RESTCONF) 12 #ifndef _H_agt_yangapi 13 #define _H_agt_yangapi 54 #ifndef _H_agt_restcmn 150 const xmlChar *comment_str,
189 #endif // WITH_YANGAPI || WITH_YCONTROL || WITH_RESTCONF 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
agt_yangapi_context_t * agt_yangapi_get_context(void)
Get the YANG-API Context structure.
Definition: agt_yangapi.c:1768
status_t agt_yangapi_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_yangapi.c:1630
NETCONF Session Common definitions module.
YANG-API definitions (pre-RESTCONF)
One YANG Patch Request.
Definition: yang_patch.h:155
boolean agt_yangapi_dispatch_db_api(ses_cb_t *scb, yang_patch_cb_t *pcb, boolean skip_sil, boolean skip_save, const xmlChar *comment_str, status_t *res)
Dispatch an incoming YControl DB-API request.
Definition: agt_yangapi.c:1260
status_t agt_yangapi_init(void)
Initialize the agt_yangapi module.
Definition: agt_yangapi.c:834
Session Control Block.
Definition: ses.h:542
status_t
global error return code
Definition: status_enum.h:186
module context node with cached schema tree and API template for retrieval (root) ...
Definition: agt_restcmn.h:171
Common function for RESTCONF and YANG-API protocols.
Global error messages for status code enumerations.
void agt_yangapi_cleanup(void)
Cleanup the agt_yangapi module.
Definition: agt_yangapi.c:859
boolean agt_yangapi_dispatch(ses_cb_t *scb)
Dispatch an incoming Yuma REST API request.
Definition: agt_yangapi.c:882