12#ifndef _H_agt_ncx_load
13#define _H_agt_ncx_load
89 (
const xmlChar *name,
void *cookie);
133 const xmlChar *revision,
192 dlq_hdr_t *savedevQ);
253 const xmlChar *module_name,
254 const xmlChar *revision);
299 const xmlChar *module,
300 const xmlChar *revision,
318 agt_ncx_load_bundle_save_into_rootcb (
const xmlChar *bundle,
status_t agt_ncx_load_for_modules_in_bundles(agt_ncx_load_cbfn_t cbfn, void *cookie)
Invoke a callback for all modules in all the bundles.
Definition: agt_ncx_load.c:3568
void agt_ncx_load_cleanup(void)
Cleanup the NCX Load module.
Definition: agt_ncx_load.c:2913
status_t agt_ncx_load_init(void)
Initialize the NCX Load module.
Definition: agt_ncx_load.c:2883
void agt_ncx_load_dump_bundles(ses_cb_t *scb, xml_msg_hdr_t *mhdr, xmlns_id_t parent_nsid, int32 indent, int32 startindent)
Generate XML <bundle> records for the support-save output.
Definition: agt_ncx_load.c:3142
status_t agt_ncx_load_add_to_bundle(const xmlChar *bundle_name, const xmlChar *module_name, const xmlChar *revision)
Add the specified module name to the bundle.
Definition: agt_ncx_load.c:3505
status_t agt_ncx_load_boot_bundle(const xmlChar *bundle)
Load a bundle at boot-time.
Definition: agt_ncx_load.c:3253
status_t agt_ncx_load_boot_bundle_savedevQ(const xmlChar *bundle, dlq_hdr_t *savedevQ)
Load a bundle at boot-time.
status_t agt_ncx_load_for_all_bundles(agt_ncx_load_cbfn_t cbfn, void *cookie)
Invoke a callback for all the bundles.
Definition: agt_ncx_load.c:3334
status_t agt_ncx_load_module_ha(ses_cb_t *scb, rpc_msg_t *msg, const xmlChar *name, const xmlChar *revision, boolean is_module, boolean is_load, val_value_t *dev_parent)
Handle a <module-update> event in YP-HA standby mode.
Definition: agt_ncx_load.c:2946
boolean agt_ncx_load_bundle_loaded(const xmlChar *bundle)
Verify is the bundle was already loaded.
Definition: agt_ncx_load.c:3629
status_t agt_ncx_load_for_all_modules(agt_ncx_load_cbfn_t cbfn, void *cookie)
Invoke a callback for all the modules loaded dynamically.
Definition: agt_ncx_load.c:3375
boolean agt_ncx_load_any_waiting(void)
Check if any bundles are waiting to be loaded from a SIL-SA subsystem.
Definition: agt_ncx_load.c:3410
status_t agt_ncx_load_bundle_module(ses_cb_t *scb, const xmlChar *module, const xmlChar *revision, boolean *loaded)
Load the bundle module in all required locations.
Definition: agt_ncx_load.c:3733
void agt_ncx_load_stop_waiting(const xmlChar *bundle_name)
Signal that a SIL-SA loaded a bundle and that bundle is no longer waiting and blocking load_running_c...
Definition: agt_ncx_load.c:3437
status_t(* agt_ncx_load_cbfn_t)(const xmlChar *name, void *cookie)
callback function used by agt_ncx_load_for_all_bundles
Definition: agt_ncx_load.h:89
status_t
global error return code
Definition: status_enum.h:210
uint16 xmlns_id_t
integer handle for registered namespaces
Definition: xmlns.h:89
NETCONF protocol remote procedure call common definitions.
NETCONF Session Common definitions module.
global error status code enumerations
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
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.