yumapro  20.10-12
YumaPro SDK
agt_sys.h File Reference

NETCONF system.yang DM module support. More...

#include <xmlstring.h>
#include "dlq.h"
#include "ncxtypes.h"
#include "obj.h"
#include "ses.h"
#include "status.h"
#include "tstamp.h"
Include dependency graph for agt_sys.h:

Go to the source code of this file.

Macros

#define AGT_SYS_MODULE   (const xmlChar *)"yuma-system"
 older yuma-system module
 
#define AGT_YWSYS_MODULE   (const xmlChar *)"yumaworks-system"
 newerr yumaworks-system module mostly replaces yuma-system
 

Functions

status_t agt_sys_init (void)
 INIT 1: Initialize the server notification module data structures. More...
 
status_t agt_sys_init2 (void)
 INIT 2: Initialize the monitoring data structures This must be done after the <running> config is loaded. More...
 
void agt_sys_cleanup (void)
 Cleanup the module data structures. More...
 
void agt_sys_send_sysSessionStart (const ses_cb_t *scb)
 Queue the Session Start notification. More...
 
void agt_sys_send_sysSessionEnd (const ses_cb_t *scb, ses_term_reason_t termreason, ses_id_t killedby)
 Queue the Session End notification. More...
 
void agt_sys_send_sysConfigChange (const ses_cb_t *scb, dlq_hdr_t *auditrecQ)
 Queue the Config Change notification. More...
 
void agt_sys_send_sysCapabilityChange (ses_cb_t *changed_by, boolean is_add, const xmlChar *capstr)
 Send a Capability Change notification. More...
 
void agt_sys_send_sysConfirmedCommit (const ses_cb_t *scb, ncx_confirm_event_t event, uint32 timeout)
 Queue the Confirmed Commit notification. More...
 
uint32 agt_sys_get_capability_changes (void)
 Get the capability-changes counter. More...
 
val_value_t * agt_sys_get_system_node (void)
 Get the /yuma-system:system container. More...
 
status_t agt_sys_fill_ha_status (val_value_t *ha_status_val)
 Fill the HA status container. More...
 

Detailed Description

NETCONF system.yang DM module support.