93#define SA_NAME_EXT (const xmlChar *)"_sa"
102typedef enum agt_siltype_t_ {
122 const xmlChar *revision);
151#define AGT_SIL_LIB_EXTERN(N) \
152 extern status_t y_##N##_init (const xmlChar *modname, const xmlChar *revision);\
153 extern status_t y_##N##_init2 (void);\
154 extern void y_##N##_cleanup (void);
177 const xmlChar *revision,
237 const xmlChar *revision,
255 const xmlChar *revision,
258 boolean is_loadpath);
dlq provides general double-linked list and queue support:
status_t(* agt_sil_init_fn_t)(const xmlChar *modname, const xmlChar *revision)
SIL init function template.
Definition: agt_sil_lib.h:121
status_t agt_load_sil_code(const xmlChar *modname, const xmlChar *revision, boolean cfgloaded, agt_siltype_t siltyp, boolean is_sil_sa)
Load the Server Instrumentation Library for the specified module.
Definition: agt_sil_lib.c:439
status_t agt_sil_lib_call_init2(void)
Call the available SIL init2 callbacks.
Definition: agt_sil_lib.c:875
status_t(* agt_sil_init2_fn_t)(void)
SIL init2 function template.
Definition: agt_sil_lib.h:133
agt_siltype_t
SIL types.
Definition: agt_sil_lib.h:102
boolean agt_dynlib_loaded(const xmlChar *name)
Check a module of bundle name is in the dynlibQ.
Definition: agt_sil_lib.c:774
status_t agt_sil_lib_register_statlib(const xmlChar *modname, agt_sil_init_fn_t init_fn, agt_sil_init2_fn_t init2_fn, agt_sil_cleanup_fn_t cleanup_fn)
Register a static SIL or SIL-SA library for a module or a bundle.
Definition: agt_sil_lib.c:1041
status_t load_SIL(const xmlChar *modname, const xmlChar *revision, agt_siltype_t siltyp, boolean is_sil_sa)
Load the SIL code or load the YANG module.
Definition: agt_sil_lib.c:261
void agt_sil_lib_support_save(ses_cb_t *scb, xml_msg_hdr_t *mhdr, xmlns_id_t parent_nsid, int32 indent, int32 startindent)
Dump the XML support-save info for the <sils> container.
Definition: agt_sil_lib.c:940
void agt_sil_lib_cleanup(void)
Cleanup the module.
Definition: agt_sil_lib.c:816
status_t load_SIL_loadpath(const xmlChar *modname, const xmlChar *revision, agt_siltype_t siltyp, boolean is_sil_sa, boolean is_loadpath)
Load the SIL code or load the YANG module.
Definition: agt_sil_lib.c:289
void(* agt_sil_cleanup_fn_t)(void)
SIL cleanup function template.
Definition: agt_sil_lib.h:141
void agt_sil_lib_init(void)
Initialize the module.
Definition: agt_sil_lib.c:799
status_t agt_unload_sil_code(const xmlChar *modname)
Unload the Server Instrumentation Library for the specified module.
Definition: agt_sil_lib.c:713
@ AGT_SILTYP_BUNDLE
SIL is a bundle.
Definition: agt_sil_lib.h:105
@ AGT_SILTYP_NONE
not set
Definition: agt_sil_lib.h:103
@ AGT_SILTYP_MODULE
SIL is a module.
Definition: agt_sil_lib.h:104
status_t
global error return code
Definition: status_enum.h:210
uint16 xmlns_id_t
integer handle for registered namespaces
Definition: xmlns.h:89
YANG module data structures Many internal representations of YANG module constructs.
NETCONF Session Common definitions module.
global error status code enumerations
Session Control Block.
Definition: ses.h:573
Common Encoding Message Header No longer XML specific!! Used by JSON and CBOR parsing as well!...
Definition: xml_msg.h:404
XML and JSON Message send and receive support.