yumapro  24.10-2
YumaPro SDK
Loading...
Searching...
No Matches
agt_sil_lib.h File Reference

Server Instrumentation Library Support. More...

#include <xmlstring.h>
#include "dlq.h"
#include "ncxtypes.h"
#include "ses.h"
#include "status_enum.h"
#include "xml_msg.h"
#include "xmlns.h"
Include dependency graph for agt_sil_lib.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef status_t(* agt_sil_init_fn_t) (const xmlChar *modname, const xmlChar *revision)
 SIL init function template. More...
 
typedef status_t(* agt_sil_init2_fn_t) (void)
 SIL init2 function template. More...
 
typedef void(* agt_sil_cleanup_fn_t) (void)
 SIL cleanup function template. More...
 

Enumerations

enum  agt_siltype_t {
  AGT_SILTYP_NONE ,
  AGT_SILTYP_MODULE ,
  AGT_SILTYP_BUNDLE
}
 SIL types. More...
 

Functions

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. More...
 
status_t agt_unload_sil_code (const xmlChar *modname)
 Unload the Server Instrumentation Library for the specified module. More...
 
boolean agt_dynlib_loaded (const xmlChar *name)
 Check a module of bundle name is in the dynlibQ. More...
 
void agt_sil_lib_init (void)
 Initialize the module. More...
 
void agt_sil_lib_cleanup (void)
 Cleanup the module. More...
 
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. More...
 
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. More...
 
status_t agt_sil_lib_call_init2 (void)
 Call the available SIL init2 callbacks. More...
 
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. More...
 
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. More...
 

Detailed Description

Server Instrumentation Library Support.