Mercurial > pidgin.yaz
comparison HACKING @ 1099:4416ead31db7
[gaim-migrate @ 1109]
updated hacking to reflect mid's changes, and applied mid's libyahoo patch
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 16 Nov 2000 07:35:58 +0000 |
parents | e1408fb04c36 |
children | 72692c70317e |
comparison
equal
deleted
inserted
replaced
1098:b335c0ce305e | 1099:4416ead31db7 |
---|---|
33 debugging information is printed to the debug window (which can be turned | 33 debugging information is printed to the debug window (which can be turned |
34 on in the preferences) whether or not --enable-debug was selected. Most | 34 on in the preferences) whether or not --enable-debug was selected. Most |
35 of the information that's printed is useless anyway though; so the | 35 of the information that's printed is useless anyway though; so the |
36 --enable-debug option really doesn't do a whole lot. | 36 --enable-debug option really doesn't do a whole lot. |
37 | 37 |
38 This file was last modified by $Author: warmenhoven $ on $Date: 2000-11-03 22:08:54 -0500 (Fri, 03 Nov 2000) $. | 38 This file was last modified by $Author: warmenhoven $ on $Date: 2000-11-16 02:35:58 -0500 (Thu, 16 Nov 2000) $. |
39 | 39 |
40 | 40 |
41 PROGRAM FLOW | 41 PROGRAM FLOW |
42 ============ | 42 ============ |
43 | 43 |
182 concerned with. If you want to remove multiconnectivity from gaim, | 182 concerned with. If you want to remove multiconnectivity from gaim, |
183 all you would really need to do is comment out any lines that make | 183 all you would really need to do is comment out any lines that make |
184 reference to this function (there are only two - one in aim.c and one | 184 reference to this function (there are only two - one in aim.c and one |
185 in buddy.c). Or you could just run ./configure --disable-multi. | 185 in buddy.c). Or you could just run ./configure --disable-multi. |
186 | 186 |
187 network.c: | |
188 This has two functions: get_address and connect_address, both of which | |
189 call proxy functions. If you want to see how these are used, look at | |
190 toc.c and/or rvous.c. These are really just front-ends to the proxy | |
191 stuff; use these instead of calling the proxy functions. | |
192 | |
193 oscar.c: | 187 oscar.c: |
194 One big hack of copied code. This is supposed to be the libfaim tie-in | 188 One big hack of copied code. This is supposed to be the libfaim tie-in |
195 in gaim. Most of it is just copied straight from faimtest, the small | 189 in gaim. Most of it is just copied straight from faimtest, the small |
196 program that comes with libfaim. I'm not even sure how half of it works, | 190 program that comes with libfaim. I'm not even sure how half of it works, |
197 if that makes you feel any better. | 191 if that makes you feel any better. |
224 the actual dlopen(), dlsym() stuff is in plugins.c. But this contains | 218 the actual dlopen(), dlsym() stuff is in plugins.c. But this contains |
225 all of the functions that the protocol plugin needs to call, and manages | 219 all of the functions that the protocol plugin needs to call, and manages |
226 all of the protocols. It's a pretty simple file actually. | 220 all of the protocols. It's a pretty simple file actually. |
227 | 221 |
228 proxy.c: | 222 proxy.c: |
229 This is where the bulk of the actual networking code is done. The big | 223 Adam (of libfaim glory) got bored one day and rewrote this file, so now |
230 function here is proxy_connect, which will connect through the proxy | 224 everything actually works. The main function is proxy_connect, which |
231 setup you've chosen (most of which don't work...) or just regularly. | 225 figures out which proxy you want to use (if you want to use one at all) |
226 and passes off the data to the appropriate function. This file should be | |
227 pretty straight-forward. | |
232 | 228 |
233 rvous.c: | 229 rvous.c: |
234 This was originally going to be the stuff for all of the Buddy Icon | 230 This was originally going to be the stuff for all of the Buddy Icon |
235 and Voice Chat stuff, but I got really sick of protocol hacking really | 231 and Voice Chat stuff, but I got really sick of protocol hacking really |
236 quick. Now it only houses the file transfer stuff, which only works | 232 quick. Now it only houses the file transfer stuff, which only works |