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

Topic removal feature (topic control). More...

Data Structures

struct  svc_topic_removal_request_s
 Structure describing a "topic removal" request. More...
 
struct  svc_topic_removal_response_s
 Structure describing a "topic removal" response. More...
 
struct  topic_removal_handlers_s
 
struct  topic_removal_params_s
 Structure passed to topic_removal(). More...
 

Macros

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

Typedefs

typedef struct
svc_topic_removal_request_s 
SVC_TOPIC_REMOVAL_REQUEST_T
 Structure describing a "topic removal" request.
 
typedef struct
svc_topic_removal_response_s 
SVC_TOPIC_REMOVAL_RESPONSE_T
 Structure describing a "topic removal" response.
 
typedef int(* on_topic_removal_cb )(SESSION_T *session, const SVC_TOPIC_REMOVAL_RESPONSE_T *response, void *context)
 Callback for topic_removal() handlers. More...
 
typedef struct
topic_removal_params_s 
TOPIC_REMOVAL_PARAMS_T
 Structure passed to topic_removal().
 

Functions

void topic_removal (SESSION_T *session, const TOPIC_REMOVAL_PARAMS_T params)
 Remove topics from Diffusion. More...
 

Detailed Description

Topic removal feature (topic control).

Typedef Documentation

typedef int(* on_topic_removal_cb)(SESSION_T *session, const SVC_TOPIC_REMOVAL_RESPONSE_T *response, void *context)

Callback for topic_removal() handlers.

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