Changes in libfaim/aim.h [fe73d0c:7869e48]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfaim/aim.h
rfe73d0c r7869e48 1 /* 1 /* 2 2 * Main libfaim header. Must be included in client for prototypes/macros. 3 3 * … … 51 51 52 52 #if defined(mach) && defined(__APPLE__) 53 #define gethostbyname(x) gethostbyname2(x, AF_INET) 53 #define gethostbyname(x) gethostbyname2(x, AF_INET) 54 54 #endif 55 55 … … 57 57 /* 58 58 * For a win32 DLL, we define WIN32_INDLL if this file 59 * is included while compiling the DLL. If its not 59 * is included while compiling the DLL. If its not 60 60 * defined (its included in a client app), the symbols 61 61 * will be imported instead of exported. … … 63 63 #ifdef WIN32_INDLL 64 64 #define faim_export __declspec(dllexport) 65 #else 65 #else 66 66 #define faim_export __declspec(dllimport) 67 67 #endif /* WIN32_INDLL */ … … 83 83 #endif 84 84 85 /* 86 * Current Maximum Length for Screen Names (not including NULL) 85 /* 86 * Current Maximum Length for Screen Names (not including NULL) 87 87 * 88 88 * Currently only names up to 16 characters can be registered … … 104 104 * 105 105 * XXX: the real limit is the total SNAC size at 8192. Fix this. 106 * 106 * 107 107 */ 108 108 #define MAXMSGLEN 7987 … … 118 118 * 119 119 * This is actually defined by the protocol to be 120 * dynamic, but I have yet to see due cause to 120 * dynamic, but I have yet to see due cause to 121 121 * define it dynamically here. Maybe later. 122 122 * … … 132 132 133 133 /* 134 * Client info. Filled in by the client and passed in to 134 * Client info. Filled in by the client and passed in to 135 135 * aim_send_login(). The information ends up getting passed to OSCAR 136 136 * through the initial login command. … … 277 277 #define CLIENTINFO_ICQ_KNOWNGOOD CLIENTINFO_ICQ_5_45_3777 278 278 279 /* 280 * These could be arbitrary, but its easier to use the actual AIM values 279 /* 280 * These could be arbitrary, but its easier to use the actual AIM values 281 281 */ 282 282 #define AIM_CONN_TYPE_BOS 0x0002 … … 323 323 void *internal; /* internal conn-specific libfaim data */ 324 324 time_t lastactivity; /* time of last transmit */ 325 int forcedlatency; 325 int forcedlatency; 326 326 void *handlerlist; 327 327 void *sessv; /* pointer to parent session */ … … 353 353 fu8_t hdrtype; /* defines which piece of the union to use */ 354 354 union { 355 struct { 355 struct { 356 356 fu8_t type; 357 flap_seqnum_t seqnum; 357 flap_seqnum_t seqnum; 358 358 } flap; 359 359 struct { … … 379 379 380 380 /* 381 * AIM Session: The main client-data interface. 381 * AIM Session: The main client-data interface. 382 382 * 383 383 */ … … 390 390 391 391 /* 392 * Pointer to anything the client wants to 392 * Pointer to anything the client wants to 393 393 * explicitly associate with this session. 394 394 * … … 410 410 * I/O. I don't suggest that you use libfaim's internal I/O. 411 411 * Its really bad and the API/event model is quirky at best. 412 * 412 * 413 413 */ 414 aim_frame_t *queue_outgoing; 415 aim_frame_t *queue_incoming; 414 aim_frame_t *queue_outgoing; 415 aim_frame_t *queue_incoming; 416 416 417 417 /* … … 439 439 440 440 /* 441 * Outstanding snac handling 441 * Outstanding snac handling 442 442 * 443 443 * XXX: Should these be per-connection? -mid … … 764 764 /* 765 765 * This information is provided in the Incoming ICBM callback for 766 * Channel 1 ICBM's. 766 * Channel 1 ICBM's. 767 767 * 768 768 * Note that although CUSTOMFEATURES and CUSTOMCHARSET say they … … 780 780 aim_mpmsg_t mpmsg; 781 781 fu32_t icbmflags; /* some flags apply only to ->msg, not all mpmsg */ 782 782 783 783 /* Only provided if message has a human-readable section */ 784 784 char *msg;
Note: See TracChangeset
for help on using the changeset viewer.