Mercurial > pidgin
view src/protocols/zephyr/init_et.c @ 9427:66b3f54527e6
[gaim-migrate @ 10245]
" As discussed on #gaim
(15:02:02) Paco-Paco: the ugliness of this feature
trumps compatability, unless there is some pretty
important functionality to be lost
(15:04:02) aatharuv: Paco-Paco: Because zephyr is a
silly UDP based protocol, and sometimes subscriptions
(chats you've registered for) get lost, and you can
tell a user to a cli tool 'zctl' which will restore the
subs.
(15:04:32) aatharuv: Paco-Paco: Of course, I should
just add this as a protocol option, so users don't have
to do that.
(15:04:39) Paco-Paco: yes
(15:04:50) Paco-Paco: that would be the appropriate answer
(15:06:05) LSchiere: okay, so rather then messing with
anoncvs delays, i'm going to leave this in for now, and
aatharuv can just change to to a account option in place
Okay, here's a patch to reload subscriptions incase the
server loses track of them, as a protocol action. Since
my anoncvs hasn't even gotten the original zephyr patch
yet, you might as well reverse the original patch, and
apply this new one." --Arun A Tharuvai
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Tue, 29 Jun 2004 20:35:30 +0000 |
parents | 43dec50d8d51 |
children | 64895571248f |
line wrap: on
line source
/* * $Header$ * $Source$ * $Locker$ * * Copyright 1986, 1987, 1988 by MIT Information Systems and * the MIT Student Information Processing Board. * * For copyright info, see mit-sipb-copyright.h. */ #include <sysdep.h> /* #include "error_table.h" */ #include "mit-sipb-copyright.h" #ifndef lint static const char rcsid_init_et_c[] = "$Header$"; #endif /* struct foobar { struct et_list etl; struct error_table et; }; */ extern struct et_list * _et_list; /* int init_error_table(msgs, base, count) */ /* const char * const * msgs; */ /* int base; */ /* int count; */ /* { */ /* struct foobar * new_et; */ /* if (!base || !count || !msgs) */ /* return 0; */ /* new_et = (struct foobar *) malloc(sizeof(struct foobar)); */ /* if (!new_et) */ /* return errno; /\* oops *\/ */ /* new_et->etl.table = &new_et->et; */ /* new_et->et.msgs = msgs; */ /* new_et->et.base = base; */ /* new_et->et.n_msgs= count; */ /* new_et->etl.next = _et_list; */ /* _et_list = &new_et->etl; */ /* return 0; */ /* } */