]>
Commit | Line | Data |
---|---|---|
bd71fa88 | 1 | /* |
2 | * faimconfig.h | |
3 | * | |
f1a5efe0 | 4 | * Contains various compile-time options that apply _only_ to libfaim. |
bd71fa88 | 5 | * |
6 | */ | |
7 | ||
8 | #ifndef __FAIMCONFIG_H__ | |
9 | #define __FAIMCONFIG_H__ | |
10 | ||
bd71fa88 | 11 | /* |
12 | * USE_SNAC_FOR_IMS is an old feature that allowed better | |
13 | * tracking of error messages by caching SNAC IDs of outgoing | |
14 | * ICBMs and comparing them to incoming errors. However, | |
15 | * its a helluvalot of overhead for something that should | |
16 | * rarely happen. | |
17 | * | |
01b59e1e | 18 | * Default: defined. This is now defined by default |
19 | * because it should be stable and its not too bad. | |
20 | * And Josh wanted it. | |
bd71fa88 | 21 | * |
22 | */ | |
23 | #define USE_SNAC_FOR_IMS | |
24 | ||
25 | /* | |
26 | * Default Authorizer server name and TCP port for the OSCAR farm. | |
27 | * | |
28 | * You shouldn't need to change this unless you're writing | |
29 | * your own server. | |
30 | * | |
31 | * Note that only one server is needed to start the whole | |
32 | * AIM process. The later server addresses come from | |
33 | * the authorizer service. | |
34 | * | |
f1a5efe0 | 35 | * This is only here for convenience. Its still up to |
36 | * the client to connect to it. | |
37 | * | |
bd71fa88 | 38 | */ |
39 | #define FAIM_LOGIN_SERVER "login.oscar.aol.com" | |
40 | #define FAIM_LOGIN_PORT 5190 | |
41 | ||
b13c9e13 | 42 | /* |
43 | * Size of the SNAC caching hash. | |
44 | * | |
45 | * Default: 16 | |
46 | * | |
47 | */ | |
48 | #define FAIM_SNAC_HASH_SIZE 16 | |
49 | ||
5ac21963 | 50 | /* |
b064db1b | 51 | * If building on Win32, define WIN32_STATIC if you don't want |
5ac21963 | 52 | * to compile libfaim as a DLL (and instead link it right into |
53 | * your app). | |
54 | */ | |
55 | #define WIN32_STATIC | |
56 | ||
bd71fa88 | 57 | #endif /* __FAIMCONFIG_H__ */ |
e88ba395 | 58 | |
59 |