Diffusion C API  5.9.24
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
svc-remove-topics.h File Reference

Remove topics feature (topic control). More...

Data Structures

struct  svc_remove_topics_request_s
 Structure describing a "remove topic" request. More...
 
struct  svc_remove_topics_response_s
 Structure describing a "remove topic" response. More...
 
struct  remove_topics_handlers_s
 
struct  remove_topics_params_s
 Structure passed to remove_topics(). More...
 

Macros

#define REMOVE_TOPICS_HANDLERS
 User-specified callbacks that may be invoked in response to issuing a "remove topic" request to Diffusion.
 

Typedefs

typedef struct
svc_remove_topics_request_s 
SVC_REMOVE_TOPICS_REQUEST_T
 Structure describing a "remove topic" request.
 
typedef struct
svc_remove_topics_response_s 
SVC_REMOVE_TOPICS_RESPONSE_T
 Structure describing a "remove topic" response.
 
typedef int(* on_remove_topics_cb )(SESSION_T *session, const SVC_REMOVE_TOPICS_RESPONSE_T *response, void *context)
 Callback for remove_topics() handlers. More...
 
typedef struct
remove_topics_params_s 
REMOVE_TOPICS_PARAMS_T
 Structure passed to remove_topics().
 

Functions

void remove_topics (SESSION_T *session, const REMOVE_TOPICS_PARAMS_T params)
 Remove topics from Diffusion. More...
 

Detailed Description

Remove topics feature (topic control).

Typedef Documentation

typedef int(* on_remove_topics_cb)(SESSION_T *session, const SVC_REMOVE_TOPICS_RESPONSE_T *response, void *context)

Callback for remove_topics() handlers.

Parameters
sessionThe current active session.
responseThe response message from Diffusion.
contextUser-supplied context from the remove_topics() call.
Returns
HANDLER_SUCCESS or HANDLER_FAILURE.