comparison src/protocols/gg/gg.c @ 2501:227cc42ffa6e

[gaim-migrate @ 2514] i should have hidden something ultra-secret in this. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 14 Oct 2001 11:36:36 +0000
parents ce09589b7681
children e7478176e760
comparison
equal deleted inserted replaced
2500:1697ecbf1bcc 2501:227cc42ffa6e
1 /* 1 /*
2 * gaim - Gadu-Gadu Protocol Plugin 2 * gaim - Gadu-Gadu Protocol Plugin
3 * $Id: gg.c 2436 2001-10-04 05:45:18Z warmenhoven $ 3 * $Id: gg.c 2514 2001-10-14 11:36:36Z warmenhoven $
4 * 4 *
5 * Copyright (C) 2001, Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL> 5 * Copyright (C) 2001, Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL>
6 * 6 *
7 * This program is free software; you can redistribute it and/or modify 7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by 8 * it under the terms of the GNU General Public License as published by
68 #define AGG_STATUS_BUSY_FRIENDS _("Away for friends only") 68 #define AGG_STATUS_BUSY_FRIENDS _("Away for friends only")
69 #define AGG_STATUS_INVISIBLE _("Invisible") 69 #define AGG_STATUS_INVISIBLE _("Invisible")
70 #define AGG_STATUS_INVISIBLE_FRIENDS _("Invisible for friends only") 70 #define AGG_STATUS_INVISIBLE_FRIENDS _("Invisible for friends only")
71 #define AGG_STATUS_NOT_AVAIL _("Unavailable") 71 #define AGG_STATUS_NOT_AVAIL _("Unavailable")
72 72
73 #define UC_NORMAL 2
74
73 struct agg_data { 75 struct agg_data {
74 struct gg_session *sess; 76 struct gg_session *sess;
75 }; 77 };
76 78
77 struct agg_search { 79 struct agg_search {
297 case GG_STATUS_NOT_AVAIL: 299 case GG_STATUS_NOT_AVAIL:
298 return AGG_STATUS_NOT_AVAIL; 300 return AGG_STATUS_NOT_AVAIL;
299 } 301 }
300 } 302 }
301 303
302 static GList *agg_away_states() 304 static GList *agg_away_states(struct gaim_connection *gc)
303 { 305 {
304 GList *m = NULL; 306 GList *m = NULL;
305 307
306 m = g_list_append(m, AGG_STATUS_AVAIL); 308 m = g_list_append(m, AGG_STATUS_AVAIL);
307 m = g_list_append(m, AGG_STATUS_BUSY); 309 m = g_list_append(m, AGG_STATUS_BUSY);