Mercurial > pidgin
comparison src/protocols/gg/lib/libgadu.h @ 12218:9cbc5967fbfd
[gaim-migrate @ 14520]
Crush some warnings. I ran this by Bartosz Oler and made some corrections at his suggestion. I'll be submitting this upstream and merging any changes they suggest/make-when-accepting.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 25 Nov 2005 00:32:45 +0000 |
parents | 8724718d387f |
children |
comparison
equal
deleted
inserted
replaced
12217:029802981b81 | 12218:9cbc5967fbfd |
---|---|
1 /* $Id: libgadu.h 14300 2005-11-08 19:45:09Z datallah $ */ | 1 /* $Id: libgadu.h 14520 2005-11-25 00:32:45Z rlaager $ */ |
2 | 2 |
3 /* | 3 /* |
4 * (C) Copyright 2001-2003 Wojtek Kaniewski <wojtekka@irc.pl> | 4 * (C) Copyright 2001-2003 Wojtek Kaniewski <wojtekka@irc.pl> |
5 * Robert J. Woźny <speedy@ziew.org> | 5 * Robert J. Woźny <speedy@ziew.org> |
6 * Arkadiusz Miśkiewicz <arekm@pld-linux.org> | 6 * Arkadiusz Miśkiewicz <arekm@pld-linux.org> |
212 unsigned int chunk_size;/* rozmiar kawałka */ | 212 unsigned int chunk_size;/* rozmiar kawałka */ |
213 unsigned int chunk_offset;/* offset w aktualnym kawałku */ | 213 unsigned int chunk_offset;/* offset w aktualnym kawałku */ |
214 struct gg_file_info file_info; | 214 struct gg_file_info file_info; |
215 /* informacje o pliku */ | 215 /* informacje o pliku */ |
216 int established; /* połączenie ustanowione */ | 216 int established; /* połączenie ustanowione */ |
217 char *voice_buf; /* bufor na pakiet połączenia głosowego */ | 217 uint8_t *voice_buf; /* bufor na pakiet połączenia głosowego */ |
218 int incoming; /* połączenie przychodzące */ | 218 int incoming; /* połączenie przychodzące */ |
219 char *chunk_buf; /* bufor na kawałek danych */ | 219 char *chunk_buf; /* bufor na kawałek danych */ |
220 uint32_t remote_addr; /* adres drugiej strony */ | 220 uint32_t remote_addr; /* adres drugiej strony */ |
221 uint16_t remote_port; /* port drugiej strony */ | 221 uint16_t remote_port; /* port drugiej strony */ |
222 }; | 222 }; |
365 int gg_send_message_confer_richtext(struct gg_session *sess, int msgclass, int recipients_count, uin_t *recipients, const unsigned char *message, const unsigned char *format, int formatlen); | 365 int gg_send_message_confer_richtext(struct gg_session *sess, int msgclass, int recipients_count, uin_t *recipients, const unsigned char *message, const unsigned char *format, int formatlen); |
366 int gg_send_message_ctcp(struct gg_session *sess, int msgclass, uin_t recipient, const unsigned char *message, int message_len); | 366 int gg_send_message_ctcp(struct gg_session *sess, int msgclass, uin_t recipient, const unsigned char *message, int message_len); |
367 int gg_ping(struct gg_session *sess); | 367 int gg_ping(struct gg_session *sess); |
368 int gg_userlist_request(struct gg_session *sess, char type, const char *request); | 368 int gg_userlist_request(struct gg_session *sess, char type, const char *request); |
369 int gg_image_request(struct gg_session *sess, uin_t recipient, int size, uint32_t crc32); | 369 int gg_image_request(struct gg_session *sess, uin_t recipient, int size, uint32_t crc32); |
370 int gg_image_reply(struct gg_session *sess, uin_t recipient, const char *filename, const char *image, int size); | 370 int gg_image_reply(struct gg_session *sess, uin_t recipient, const char *filename, const unsigned char *image, int size); |
371 | 371 |
372 uint32_t gg_crc32(uint32_t crc, const unsigned char *buf, int len); | 372 uint32_t gg_crc32(uint32_t crc, const unsigned char *buf, int len); |
373 | 373 |
374 struct gg_image_queue { | 374 struct gg_image_queue { |
375 uin_t sender; /* nadawca obrazka */ | 375 uin_t sender; /* nadawca obrazka */ |