21 #ifndef _MW_SRVC_PLACE_H 22 #define _MW_SRVC_PLACE_H 35 #define mwService_PLACE 0x80000022 90 const char *name,
const char *title);
133 gpointer data, GDestroyNotify clean);
int mwPlace_legacyInvite(struct mwPlace *place, struct mwIdBlock *idb, const char *message)
send a legacy invitation for this place to a user.
const char * mwPlace_getName(struct mwPlace *place)
void(* clear)(struct mwServicePlace *srvc)
Definition: mw_srvc_place.h:68
struct mwServicePlace * mwPlace_getService(struct mwPlace *place)
Definition: mw_srvc_place.h:39
void(* message)(struct mwPlace *place, const struct mwIdBlock *who, const char *msg)
Definition: mw_srvc_place.h:64
int mwPlace_open(struct mwPlace *place)
void mwPlace_removeClientData(struct mwPlace *place)
Definition: mw_srvc_place.h:73
struct mwServicePlace * mwServicePlace_new(struct mwSession *session, struct mwPlaceHandler *handler)
Represents a Sametime client session.
Definition: mw_common.h:174
Common data types and functions for handling those types.
struct mwPlace * mwPlace_new(struct mwServicePlace *srvc, const char *name, const char *title)
mwPlacePeerAttribute
Definition: mw_srvc_place.h:72
const char * mwPlace_getTitle(struct mwPlace *place)
const GList * mwServicePlace_getPlaces(struct mwServicePlace *srvc)
int mwPlace_destroy(struct mwPlace *place, guint32 code)
Definition: mw_srvc_place.h:46
gpointer mwPlace_getClientData(struct mwPlace *place)
void mwPlace_setClientData(struct mwPlace *place, gpointer data, GDestroyNotify clean)
A length of binary data, not null-terminated.
Definition: mw_common.h:79
void(* closed)(struct mwPlace *place, guint32 code)
Definition: mw_srvc_place.h:48
void(* peerJoined)(struct mwPlace *place, const struct mwIdBlock *peer)
Definition: mw_srvc_place.h:50
GList * mwPlace_getMembers(struct mwPlace *place)
returns a GList* of struct mwIdBlock*.
void(* opened)(struct mwPlace *place)
Definition: mw_srvc_place.h:47
void(* peerSetAttribute)(struct mwPlace *place, const struct mwIdBlock *peer, guint32 attr, struct mwOpaque *o)
Definition: mw_srvc_place.h:56
struct mwPlaceHandler * mwServicePlace_getHandler(struct mwServicePlace *srvc)
void(* peerUnsetAttribute)(struct mwPlace *place, const struct mwIdBlock *peer, guint32 attr)
Definition: mw_srvc_place.h:60
int mwPlace_sendText(struct mwPlace *place, const char *msg)
void(* peerParted)(struct mwPlace *place, const struct mwIdBlock *peer)
Definition: mw_srvc_place.h:53
int mwPlace_setAttribute(struct mwPlace *place, guint32 attrib, struct mwOpaque *data)
int mwPlace_unsetAttribute(struct mwPlace *place, guint32 attrib)