Diffusion C API
6.2.8
|
Typedefs | |
typedef struct DIFFUSION_REGISTRATION_T | DIFFUSION_REGISTRATION_T |
A reference to a registered handler. More... | |
Functions | |
void | diffusion_registration_close (SESSION_T *session, const DIFFUSION_REGISTRATION_T *registration) |
Request that the handler is unregistered from the server. More... | |
DIFFUSION_REGISTRATION_T * | diffusion_registration_dup (const DIFFUSION_REGISTRATION_T *registration) |
Returna a copy of a DIFFUSION_REGISTRATION_T More... | |
void | diffusion_registration_free (DIFFUSION_REGISTRATION_T *registration) |
Free a memory allocated DIFFUSION_REGISTRATION_T More... | |
typedef struct DIFFUSION_REGISTRATION_T DIFFUSION_REGISTRATION_T |
A reference to a registered handler.
Such a handler reference is provided whenever a handler with a server side presence is registered.
void diffusion_registration_close | ( | SESSION_T * | session, |
const DIFFUSION_REGISTRATION_T * | registration | ||
) |
Request that the handler is unregistered from the server.
After the handler is unregistered, the handler's on_close
function will be called.
session | The session handle. If NULL, this function returns immediately. |
registration | The handler registration. If NULL, this function returns immediately. |
DIFFUSION_REGISTRATION_T* diffusion_registration_dup | ( | const DIFFUSION_REGISTRATION_T * | registration | ) |
Returna a copy of a DIFFUSION_REGISTRATION_T
registration | diffusion registration to be copied. |
DIFFUSION_REGISTRATION_T
. NULL, if registration
is NULL. void diffusion_registration_free | ( | DIFFUSION_REGISTRATION_T * | registration | ) |
Free a memory allocated DIFFUSION_REGISTRATION_T
registration | the DIFFUSION_REGISTRATION_T to be freed. |