Mercurial > pidgin.yaz
comparison libfaim/ft.c @ 1839:109cacf1ff97
[gaim-migrate @ 1849]
now we don't require a hash server anymore. but it still has the ability to use one.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 11 May 2001 21:54:27 +0000 |
parents | ec31e23aadc7 |
children |
comparison
equal
deleted
inserted
replaced
1838:bee2239f5952 | 1839:109cacf1ff97 |
---|---|
35 * %AIM_CB_FAM_OFT, %AIM_CB_OFT_<CLASS>INITIATE callback. | 35 * %AIM_CB_FAM_OFT, %AIM_CB_OFT_<CLASS>INITIATE callback. |
36 */ | 36 */ |
37 faim_export int aim_handlerendconnect(struct aim_session_t *sess, struct aim_conn_t *cur) | 37 faim_export int aim_handlerendconnect(struct aim_session_t *sess, struct aim_conn_t *cur) |
38 { | 38 { |
39 int acceptfd = 0; | 39 int acceptfd = 0; |
40 rxcallback_t userfunc; | 40 aim_rxcallback_t userfunc; |
41 struct sockaddr cliaddr; | 41 struct sockaddr cliaddr; |
42 int clilen = sizeof(cliaddr); | 42 int clilen = sizeof(cliaddr); |
43 int ret = 0; | 43 int ret = 0; |
44 struct aim_conn_t *newconn; | 44 struct aim_conn_t *newconn; |
45 | 45 |
822 { | 822 { |
823 unsigned char hdrbuf1[6]; | 823 unsigned char hdrbuf1[6]; |
824 unsigned char *hdr = NULL; | 824 unsigned char *hdr = NULL; |
825 int hdrlen, hdrtype; | 825 int hdrlen, hdrtype; |
826 int flags = 0; | 826 int flags = 0; |
827 rxcallback_t userfunc = NULL; | 827 aim_rxcallback_t userfunc = NULL; |
828 | 828 |
829 if (!sess || !conn || !conn->priv) | 829 if (!sess || !conn || !conn->priv) |
830 return -1; | 830 return -1; |
831 | 831 |
832 memset(hdrbuf1, 0, sizeof(hdrbuf1)); | 832 memset(hdrbuf1, 0, sizeof(hdrbuf1)); |