comparison src/protocols/qq/group_hash.h @ 14021:ef8490f9e823

[gaim-migrate @ 16618] Replaced all C++-style comments with C-style ones. Cleaned up some comments and implemented a more consistent formatting scheme. committer: Tailor Script <tailor@pidgin.im>
author Mark Huetsch <markhuetsch>
date Wed, 02 Aug 2006 15:35:36 +0000
parents 983fd420e86b
children
comparison
equal deleted inserted replaced
14020:13e7ba964993 14021:ef8490f9e823
18 * You should have received a copy of the GNU General Public License 18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software 19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 */ 21 */
22 22
23 // START OF FILE
24 /*****************************************************************************/
25 #ifndef _QQ_GROUP_HASH_H_ 23 #ifndef _QQ_GROUP_HASH_H_
26 #define _QQ_GROUP_HASH_H_ 24 #define _QQ_GROUP_HASH_H_
27 25
28 #include <glib.h> // GHashTable 26 #include <glib.h>
29 #include "group.h" // qq_group 27 #include "group.h"
30 28
31 #define QQ_GROUP_KEY_MEMBER_STATUS "my_status_code" 29 #define QQ_GROUP_KEY_MEMBER_STATUS "my_status_code"
32 #define QQ_GROUP_KEY_MEMBER_STATUS_DESC "my_status_desc" 30 #define QQ_GROUP_KEY_MEMBER_STATUS_DESC "my_status_desc"
33 #define QQ_GROUP_KEY_INTERNAL_ID "internal_group_id" 31 #define QQ_GROUP_KEY_INTERNAL_ID "internal_group_id"
34 #define QQ_GROUP_KEY_EXTERNAL_ID "external_group_id" 32 #define QQ_GROUP_KEY_EXTERNAL_ID "external_group_id"
37 #define QQ_GROUP_KEY_GROUP_CATEGORY "group_category" 35 #define QQ_GROUP_KEY_GROUP_CATEGORY "group_category"
38 #define QQ_GROUP_KEY_AUTH_TYPE "auth_type" 36 #define QQ_GROUP_KEY_AUTH_TYPE "auth_type"
39 #define QQ_GROUP_KEY_GROUP_NAME_UTF8 "group_name_utf8" 37 #define QQ_GROUP_KEY_GROUP_NAME_UTF8 "group_name_utf8"
40 #define QQ_GROUP_KEY_GROUP_DESC_UTF8 "group_desc_utf8" 38 #define QQ_GROUP_KEY_GROUP_DESC_UTF8 "group_desc_utf8"
41 39
42 qq_group *qq_group_create_by_id(GaimConnection * gc, guint32 internal_id, guint32 external_id); 40 qq_group *qq_group_create_by_id(GaimConnection *gc, guint32 internal_id, guint32 external_id);
43 GHashTable *qq_group_to_hashtable(qq_group * group); 41 GHashTable *qq_group_to_hashtable(qq_group *group);
44 42
45 qq_group *qq_group_from_hashtable(GaimConnection * gc, GHashTable * data); 43 qq_group *qq_group_from_hashtable(GaimConnection *gc, GHashTable *data);
46 void qq_group_refresh(GaimConnection * gc, qq_group * group); 44 void qq_group_refresh(GaimConnection *gc, qq_group *group);
47 45
48 #endif 46 #endif
49 /*****************************************************************************/
50 // END OF FILE