[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ayttm-commits] CVS: ayttm/modules/workwizu workwizu.c,1.16,1.17
From: |
Colin Leroy <address@hidden> |
Subject: |
[Ayttm-commits] CVS: ayttm/modules/workwizu workwizu.c,1.16,1.17 |
Date: |
Sat, 25 Jan 2003 05:21:15 -0500 |
Update of /cvsroot/ayttm/ayttm/modules/workwizu
In directory subversions:/tmp/cvs-serv24097/modules/workwizu
Modified Files:
workwizu.c
Log Message:
glist->llist
Index: workwizu.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/workwizu/workwizu.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- workwizu.c 16 Jan 2003 13:11:00 -0000 1.16
+++ workwizu.c 25 Jan 2003 10:21:11 -0000 1.17
@@ -96,7 +96,7 @@
static wwz_user *my_user;
-GList *wwz_contacts = NULL;
+LList *wwz_contacts = NULL;
int connstate;
@@ -635,7 +635,7 @@
void eb_workwizu_logout (eb_local_account *account)
{
- GList *l;
+ LList *l;
wwz_account_data *wad = (wwz_account_data *)
account->protocol_local_account_data;
if (!account->connected)
return;
@@ -712,7 +712,7 @@
return eb_workwizu_send_typing(account_from, NULL);
}
-eb_local_account *eb_workwizu_read_local_config (GList *values)
+eb_local_account *eb_workwizu_read_local_config (LList *values)
{
eb_local_account *ela;
wwz_account_data *wad = g_new0(wwz_account_data,1);
@@ -733,26 +733,26 @@
return ela;
}
-GList *eb_workwizu_write_local_config (eb_local_account *account)
+LList *eb_workwizu_write_local_config (eb_local_account *account)
{
value_pair *pair = NULL;
- GList *vals = NULL;
+ LList *vals = NULL;
wwz_account_data *wad = (wwz_account_data
*)account->protocol_local_account_data;
pair = g_new0(value_pair, 1);
strcpy(pair->key, "SCREEN_NAME");
strncpy(pair->value, account->handle, 1024);
- vals = g_list_append(vals, pair);
+ vals = l_list_append(vals, pair);
pair = g_new0(value_pair, 1);
strcpy(pair->key, "PASSWORD");
strncpy(pair->value, wad->password, 1024);
- vals = g_list_append(vals, pair);
+ vals = l_list_append(vals, pair);
return vals;
}
-eb_account *eb_workwizu_read_config (GList *config, struct contact *contact)
+eb_account *eb_workwizu_read_config (LList *config, struct contact *contact)
{
eb_account *ea = g_new0(eb_account, 1);
char *tmp;
@@ -777,11 +777,11 @@
return ea;
}
-GList *eb_workwizu_get_states (void)
+LList *eb_workwizu_get_states (void)
{
- GList *status_list = NULL;
- status_list = g_list_append(status_list, "Online");
- status_list = g_list_append(status_list, "Offline");
+ LList *status_list = NULL;
+ status_list = l_list_append(status_list, "Online");
+ status_list = l_list_append(status_list, "Offline");
return status_list;
}
@@ -818,7 +818,7 @@
wwz_account_data *wad = (wwz_account_data
*)account_from->protocol_local_account_data;
if (account == NULL)
return;
- wwz_contacts = g_list_append(wwz_contacts, account->handle);
+ wwz_contacts = l_list_append(wwz_contacts, account->handle);
if (wad->chat_room)
eb_chat_room_buddy_arrive(wad->chat_room,
account->account_contact->nick, account->handle);
/* nothing to do server-side */
@@ -830,7 +830,7 @@
wwz_account_data *wad = (wwz_account_data
*)account_from->protocol_local_account_data;
if (account == NULL)
return;
- wwz_contacts = g_list_remove(wwz_contacts, account->handle);
+ wwz_contacts = l_list_remove(wwz_contacts, account->handle);
if (wad->chat_room)
eb_chat_room_buddy_leave(wad->chat_room, account->handle);
/* nothing to do server-side */
@@ -917,7 +917,7 @@
void eb_workwizu_join_chat_room (eb_chat_room *room)
{
- GList *all = NULL;
+ LList *all = NULL;
room->connected = TRUE;
for (all = wwz_contacts; all != NULL && all->data != NULL; all =
all->next) {
eb_account * ea = (eb_account *)find_account_by_handle((char
*)all->data, SERVICE_INFO.protocol_id);
@@ -927,7 +927,7 @@
void eb_workwizu_leave_chat_room (eb_chat_room *room)
{
- GList *all = NULL;
+ LList *all = NULL;
eb_local_account *account = (eb_local_account *)room->chat_room_account;
wwz_account_data *wad = (wwz_account_data
*)account->protocol_local_account_data;
for (all = wwz_contacts; all != NULL && all->data != NULL; all =
all->next) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Ayttm-commits] CVS: ayttm/modules/workwizu workwizu.c,1.16,1.17,
Colin Leroy <address@hidden> <=
- Prev by Date:
[Ayttm-commits] CVS: ayttm ChangeLog,1.208,1.209 configure.in,1.204,1.205
- Next by Date:
[Ayttm-commits] CVS: ayttm/modules/jabber jabber.c,1.5,1.6
- Previous by thread:
[Ayttm-commits] CVS: ayttm ChangeLog,1.208,1.209 configure.in,1.204,1.205
- Next by thread:
[Ayttm-commits] CVS: ayttm/modules/jabber jabber.c,1.5,1.6
- Index(es):