|
Data Structures |
struct | mwAwareIdBlock |
struct | mwAwareSnapshot |
struct | mwEncryptItem |
| encryption blocks More...
|
struct | mwIdBlock |
struct | mwLoginInfo |
struct | mwOpaque |
| A length of binary data, not null-terminated. More...
|
struct | mwPrivacyInfo |
struct | mwUserItem |
struct | mwUserStatus |
buffer utility functions |
mwPutBuffer * | mwPutBuffer_new () |
| allocate a new empty buffer
|
void | mwPutBuffer_write (struct mwPutBuffer *b, gpointer data, gsize len) |
| write raw data to the put buffer
|
void | mwPutBuffer_free (struct mwPutBuffer *b) |
| destroy the buffer
|
void | mwPutBuffer_finalize (struct mwOpaque *to, struct mwPutBuffer *from) |
| move the buffer's data into an opaque, destroy the buffer
|
mwGetBuffer * | mwGetBuffer_new (struct mwOpaque *data) |
| allocate a new buffer with a copy of the given data
|
gsize | mwGetBuffer_read (struct mwGetBuffer *b, gpointer mem, gsize len) |
| read len bytes of raw data from the get buffer into mem.
|
gsize | mwGetBuffer_advance (struct mwGetBuffer *b, gsize len) |
| skip len bytes in the get buffer.
|
mwGetBuffer * | mwGetBuffer_wrap (const struct mwOpaque *data) |
| allocate a new buffer backed by the given data.
|
void | mwGetBuffer_free (struct mwGetBuffer *b) |
| destroy the buffer
|
void | mwGetBuffer_reset (struct mwGetBuffer *b) |
| reset the buffer to the very beginning.
|
gsize | mwGetBuffer_remaining (struct mwGetBuffer *b) |
| count of remaining available bytes
|
gboolean | mwGetBuffer_error (struct mwGetBuffer *b) |
| TRUE if an error occurred while reading a basic type from this buffer.
|
Basic Data Type Marshalling |
The basic types are combined to construct the complex types.
|
void | guint16_put (struct mwPutBuffer *b, guint16 val) |
void | guint16_get (struct mwGetBuffer *b, guint16 *val) |
guint16 | guint16_peek (struct mwGetBuffer *b) |
void | guint32_put (struct mwPutBuffer *b, guint32 val) |
void | guint32_get (struct mwGetBuffer *b, guint32 *val) |
guint32 | guint32_peek (struct mwGetBuffer *b) |
void | gboolean_put (struct mwPutBuffer *b, gboolean val) |
void | gboolean_get (struct mwGetBuffer *b, gboolean *val) |
gboolean | gboolean_peek (struct mwGetBuffer *b) |
void | mwString_put (struct mwPutBuffer *b, const char *str) |
void | mwString_get (struct mwGetBuffer *b, char **str) |
void | mwOpaque_put (struct mwPutBuffer *b, const struct mwOpaque *o) |
void | mwOpaque_get (struct mwGetBuffer *b, struct mwOpaque *o) |
void | mwOpaque_clear (struct mwOpaque *o) |
void | mwOpaque_free (struct mwOpaque *o) |
void | mwOpaque_clone (struct mwOpaque *to, const struct mwOpaque *from) |
Complex Data Type Marshalling |
void | mwLoginInfo_put (struct mwPutBuffer *b, const struct mwLoginInfo *info) |
void | mwLoginInfo_get (struct mwGetBuffer *b, struct mwLoginInfo *info) |
void | mwLoginInfo_clear (struct mwLoginInfo *info) |
void | mwLoginInfo_clone (struct mwLoginInfo *to, const struct mwLoginInfo *from) |
void | mwUserItem_put (struct mwPutBuffer *b, const struct mwUserItem *user) |
void | mwUserItem_get (struct mwGetBuffer *b, struct mwUserItem *user) |
void | mwUserItem_clear (struct mwUserItem *user) |
void | mwUserItem_clone (struct mwUserItem *to, const struct mwUserItem *from) |
void | mwPrivacyInfo_put (struct mwPutBuffer *b, const struct mwPrivacyInfo *info) |
void | mwPrivacyInfo_get (struct mwGetBuffer *b, struct mwPrivacyInfo *info) |
void | mwPrivacyInfo_clear (struct mwPrivacyInfo *info) |
void | mwPrivacyInfo_clone (struct mwPrivacyInfo *to, const struct mwPrivacyInfo *from) |
void | mwUserStatus_put (struct mwPutBuffer *b, const struct mwUserStatus *stat) |
void | mwUserStatus_get (struct mwGetBuffer *b, struct mwUserStatus *stat) |
void | mwUserStatus_clear (struct mwUserStatus *stat) |
void | mwUserStatus_clone (struct mwUserStatus *to, const struct mwUserStatus *from) |
void | mwIdBlock_put (struct mwPutBuffer *b, const struct mwIdBlock *id) |
void | mwIdBlock_get (struct mwGetBuffer *b, struct mwIdBlock *id) |
void | mwIdBlock_clear (struct mwIdBlock *id) |
void | mwIdBlock_clone (struct mwIdBlock *to, const struct mwIdBlock *from) |
guint | mwIdBlock_hash (const struct mwIdBlock *idb) |
gboolean | mwIdBlock_equal (const struct mwIdBlock *a, const struct mwIdBlock *b) |
void | mwAwareIdBlock_put (struct mwPutBuffer *b, const struct mwAwareIdBlock *idb) |
void | mwAwareIdBlock_get (struct mwGetBuffer *b, struct mwAwareIdBlock *idb) |
void | mwAwareIdBlock_clear (struct mwAwareIdBlock *idb) |
void | mwAwareIdBlock_clone (struct mwAwareIdBlock *to, const struct mwAwareIdBlock *from) |
guint | mwAwareIdBlock_hash (const struct mwAwareIdBlock *a) |
gboolean | mwAwareIdBlock_equal (const struct mwAwareIdBlock *a, const struct mwAwareIdBlock *b) |
void | mwAwareSnapshot_get (struct mwGetBuffer *b, struct mwAwareSnapshot *idb) |
void | mwAwareSnapshot_clear (struct mwAwareSnapshot *idb) |
void | mwAwareSnapshot_clone (struct mwAwareSnapshot *to, const struct mwAwareSnapshot *from) |
void | mwEncryptItem_put (struct mwPutBuffer *b, const struct mwEncryptItem *item) |
void | mwEncryptItem_get (struct mwGetBuffer *b, struct mwEncryptItem *item) |
void | mwEncryptItem_clear (struct mwEncryptItem *item) |
void | mwEncryptItem_free (struct mwEncryptItem *item) |
Enumerations |
enum | mwLoginType {
mwLogin_LIB = 0x1000,
mwLogin_JAVA_WEB = 0x1001,
mwLogin_BINARY = 0x1002,
mwLogin_JAVA_APP = 0x1003,
mwLogin_LINKS = 0x100a,
mwLogin_NOTES_6_5 = 0x1200,
mwLogin_NOTES_7_0 = 0x1210,
mwLogin_ICT = 0x1300,
mwLogin_ICT_1_7_8_2 = 0x1302,
mwLogin_NOTESBUDDY = 0x1400,
mwLogin_NOTESBUDDY_4_15 = 0x1405,
mwLogin_SANITY = 0x1600,
mwLogin_ST_PERL = 0x1625,
mwLogin_PMR_ALERT = 0x1650,
mwLogin_TRILLIAN = 0x16aa,
mwLogin_TRILLIAN_IBM = 0x16bb,
mwLogin_MEANWHILE = 0x1700
} |
| The type of login. More...
|
enum | mwStatusType {
mwStatus_ACTIVE = 0x0020,
mwStatus_IDLE = 0x0040,
mwStatus_AWAY = 0x0060,
mwStatus_BUSY = 0x0080
} |
enum | mwAwareType {
mwAware_USER = 0x0002,
mwAware_GROUP = 0x0003,
mwAware_SERVER = 0x0008
} |
| type codes for mwAwareIdBlock More...
|
Functions |
const char * | mwLoginType_getName (enum mwLoginType type) |
| provides a textual name for a given login type.
|