Mercurial > pidgin
diff libfaim/aim_txqueue.c @ 840:595ac7759563
[gaim-migrate @ 850]
lots of (mostly useless for us) libfaim changes. should help portability, but it was always portable between unices.... stupid win32ers.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 04 Sep 2000 23:37:32 +0000 |
parents | e4c34ca88d9b |
children | e1da6a6ec42b |
line wrap: on
line diff
--- a/libfaim/aim_txqueue.c Mon Sep 04 01:15:38 2000 +0000 +++ b/libfaim/aim_txqueue.c Mon Sep 04 23:37:32 2000 +0000 @@ -19,7 +19,7 @@ * chan = channel for OSCAR, hdrtype for OFT * */ -struct command_tx_struct *aim_tx_new(unsigned short framing, int chan, struct aim_conn_t *conn, int datalen) +faim_internal struct command_tx_struct *aim_tx_new(unsigned short framing, int chan, struct aim_conn_t *conn, int datalen) { struct command_tx_struct *new; @@ -70,8 +70,8 @@ * that is, when sess->tx_enqueue is set to &aim_tx_enqueue__queuebased. * */ -int aim_tx_enqueue__queuebased(struct aim_session_t *sess, - struct command_tx_struct *newpacket) +faim_internal int aim_tx_enqueue__queuebased(struct aim_session_t *sess, + struct command_tx_struct *newpacket) { struct command_tx_struct *cur; @@ -122,7 +122,7 @@ * right here. * */ -int aim_tx_enqueue__immediate(struct aim_session_t *sess, struct command_tx_struct *newpacket) +faim_internal int aim_tx_enqueue__immediate(struct aim_session_t *sess, struct command_tx_struct *newpacket) { if (newpacket->conn == NULL) { faimdprintf(1, "aim_tx_enqueue: ERROR: packet has no connection\n"); @@ -156,7 +156,7 @@ * before enqueuement (in aim_tx_enqueue()). * */ -u_int aim_get_next_txseqnum(struct aim_conn_t *conn) +faim_internal unsigned int aim_get_next_txseqnum(struct aim_conn_t *conn) { u_int ret; @@ -175,7 +175,7 @@ * */ #if debug == 2 -int aim_tx_printqueue(struct aim_session_t *sess) +faim_internal int aim_tx_printqueue(struct aim_session_t *sess) { struct command_tx_struct *cur; @@ -225,7 +225,7 @@ * 9) Step to next struct in list and go back to 1. * */ -int aim_tx_sendframe(struct aim_session_t *sess, struct command_tx_struct *cur) +faim_internal int aim_tx_sendframe(struct aim_session_t *sess, struct command_tx_struct *cur) { int buflen = 0; unsigned char *curPacket; @@ -327,7 +327,7 @@ return 1; /* success */ } -int aim_tx_flushqueue(struct aim_session_t *sess) +faim_export int aim_tx_flushqueue(struct aim_session_t *sess) { struct command_tx_struct *cur; @@ -371,7 +371,7 @@ * reduce memory footprint at run time! * */ -void aim_tx_purgequeue(struct aim_session_t *sess) +faim_export void aim_tx_purgequeue(struct aim_session_t *sess) { struct command_tx_struct *cur = NULL; struct command_tx_struct *tmp;