Mercurial > pidgin
comparison src/protocols/gg/libgg.h @ 10344:5976491e07a7
[gaim-migrate @ 11554]
Assorted silly compile warning fixes
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 11 Dec 2004 00:06:06 +0000 |
parents | 0e3a84f18467 |
children | 088633feb846 |
comparison
equal
deleted
inserted
replaced
10343:ee4f477fc8cf | 10344:5976491e07a7 |
---|---|
1 /* $Id: libgg.h 10742 2004-08-25 03:09:08Z thekingant $ */ | 1 /* $Id: libgg.h 11554 2004-12-11 00:06:06Z thekingant $ */ |
2 | 2 |
3 /* | 3 /* |
4 * (C) Copyright 2001 Wojtek Kaniewski <wojtekka@irc.pl>, | 4 * (C) Copyright 2001 Wojtek Kaniewski <wojtekka@irc.pl>, |
5 * Robert J. Wo¼ny <speedy@ziew.org> | 5 * Robert J. Wo¼ny <speedy@ziew.org> |
6 * | 6 * |
161 void gg_free_session(struct gg_session *sess); | 161 void gg_free_session(struct gg_session *sess); |
162 void gg_logoff(struct gg_session *sess); | 162 void gg_logoff(struct gg_session *sess); |
163 int gg_write(struct gg_session *sess, const char *buf, int length); | 163 int gg_write(struct gg_session *sess, const char *buf, int length); |
164 int gg_change_status(struct gg_session *sess, int status); | 164 int gg_change_status(struct gg_session *sess, int status); |
165 int gg_change_status_descr(struct gg_session *sess, int status, const char *descr); | 165 int gg_change_status_descr(struct gg_session *sess, int status, const char *descr); |
166 int gg_send_message(struct gg_session *sess, int msgclass, uin_t recipient, const unsigned char *message); | 166 int gg_send_message(struct gg_session *sess, int msgclass, uin_t recipient, const char *message); |
167 int gg_send_message_richtext(struct gg_session *sess, int msgclass, uin_t recipient, const unsigned char *message, const unsigned char *format, int formatlen); | 167 int gg_send_message_richtext(struct gg_session *sess, int msgclass, uin_t recipient, const char *message, const unsigned char *format, int formatlen); |
168 int gg_ping(struct gg_session *sess); | 168 int gg_ping(struct gg_session *sess); |
169 int gg_userlist_request(struct gg_session *sess, char type, const char *request); | 169 int gg_userlist_request(struct gg_session *sess, char type, const char *request); |
170 | 170 |
171 struct gg_notify_reply { | 171 struct gg_notify_reply { |
172 uin_t uin; /* numerek */ | 172 uin_t uin; /* numerek */ |
270 union { | 270 union { |
271 struct { | 271 struct { |
272 uin_t sender; | 272 uin_t sender; |
273 int msgclass; | 273 int msgclass; |
274 time_t time; | 274 time_t time; |
275 unsigned char *message; | 275 char *message; |
276 } msg; | 276 } msg; |
277 struct gg_notify_reply *notify; | 277 struct gg_notify_reply *notify; |
278 struct { /* @notify60 informacja o li¶cie kontaktów -- GG_EVENT_NOTIFY60 */ | 278 struct { /* @notify60 informacja o li¶cie kontaktów -- GG_EVENT_NOTIFY60 */ |
279 uin_t uin; /* numer */ | 279 uin_t uin; /* numer */ |
280 int status; /* stan */ | 280 int status; /* stan */ |