comparison src/protocols/gg/libgg.h @ 8160:a0b7039de507

[gaim-migrate @ 8872] "I figured out that the GG servers have changed and that made GG disconnect all the time. Here comes the (very simple) patch to fix that." -- Ignacy Gawedzki committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Wed, 21 Jan 2004 05:34:32 +0000
parents 5239a3b4ab33
children ce90b119b103
comparison
equal deleted inserted replaced
8159:e1e871897a4b 8160:a0b7039de507
1 /* $Id: libgg.h 6513 2003-07-08 06:11:49Z faceprint $ */ 1 /* $Id: libgg.h 8872 2004-01-21 05:34:32Z lschiere $ */
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 *
376 void gg_read_line(int sock, char *buf, int length); 376 void gg_read_line(int sock, char *buf, int length);
377 void gg_chomp(char *line); 377 void gg_chomp(char *line);
378 char *gg_urlencode(const char *str); 378 char *gg_urlencode(const char *str);
379 int gg_http_hash(const unsigned char *email, const unsigned char *password); 379 int gg_http_hash(const unsigned char *email, const unsigned char *password);
380 380
381 #define GG_APPMSG_HOST "appmsg.gadu-gadu.pl" 381 #define GG_APPMSG_HOST "appmsg.gadugadu.pl"
382 #define GG_APPMSG_PORT 80 382 #define GG_APPMSG_PORT 80
383 #define GG_PUBDIR_HOST "pubdir.gadu-gadu.pl" 383 #define GG_PUBDIR_HOST "pubdir.gadugadu.pl"
384 #define GG_PUBDIR_PORT 80 384 #define GG_PUBDIR_PORT 80
385 #define GG_REGISTER_HOST "register.gadu-gadu.pl" 385 #define GG_REGISTER_HOST "register.gadugadu.pl"
386 #define GG_REGISTER_PORT 80 386 #define GG_REGISTER_PORT 80
387 #define GG_DEFAULT_PORT 8074 387 #define GG_DEFAULT_PORT 8074
388 #define GG_HTTPS_PORT 443 388 #define GG_HTTPS_PORT 443
389 #define GG_HTTP_USERAGENT "Mozilla/4.7 [en] (Win98; I)" 389 #define GG_HTTP_USERAGENT "Mozilla/4.0 (compatible MSIE 5.0; Windows 98; I)"
390 390
391 struct gg_header { 391 struct gg_header {
392 unsigned long type; /* typ pakietu */ 392 unsigned long type; /* typ pakietu */
393 unsigned long length; /* długość reszty pakietu */ 393 unsigned long length; /* długość reszty pakietu */
394 } 394 }