yumapro  23.10T-7
YumaPro SDK
Loading...
Searching...
No Matches
agt_callhome.h File Reference

IETF CallHome reverse connection support. More...

#include <xmlstring.h>
#include <unistd.h>
#include "agt.h"
#include "dlq.h"
#include "status_enum.h"
#include "ses.h"
Include dependency graph for agt_callhome.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  agt_callhome_cb_t
 control block for each client for a callhome connection More...
 

Functions

status_t agt_callhome_init (void)
 Initialize the Callhome module. More...
 
status_t agt_callhome_init_postcli (void)
 Initialize the Callhome module POST CLI parms. More...
 
status_t agt_callhome_init2 (void)
 Initialize the Callhome module (Init phase II) More...
 
void agt_callhome_cleanup (void)
 Cleanup the Callhome module. More...
 
boolean agt_callhome_connecting (const xmlChar *addr)
 Check if the source address is connecting in a callhome session. More...
 
status_t agt_callhome_add_server_cli (const xmlChar *valstr, agt_ch_proto_t ch_proto)
 Add a CallHome server entry from the –callhome-server CLI parm. More...
 
status_t agt_callhome_add_server (const xmlChar *ch_name, const xmlChar *ch_addr, uint16 ch_port, agt_ch_proto_t ch_proto, boolean start_now)
 Add a CallHome server entry from a YANG module at run-time. More...
 
status_t agt_callhome_remove_server (const xmlChar *ch_name)
 Remove a CallHome server entry added from a YANG module at run-time. More...
 
status_t agt_callhome_remove_all_servers (void)
 Remove all CallHome server entries added from a YANG module at run-time. More...
 
void agt_callhome_check_reconnect (ses_cb_t *scb)
 Check if the session is a callhome session that needs reconnect. More...
 

Detailed Description

IETF CallHome reverse connection support.