Mercurial > pidgin.yaz
view src/protocols/zephyr/init_et.c @ 8808:bbd8cdaf0ad5
[gaim-migrate @ 9570]
A massive patch by shx to reorganize MSN some more and add command
processor support. This allows us to do cool things like produce more
detailed error messages. For example, the Invalid Username dialog now
shows the username of the invalid user.
I modified the aforementioned dialog so it'll look a little nicer looking,
and also mention the account this happened on. It also removes the user
from your blist, as there's no point to keeping the user on there.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 25 Apr 2004 22:02:06 +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; */ /* } */