Mercurial > pidgin.yaz
annotate src/protocols/zephyr/ZSendList.c @ 13033:69b3d5cbd2b1
[gaim-migrate @ 15389]
Kill gaim_date() and gaim_date_full(). The former isn't used and the latter is used only twice. This makes the buddy pounce pop-ups and debug log headers contain localized dates, fixing part of SF Bug #1325915. Thanks to Bleeter for discovering that gaim_date() isn't used.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Wed, 25 Jan 2006 02:58:54 +0000 |
parents | 64895571248f |
children |
rev | line source |
---|---|
2086 | 1 /* This file is part of the Project Athena Zephyr Notification System. |
2 * It contains source for the ZSendList function. | |
3 * | |
4 * Created by: Robert French | |
5 * | |
6 * Copyright (c) 1987 by the Massachusetts Institute of Technology. | |
7 * For copying and distribution information, see the file | |
8 * "mit-copyright.h". | |
9 */ | |
10 | |
8792
43d6c08d7e96
[gaim-migrate @ 9554]
Christian Hammond <chipx86@chipx86.com>
parents:
2086
diff
changeset
|
11 #include "internal.h" |
2086 | 12 |
13 Code_t ZSendList(notice, list, nitems, cert_routine) | |
14 ZNotice_t *notice; | |
15 char *list[]; | |
16 int nitems; | |
17 Z_AuthProc cert_routine; | |
18 { | |
19 return(ZSrvSendList(notice, list, nitems, cert_routine, Z_XmitFragment)); | |
20 } | |
21 | |
22 Code_t ZSrvSendList(notice, list, nitems, cert_routine, send_routine) | |
23 ZNotice_t *notice; | |
24 char *list[]; | |
25 int nitems; | |
26 Z_AuthProc cert_routine; | |
27 Code_t (*send_routine)(); | |
28 { | |
29 Code_t retval; | |
30 ZNotice_t newnotice; | |
31 char *buffer; | |
32 int len; | |
33 | |
34 if ((retval = ZFormatNoticeList(notice, list, nitems, &buffer, | |
35 &len, cert_routine)) != ZERR_NONE) | |
36 return (retval); | |
37 | |
38 if ((retval = ZParseNotice(buffer, len, &newnotice)) != ZERR_NONE) | |
39 return (retval); | |
40 | |
41 retval = Z_SendFragmentedNotice(&newnotice, len, cert_routine, | |
42 send_routine); | |
43 | |
44 free(buffer); | |
45 | |
46 return (retval); | |
47 } |