| 1 /** |
1 /** |
| 2 * @file group_internal.h |
2 * @file group_internal.h |
| 3 * |
3 * |
| 4 * gaim |
4 * purple |
| 5 * |
5 * |
| 6 * Gaim is the legal property of its developers, whose names are too numerous |
6 * Purple is the legal property of its developers, whose names are too numerous |
| 7 * to list here. Please refer to the COPYRIGHT file distributed with this |
7 * to list here. Please refer to the COPYRIGHT file distributed with this |
| 8 * source distribution. |
8 * source distribution. |
| 9 * |
9 * |
| 10 * This program is free software; you can redistribute it and/or modify |
10 * This program is free software; you can redistribute it and/or modify |
| 11 * it under the terms of the GNU General Public License as published by |
11 * it under the terms of the GNU General Public License as published by |
| 37 #define QQ_GROUP_KEY_GROUP_CATEGORY "group_category" |
37 #define QQ_GROUP_KEY_GROUP_CATEGORY "group_category" |
| 38 #define QQ_GROUP_KEY_AUTH_TYPE "auth_type" |
38 #define QQ_GROUP_KEY_AUTH_TYPE "auth_type" |
| 39 #define QQ_GROUP_KEY_GROUP_NAME_UTF8 "group_name_utf8" |
39 #define QQ_GROUP_KEY_GROUP_NAME_UTF8 "group_name_utf8" |
| 40 #define QQ_GROUP_KEY_GROUP_DESC_UTF8 "group_desc_utf8" |
40 #define QQ_GROUP_KEY_GROUP_DESC_UTF8 "group_desc_utf8" |
| 41 |
41 |
| 42 qq_group *qq_group_create_internal_record(GaimConnection *gc, |
42 qq_group *qq_group_create_internal_record(PurpleConnection *gc, |
| 43 guint32 internal_id, guint32 external_id, gchar *group_name_utf8); |
43 guint32 internal_id, guint32 external_id, gchar *group_name_utf8); |
| 44 void qq_group_delete_internal_record(qq_data *qd, guint32 internal_group_id); |
44 void qq_group_delete_internal_record(qq_data *qd, guint32 internal_group_id); |
| 45 |
45 |
| 46 GHashTable *qq_group_to_hashtable(qq_group *group); |
46 GHashTable *qq_group_to_hashtable(qq_group *group); |
| 47 qq_group *qq_group_from_hashtable(GaimConnection *gc, GHashTable *data); |
47 qq_group *qq_group_from_hashtable(PurpleConnection *gc, GHashTable *data); |
| 48 |
48 |
| 49 void qq_group_refresh(GaimConnection *gc, qq_group *group); |
49 void qq_group_refresh(PurpleConnection *gc, qq_group *group); |
| 50 |
50 |
| 51 void qq_set_pending_id(GSList **list, guint32 id, gboolean pending); |
51 void qq_set_pending_id(GSList **list, guint32 id, gboolean pending); |
| 52 GSList *qq_get_pending_id(GSList *list, guint32 id); |
52 GSList *qq_get_pending_id(GSList *list, guint32 id); |
| 53 |
53 |
| 54 #endif |
54 #endif |