Diffusion C API  6.5.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
diffusion_create_remote_server_params_s Struct Reference

Data Fields

char * name
 The name of the remote server.
 
char * url
 The URL for used to connect to the remote server.
 
char * principal
 The name of a principal used by the remote server to connect to the primary server. More...
 
HASH_NUM_Tconnection_options
 Map of connection option settings. More...
 
CREDENTIALS_Tcredentials
 The credentials used for the remote server to connect to the primary server. More...
 
on_remote_server_created_cb on_remote_server_created
 Callback when a remote server creation attempt has been made.
 
ERROR_HANDLER_T on_error
 Callback to handle errors. Can be NULL.
 
DISCARD_HANDLER_T on_discard
 Callback to handle discards. Can be NULL.
 
void * context
 User supplied context. Can be NULL.
 

Field Documentation

HASH_NUM_T* diffusion_create_remote_server_params_s::connection_options

Map of connection option settings.

Any options not supplied will take their default values

CREDENTIALS_T* diffusion_create_remote_server_params_s::credentials

The credentials used for the remote server to connect to the primary server.

char* diffusion_create_remote_server_params_s::principal

The name of a principal used by the remote server to connect to the primary server.

A zero length string may be supplied to indicate an anonymous connection


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