![]() |
Diffusion C API 6.12.0
|
Functions for DIFFUSION_REGISTRATION_T management. More...
Typedefs | |
| typedef struct DIFFUSION_REGISTRATION_T | DIFFUSION_REGISTRATION_T |
| A reference to a registered handler. | |
Functions | |
| void | diffusion_registration_close (SESSION_T *session, const DIFFUSION_REGISTRATION_T *registration) |
| Request that the handler is unregistered from the server. | |
| DIFFUSION_REGISTRATION_T * | diffusion_registration_dup (const DIFFUSION_REGISTRATION_T *registration) |
| Return a copy of a DIFFUSION_REGISTRATION_T. | |
| void | diffusion_registration_free (DIFFUSION_REGISTRATION_T *registration) |
| Free a memory allocated DIFFUSION_REGISTRATION_T | |
Functions for DIFFUSION_REGISTRATION_T management.
| 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 | ) |
Return a copy of a DIFFUSION_REGISTRATION_T.
diffusion_registration_free should be called on the pointer when no longer needed.
| registration | diffusion registration to be copied. |
| void diffusion_registration_free | ( | DIFFUSION_REGISTRATION_T * | registration | ) |
Free a memory allocated DIFFUSION_REGISTRATION_T
| registration | the DIFFUSION_REGISTRATION_T to be freed. |