mwImHandler(3)

NAME
mwImHandler -

SYNOPSIS

#include <mw_srvc_im.h>

Detailed Description

IM Service Handler. Provides functions for events triggered from an IM service instance.

  Data Fields
void(* clear )(struct mwServiceIm *srvc)
optional.
void(* conversation_closed )(struct mwConversation *conv, guint32 err)
A conversation has been closed.
void(* conversation_opened )(struct mwConversation *conv)
A conversation has been successfully opened.
void(* conversation_recv )(struct mwConversation *conv, enum mwImSendType type, gconstpointer msg)
A message has been received on a conversation.
void(* place_invite )(struct mwConversation *conv, const char *message, const char *title, const char *name)
Handle a Place invitation.

Field Documentation

  void(* mwImHandler::clear)(struct mwServiceIm *srvc)

optional.

called from mwService_free

  void(* mwImHandler::conversation_closed)(struct mwConversation *conv, guint32 err)

A conversation has been closed.

  void(* mwImHandler::conversation_opened)(struct mwConversation *conv)

A conversation has been successfully opened.

  void(* mwImHandler::conversation_recv)(struct mwConversation *conv, enum mwImSendType type, gconstpointer msg)

A message has been received on a conversation.

  void(* mwImHandler::place_invite)(struct mwConversation *conv, const char *message, const char *title, const char *name)

Handle a Place invitation.

Set this to NULL and we should end up receiving a conference invitation instead.

Author

Generated automatically by Doxygen for meanwhile from the source code.