comparison libfaim/faim/aim.h @ 900:e18815f5a4e9

[gaim-migrate @ 910] libfaim changes la la la committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 13 Sep 2000 23:48:43 +0000
parents fa2feef25e1e
children 59d9e1177ab5
comparison
equal deleted inserted replaced
899:88d1edcd7cd6 900:e18815f5a4e9
30 #include <time.h> 30 #include <time.h>
31 #include <io.h> 31 #include <io.h>
32 #else 32 #else
33 #include <sys/time.h> 33 #include <sys/time.h>
34 #include <unistd.h> 34 #include <unistd.h>
35 #include <netinet/in.h>
35 #endif 36 #endif
36 37
37 #ifdef FAIM_USEPTHREADS 38 #ifdef FAIM_USEPTHREADS
38 #include <pthread.h> 39 #include <pthread.h>
39 #define faim_mutex_t pthread_mutex_t 40 #define faim_mutex_t pthread_mutex_t
339 */ 340 */
340 struct aim_userinfo_s { 341 struct aim_userinfo_s {
341 char sn[MAXSNLEN+1]; 342 char sn[MAXSNLEN+1];
342 u_short warnlevel; 343 u_short warnlevel;
343 u_short idletime; 344 u_short idletime;
344 u_short class; 345 u_short flags;
345 u_long membersince; 346 u_long membersince;
346 u_long onlinesince; 347 u_long onlinesince;
347 u_long sessionlen; 348 u_long sessionlen;
348 u_short capabilities; 349 u_short capabilities;
349 }; 350 };
350 351
351 #define AIM_CLASS_TRIAL 0x0001 /* "damned transients" */ 352 #define AIM_FLAG_UNCONFIRMED 0x0001 /* "damned transients" */
352 #define AIM_CLASS_ADMINISTRATOR 0x0002 353 #define AIM_FLAG_ADMINISTRATOR 0x0002
353 #define AIM_CLASS_AOL 0x0004 354 #define AIM_FLAG_AOL 0x0004
354 #define AIM_CLASS_OSCAR_PAY 0x0008 355 #define AIM_FLAG_OSCAR_PAY 0x0008
355 #define AIM_CLASS_FREE 0x0010 356 #define AIM_FLAG_FREE 0x0010
356 #define AIM_CLASS_AWAY 0x0020 357 #define AIM_FLAG_AWAY 0x0020
357 #define AIM_CLASS_UNKNOWN40 0x0040 358 #define AIM_FLAG_UNKNOWN40 0x0040
358 #define AIM_CLASS_UNKNOWN80 0x0080 359 #define AIM_FLAG_UNKNOWN80 0x0080
359 360
360 #define AIM_CLASS_ALLUSERS 0x001f 361 #define AIM_FLAG_ALLUSERS 0x001f
361 362
362 /* 363 /*
363 * TLV handling 364 * TLV handling
364 */ 365 */
365 366