12#ifndef _H_agt_ncxserver
13#define _H_agt_ncxserver
126 const xmlChar *txid_str);
146 const xmlChar *txid_str,
147 boolean extloop_mode);
181 boolean need_reverse_edit);
Multi-Protocol Network Management Server.
agt_exit_mode_t
exit reasons for YControl IO loop
Definition: agt.h:760
void agt_ncxserver_cleanup_extloop(void)
Cleanup sockets for extloop mode.
Definition: agt_ncxserver.c:4217
void agt_ncxserver_clear_fd(int fd)
Clear a dead session from the select loop.
Definition: agt_ncxserver.c:4156
boolean agt_ncxserver_thread_clear_session(ses_id_t sid, ses_id_t killedby, ses_term_reason_t termreason)
Signal session clear to the appropriate RX thread for session.
Definition: agt_ncxserver.c:3132
void agt_ncxserver_thd_ses_cleanup(thd_type_t thd_type)
Clean sessions in fixed (safe) order to make sure that all active sessions will be closed in a partic...
Definition: agt_ncxserver.c:1332
status_t agt_ncxserver_inject_session(ses_cb_t *scb, int newfd)
Add a callhome session into the ncxserver IO processing.
Definition: agt_ncxserver.c:4178
void agt_ncxserver_exit_ycontrol_mode(const xmlChar *txid_str, agt_exit_mode_t exitmode)
Cause the ycontrol mode to terminate.
Definition: agt_ncxserver.c:3450
void agt_ncxserver_exit_ycontrol_mode_edit(const xmlChar *txid_str, agt_exit_mode_t exitmode, boolean need_reverse_edit)
Cause the ycontrol mode to terminate, EDIT mode.
Definition: agt_ncxserver.c:3499
status_t agt_ncxserver_run_extloop(boolean ycontrol, const xmlChar *txid_str, boolean extloop_mode)
IO server loop for the ncxserver socket (FULL MODE)
Definition: agt_ncxserver.c:3594
agt_exit_mode_t agt_ncxserver_get_exit_mode(const xmlChar *txid_str)
Get the reason code for exiting YControl IO mode.
Definition: agt_ncxserver.c:3539
thd_tcb_t * agt_ncxserver_get_timer_tcb(void)
Get the timer TCB to hijack for the YP-HA standby SCB.
Definition: agt_ncxserver.c:3390
status_t agt_ncxserver_run(void)
IO server loop for the ncxserver socket.
Definition: agt_ncxserver.c:3292
boolean agt_ncxserver_thread_cancel_cc(ses_id_t sid, ncx_confirm_event_t event)
Signal confirmed commit cancel to either the thread representing session or, if terminated,...
Definition: agt_ncxserver.c:3231
status_t agt_ncxserver_run_ycontrol(boolean ycontrol, const xmlChar *txid_str)
IO server loop for the ncxserver socket.
Definition: agt_ncxserver.c:3567
status_t
global error return code
Definition: status_enum.h:210
ses_term_reason_t
Session Termination reason.
Definition: ses.h:417
uint32 ses_id_t
Session ID.
Definition: ses.h:335
thd_type_t
Thread types.
Definition: thd.h:161
ncx_confirm_event_t
type of confirmEvent in the sysConfirmedCommit notification Used in confirmed-commit standard as well
Definition: ncxtypes.h:1515
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
Thread control block (TCB)
Definition: thd.h:175