Mercurial > pidgin
comparison libpurple/protocols/myspace/message.h @ 19250:c0888d137172
Add msim_msg_get_next_element_node() to loop over MsimMessage's.
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Sun, 19 Aug 2007 06:46:30 +0000 |
parents | d0be4366e876 |
children | cfbd89a98431 |
comparison
equal
deleted
inserted
replaced
19249:9d921dde9d9f | 19250:c0888d137172 |
---|---|
32 guint type; /**< MSIM_TYPE_* code. */ | 32 guint type; /**< MSIM_TYPE_* code. */ |
33 gpointer data; /**< Pointer to data, or GUINT_TO_POINTER for int/bool. */ | 33 gpointer data; /**< Pointer to data, or GUINT_TO_POINTER for int/bool. */ |
34 } MsimMessageElement; | 34 } MsimMessageElement; |
35 | 35 |
36 typedef gchar MsimMessageType; | 36 typedef gchar MsimMessageType; |
37 | |
38 #define msim_msg_get_next_element_node(msg) ((MsimMessage *)(msg->next)) | |
37 | 39 |
38 /* Protocol field types */ | 40 /* Protocol field types */ |
39 #define MSIM_TYPE_RAW '-' | 41 #define MSIM_TYPE_RAW '-' |
40 #define MSIM_TYPE_INTEGER 'i' | 42 #define MSIM_TYPE_INTEGER 'i' |
41 #define MSIM_TYPE_STRING 's' | 43 #define MSIM_TYPE_STRING 's' |