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

Every service that a client can provide has to implement this core set of functions. More...

Data Fields

REQUEST_HANDLER_CALLBACK request_handler
 Service request handler.
 
RESPONSE_HANDLER_CALLBACK response_handler
 Service response handler.
 
ERROR_HANDLER_CALLBACK error_handler
 Service error handler.
 
REQUEST_UNMARSHAL_CALLBACK request_unmarshal
 Deserialise a request to the appropriate structure.
 
REQUEST_MARSHAL_CALLBACK request_marshal
 Serialise a request structure to bytes.
 
RESPONSE_UNMARSHAL_CALLBACK response_unmarshal
 Deserialise a response to the appropriate structure.
 
RESPONSE_MARSHAL_CALLBACK response_marshal
 Serialise a response structure to bytes.
 
REQUEST_CREATE_CALLBACK request_create
 Create a default request for this service.
 
RESPONSE_CREATE_CALLBACK response_create
 Create a default response for this service.
 
REQUEST_FREE_CALLBACK request_free
 Free memory associated with the request structure.
 
RESPONSE_FREE_CALLBACK response_free
 Free memory associated with the response structure.
 
void * local
 Local data for service-specific use.
 

Detailed Description

Every service that a client can provide has to implement this core set of functions.


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