Diffusion C API
5.9.24
|
Functions to handle system-level ping requests and responses. More...
Data Structures | |
struct | svc_ping_system_request_s |
Structure of a system ping request. More... | |
struct | svc_ping_system_response_s |
Structure of a system ping response. More... | |
struct | ping_system_handlers_s |
struct | ping_system_params_s |
Structure supplied when registering a system ping handler or sending a system ping request. More... | |
Macros | |
#define | PING_SYSTEM_HANDLERS |
Callback handlers that can be registered for dealing with system ping responses. | |
Typedefs | |
typedef struct svc_ping_system_request_s | SVC_PING_SYSTEM_REQUEST_T |
Structure of a system ping request. | |
typedef struct svc_ping_system_response_s | SVC_PING_SYSTEM_RESPONSE_T |
Structure of a system ping response. | |
typedef int(* | on_ping_system_request_cb )(SESSION_T *session, const SVC_PING_SYSTEM_REQUEST_T *request, void *context) |
Callback for ping_system_register_handler(). More... | |
typedef int(* | on_ping_system_response_cb )(SESSION_T *session, void *context) |
Callback for ping_system(). More... | |
typedef struct ping_system_params_s | PING_SYSTEM_PARAMS_T |
Structure supplied when registering a system ping handler or sending a system ping request. | |
Functions | |
void | ping_system_register_handler (SESSION_T *session, const PING_SYSTEM_PARAMS_T params) |
Register a user-defined handler for system pings. More... | |
Functions to handle system-level ping requests and responses.
typedef int(* on_ping_system_request_cb)(SESSION_T *session, const SVC_PING_SYSTEM_REQUEST_T *request, void *context) |
Callback for ping_system_register_handler().
session | The current active session. |
request | The incoming ping request. |
context | User-supplied context from the initial registration call. |
typedef int(* on_ping_system_response_cb)(SESSION_T *session, void *context) |
Callback for ping_system().
session | The current active session. |
context | User-supplied context from the initial registration call. |