libmissioncontrol-server Reference Manual | ||||
---|---|---|---|---|
Top | Description |
#define MCD_PLUGIN_INIT_FUNC #define MCD_FILTER_IN #define MCD_FILTER_OUT McdDispatcherContext; void (*McdFilterFunc) (McdDispatcherContext *ctx, gpointer user_data); #define MCD_FILTER_PRIORITY_CRITICAL #define MCD_FILTER_PRIORITY_SYSTEM #define MCD_FILTER_PRIORITY_USER #define MCD_FILTER_PRIORITY_NOTICE #define MCD_FILTER_PRIORITY_LOW McdFilter; McdDispatcher* mcd_dispatcher_context_get_dispatcher (McdDispatcherContext *ctx); TpChannel * mcd_dispatcher_context_get_channel_object (McdDispatcherContext *ctx); TpConnection * mcd_dispatcher_context_get_connection_object (McdDispatcherContext *ctx); McdChannel * mcd_dispatcher_context_get_channel (McdDispatcherContext *ctx); const GList * mcd_dispatcher_context_get_channels (McdDispatcherContext *context); McdChannel * mcd_dispatcher_context_get_channel_by_type (McdDispatcherContext *context, GQuark type); McdConnection * mcd_dispatcher_context_get_connection (McdDispatcherContext *context); void mcd_dispatcher_context_process (McdDispatcherContext *ctx, gboolean result);
void (*McdFilterFunc) (McdDispatcherContext *ctx, gpointer user_data);
|
|
|
McdDispatcher* mcd_dispatcher_context_get_dispatcher (McdDispatcherContext *ctx);
|
|
Returns : |
TpChannel * mcd_dispatcher_context_get_channel_object (McdDispatcherContext *ctx);
|
|
Returns : |
TpConnection * mcd_dispatcher_context_get_connection_object (McdDispatcherContext *ctx);
|
|
Returns : |
McdChannel * mcd_dispatcher_context_get_channel (McdDispatcherContext *ctx);
|
|
Returns : |
const GList * mcd_dispatcher_context_get_channels (McdDispatcherContext *context);
|
the McdDispatcherContext. |
Returns : |
a GList of McdChannel elements. |
McdChannel * mcd_dispatcher_context_get_channel_by_type (McdDispatcherContext *context, GQuark type);
|
the McdDispatcherContext. |
|
the GQuark representing the channel type. |
Returns : |
the first McdChannel of the requested type, or NULL .
|
McdConnection * mcd_dispatcher_context_get_connection (McdDispatcherContext *context);
|
the McdDispatcherContext. |
Returns : |
the McdConnection. |
void mcd_dispatcher_context_process (McdDispatcherContext *ctx, gboolean result);
Continue to process the context
.
mcd_dispatcher_context_process (c, TRUE) is exactly equivalent to mcd_dispatcher_context_proceed (c), which should be used instead in new code.
mcd_dispatcher_context_process (c, TRUE) is exactly equivalent to mcd_dispatcher_context_destroy_all (c) followed by mcd_dispatcher_context_proceed (c), which should be used instead in new code.
|
|
|
FALSE if the channels are to be destroyed
|