Mercurial > pidgin
comparison src/protocols/oscar/aim.h @ 11253:7d31d61e6438
[gaim-migrate @ 13422]
Get rid of faimdprintf and use gaim_debug functions instead
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 13 Aug 2005 06:43:45 +0000 |
parents | 751de30689ef |
children | 17142948653e |
comparison
equal
deleted
inserted
replaced
11252:55356a29cdd1 | 11253:7d31d61e6438 |
---|---|
10 #define __AIM_H__ | 10 #define __AIM_H__ |
11 | 11 |
12 #include "faimconfig.h" | 12 #include "faimconfig.h" |
13 #include "aim_cbtypes.h" | 13 #include "aim_cbtypes.h" |
14 | 14 |
15 #include "debug.h" | |
15 #include "internal.h" | 16 #include "internal.h" |
16 | 17 |
17 #include <stdio.h> | 18 #include <stdio.h> |
18 #include <string.h> | 19 #include <string.h> |
19 #include <fcntl.h> | 20 #include <fcntl.h> |
432 char password[128]; | 433 char password[128]; |
433 } socksproxy; | 434 } socksproxy; |
434 | 435 |
435 fu8_t nonblocking; | 436 fu8_t nonblocking; |
436 | 437 |
437 int debug; | |
438 void (*debugcb)(struct aim_session_s *sess, int level, const char *format, va_list va); /* same as faim_debugging_callback_t */ | |
439 | |
440 /* | 438 /* |
441 * Outstanding snac handling | 439 * Outstanding snac handling |
442 * | 440 * |
443 * XXX: Should these be per-connection? -mid | 441 * XXX: Should these be per-connection? -mid |
444 */ | 442 */ |
579 faim_export int aim_conn_isready(aim_conn_t *); | 577 faim_export int aim_conn_isready(aim_conn_t *); |
580 faim_export int aim_conn_setstatus(aim_conn_t *, int); | 578 faim_export int aim_conn_setstatus(aim_conn_t *, int); |
581 faim_export int aim_conn_completeconnect(aim_session_t *sess, aim_conn_t *conn); | 579 faim_export int aim_conn_completeconnect(aim_session_t *sess, aim_conn_t *conn); |
582 faim_export int aim_conn_isconnecting(aim_conn_t *conn); | 580 faim_export int aim_conn_isconnecting(aim_conn_t *conn); |
583 | 581 |
584 typedef void (*faim_debugging_callback_t)(aim_session_t *sess, int level, const char *format, va_list va); | 582 faim_export void aim_session_init(aim_session_t *, fu8_t nonblocking); |
585 faim_export int aim_setdebuggingcb(aim_session_t *sess, faim_debugging_callback_t); | |
586 faim_export void aim_session_init(aim_session_t *, fu8_t nonblocking, int debuglevel); | |
587 faim_export void aim_session_kill(aim_session_t *); | 583 faim_export void aim_session_kill(aim_session_t *); |
588 faim_export aim_conn_t *aim_getconn_type(aim_session_t *, int type); | 584 faim_export aim_conn_t *aim_getconn_type(aim_session_t *, int type); |
589 faim_export aim_conn_t *aim_getconn_type_all(aim_session_t *, int type); | 585 faim_export aim_conn_t *aim_getconn_type_all(aim_session_t *, int type); |
590 faim_export aim_conn_t *aim_getconn_fd(aim_session_t *, int fd); | 586 faim_export aim_conn_t *aim_getconn_fd(aim_session_t *, int fd); |
591 | 587 |