yumapro  20.10-12
YumaPro SDK
subsys_cb_t_ Struct Reference

one subsystem control block for session More...

#include <subsys_util.h>

Data Fields

const char * request_uri
 request URI if a RESTCONF session
 
const char * request_method
 request method if a RESTCONF session
 
const char * content_type
 content-type if a RESTCONF session
 
const char * content_length
 Content-Length if a RESTCONF session.
 
const char * modified_since
 Modified-Since if a RESTCONF session.
 
const char * unmodified_since
 Unmodified-Since if a RESTCONF session.
 
const char * match
 Match if a RESTCONF session.
 
const char * none_match
 None-Match if a RESTCONF session.
 
const char * http_accept
 Accept a RESTCONF session.
 
const char * user
 User ID for the session.
 
const char * ha_server_id
 The HA server-id.
 
const char * ha_server_addr
 YP-HA support; this address will override the AF_LOCAL or the TCP socket file read by subsys_info_read. More...
 
uint16 ha_server_port
 HA server port number The ha_server_port is also used by the extern tcp-ncx mode (extern_mode == TRUE)
 
subsys_stdin_fn_t stdin_fn
 override STDIN function
 
subsys_stdout_fn_t stdout_fn
 override STDOUT function
 
int32 content_len
 content length
 
char * client_addr
 client address
 
char * port
 client port
 
int ncxsock
 socket number
 
boolean ncxconnect
 Use ncxconnect.
 
boolean nonblocking
 Use non-blocking.
 
boolean nonblocking_set_ok
 Flag non-blocking failed.
 
boolean no_connect
 flag no connection
 
boolean yp_ha_mode
 flag YP-HA mode
 
boolean extern_mode
 flag external mode
 
proto_id_t proto_id
 protocol in use
 
const char * subsys_id
 subsystem ID to use
 
int traceLevel
 debug trace level set (0 - 3)
 
FILE * errfile
 error file
 
fd_set fds
 file descriptors
 
char msgbuff [SUBSYS_BUFFLEN]
 message buffer
 

Detailed Description

one subsystem control block for session

Field Documentation

◆ ha_server_addr

const char* ha_server_addr

YP-HA support; this address will override the AF_LOCAL or the TCP socket file read by subsys_info_read.

The ha_server_addr is also used by the extern tcp-ncx mode (extern_mode == TRUE)


The documentation for this struct was generated from the following file: