Mercurial > pidgin.yaz
comparison libfaim/search.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 | 3fe5799b7823 |
children |
comparison
equal
deleted
inserted
replaced
1838:bee2239f5952 | 1839:109cacf1ff97 |
---|---|
36 | 36 |
37 /* XXX can this be integrated with the rest of the error handling? */ | 37 /* XXX can this be integrated with the rest of the error handling? */ |
38 static int error(struct aim_session_t *sess, aim_module_t *mod, struct command_rx_struct *rx, aim_modsnac_t *snac, unsigned char *data, int datalen) | 38 static int error(struct aim_session_t *sess, aim_module_t *mod, struct command_rx_struct *rx, aim_modsnac_t *snac, unsigned char *data, int datalen) |
39 { | 39 { |
40 int ret = 0; | 40 int ret = 0; |
41 rxcallback_t userfunc; | 41 aim_rxcallback_t userfunc; |
42 struct aim_snac_t *snac2; | 42 struct aim_snac_t *snac2; |
43 | 43 |
44 /* XXX the modules interface should have already retrieved this for us */ | 44 /* XXX the modules interface should have already retrieved this for us */ |
45 if(!(snac2 = aim_remsnac(sess, snac->id))) { | 45 if(!(snac2 = aim_remsnac(sess, snac->id))) { |
46 faimdprintf(sess, 2, "couldn't get a snac for 0x%08lx\n", snac->id); | 46 faimdprintf(sess, 2, "couldn't get a snac for 0x%08lx\n", snac->id); |
63 static int reply(struct aim_session_t *sess, aim_module_t *mod, struct command_rx_struct *rx, aim_modsnac_t *snac, unsigned char *data, int datalen) | 63 static int reply(struct aim_session_t *sess, aim_module_t *mod, struct command_rx_struct *rx, aim_modsnac_t *snac, unsigned char *data, int datalen) |
64 { | 64 { |
65 unsigned int j, m, ret = 0; | 65 unsigned int j, m, ret = 0; |
66 struct aim_tlvlist_t *tlvlist; | 66 struct aim_tlvlist_t *tlvlist; |
67 char *cur = NULL, *buf = NULL; | 67 char *cur = NULL, *buf = NULL; |
68 rxcallback_t userfunc; | 68 aim_rxcallback_t userfunc; |
69 struct aim_snac_t *snac2; | 69 struct aim_snac_t *snac2; |
70 | 70 |
71 if (!(snac2 = aim_remsnac(sess, snac->id))) { | 71 if (!(snac2 = aim_remsnac(sess, snac->id))) { |
72 faimdprintf(sess, 2, "faim: couldn't get a snac for 0x%08lx\n", snac->id); | 72 faimdprintf(sess, 2, "faim: couldn't get a snac for 0x%08lx\n", snac->id); |
73 return 0; | 73 return 0; |