comparison src/protocols/qq/sendqueue.h @ 14021:ef8490f9e823

[gaim-migrate @ 16618] Replaced all C++-style comments with C-style ones. Cleaned up some comments and implemented a more consistent formatting scheme. committer: Tailor Script <tailor@pidgin.im>
author Mark Huetsch <markhuetsch>
date Wed, 02 Aug 2006 15:35:36 +0000
parents 983fd420e86b
children 32a71e64ceae
comparison
equal deleted inserted replaced
14020:13e7ba964993 14021:ef8490f9e823
18 * You should have received a copy of the GNU General Public License 18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software 19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 */ 21 */
22 22
23 // START OF FILE
24 /*****************************************************************************/
25 #ifndef _QQ_SEND_QUEUE_H_ 23 #ifndef _QQ_SEND_QUEUE_H_
26 #define _QQ_SEND_QUEUE_H_ 24 #define _QQ_SEND_QUEUE_H_
27 25
28 #include <glib.h> 26 #include <glib.h>
29 #include "qq.h" // qq_data 27 #include "qq.h"
30 28
31 #define QQ_SENDQUEUE_TIMEOUT 5000 // in 1/1000 sec 29 #define QQ_SENDQUEUE_TIMEOUT 5000 /* in 1/1000 sec */
32 30
33 typedef struct _qq_sendpacket qq_sendpacket; 31 typedef struct _qq_sendpacket qq_sendpacket;
34 32
35 struct _qq_sendpacket { 33 struct _qq_sendpacket {
36 gint fd; 34 gint fd;
40 guint16 send_seq; 38 guint16 send_seq;
41 gint resend_times; 39 gint resend_times;
42 time_t sendtime; 40 time_t sendtime;
43 }; 41 };
44 42
45 void qq_sendqueue_free(qq_data * qd); 43 void qq_sendqueue_free(qq_data *qd);
46 44
47 void qq_sendqueue_remove(qq_data * qd, guint16 send_seq); 45 void qq_sendqueue_remove(qq_data *qd, guint16 send_seq);
48 gboolean qq_sendqueue_timeout_callback(gpointer data); 46 gboolean qq_sendqueue_timeout_callback(gpointer data);
49 47
50 #endif 48 #endif
51 /*****************************************************************************/
52 // END OF FILE