#include <glib.h>
#include "mw_common.h"
Go to the source code of this file.
|
int | mwPlace_destroy (struct mwPlace *place, guint32 code) |
|
gpointer | mwPlace_getClientData (struct mwPlace *place) |
|
GList * | mwPlace_getMembers (struct mwPlace *place) |
| returns a GList* of struct mwIdBlock*. More...
|
|
const char * | mwPlace_getName (struct mwPlace *place) |
|
struct mwServicePlace * | mwPlace_getService (struct mwPlace *place) |
|
const char * | mwPlace_getTitle (struct mwPlace *place) |
|
int | mwPlace_legacyInvite (struct mwPlace *place, struct mwIdBlock *idb, const char *message) |
| send a legacy invitation for this place to a user. More...
|
|
struct mwPlace * | mwPlace_new (struct mwServicePlace *srvc, const char *name, const char *title) |
|
int | mwPlace_open (struct mwPlace *place) |
|
void | mwPlace_removeClientData (struct mwPlace *place) |
|
int | mwPlace_sendText (struct mwPlace *place, const char *msg) |
|
int | mwPlace_setAttribute (struct mwPlace *place, guint32 attrib, struct mwOpaque *data) |
|
void | mwPlace_setClientData (struct mwPlace *place, gpointer data, GDestroyNotify clean) |
|
int | mwPlace_unsetAttribute (struct mwPlace *place, guint32 attrib) |
|
struct mwPlaceHandler * | mwServicePlace_getHandler (struct mwServicePlace *srvc) |
|
const GList * | mwServicePlace_getPlaces (struct mwServicePlace *srvc) |
|
struct mwServicePlace * | mwServicePlace_new (struct mwSession *session, struct mwPlaceHandler *handler) |
|
#define mwService_PLACE 0x80000022 |
Type identifier for the place service.
Enumerator |
---|
mwPlacePeer_TYPING |
|
int mwPlace_destroy |
( |
struct mwPlace * |
place, |
|
|
guint32 |
code |
|
) |
| |
gpointer mwPlace_getClientData |
( |
struct mwPlace * |
place | ) |
|
GList* mwPlace_getMembers |
( |
struct mwPlace * |
place | ) |
|
returns a GList* of struct mwIdBlock*.
The GList will need to be freed after use, the mwIdBlock structures should not be modified or freed
const char* mwPlace_getName |
( |
struct mwPlace * |
place | ) |
|
const char* mwPlace_getTitle |
( |
struct mwPlace * |
place | ) |
|
int mwPlace_legacyInvite |
( |
struct mwPlace * |
place, |
|
|
struct mwIdBlock * |
idb, |
|
|
const char * |
message |
|
) |
| |
send a legacy invitation for this place to a user.
The user will receive an apparent invitation from a Conference (rather than a Place)
int mwPlace_open |
( |
struct mwPlace * |
place | ) |
|
void mwPlace_removeClientData |
( |
struct mwPlace * |
place | ) |
|
int mwPlace_sendText |
( |
struct mwPlace * |
place, |
|
|
const char * |
msg |
|
) |
| |
int mwPlace_setAttribute |
( |
struct mwPlace * |
place, |
|
|
guint32 |
attrib, |
|
|
struct mwOpaque * |
data |
|
) |
| |
void mwPlace_setClientData |
( |
struct mwPlace * |
place, |
|
|
gpointer |
data, |
|
|
GDestroyNotify |
clean |
|
) |
| |
int mwPlace_unsetAttribute |
( |
struct mwPlace * |
place, |
|
|
guint32 |
attrib |
|
) |
| |