Idź do dokumentacji tego pliku.
31 #include <sys/types.h>
33 #define GG_PACKED __attribute__ ((packed))
41 #define GG_RECV_MSG 0x000a
50 #define GG_SEND_MSG 0x000b
58 #define GG_WELCOME 0x0001
63 #define GG_SEND_MSG_ACK 0x0005
70 #define GG_PING 0x0008
71 #define GG_PONG 0x0007
73 #define GG_STATUS 0x0002
80 #define GG_NEW_STATUS 0x0002
86 #define GG_LOGIN_OK 0x0003
87 #define GG_LIST_EMPTY 0x0012
89 #define GG_STATUS60 0x000f
102 #define GG_NEED_EMAIL 0x0014
104 #define GG_LOGIN60 0x0015
121 #define GG_ADD_NOTIFY 0x000d
122 #define GG_REMOVE_NOTIFY 0x000e
129 #define GG_NOTIFY_REPLY60 0x0011
138 unsigned char next[];
141 #define GG_NOTIFY_FIRST 0x000f
142 #define GG_NOTIFY_LAST 0x0010
144 #define GG_NOTIFY 0x0010
152 #define GG_LOGIN70 0x19
153 #define GG_LOGIN_HASH_GG32 0x01
154 #define GG_LOGIN_HASH_SHA1 0x02
172 #define GG_USERLIST_REPLY 0x0010
178 #define GG_USERLIST_REQUEST 0x0016
185 #define GG_PUBDIR50_REQUEST 0x0014
193 #define GG_PUBDIR50_REPLY 0x000e
201 #define GG_DISCONNECTING 0x000b
203 #define GG_STATUS77 0x17
216 #define GG_NOTIFY_REPLY77 0x0018
226 unsigned char next[];
229 #define GG_DCC_ACCEPT 0x21
233 unsigned char code1[8];
238 #define GG_DCC7_REJECT 0x22
241 unsigned char code1[8];
246 #define GG_DCC7_FILENAME_LEN 255
248 #define GG_DCC7_NEW 0x20
250 unsigned char code1[8];
257 unsigned char hash[20];
260 #define GG_DCC7_ID_REQUEST 0x23
266 #define GG_DCC7_ID_REPLY 0x23
270 unsigned char code1[8];
273 #define GG_DCC7_TYPE_VOICE 0x00000001
274 #define GG_DCC7_TYPE_FILE 0x00000004
276 #define GG_SEND_MSG80 0x002d
294 #define GG_RECV_MSG80 0x002e
313 #define GG_STATUS_NOT_AVAIL 0x0001
314 #define GG_STATUS_NOT_AVAIL_DESCR 0x0015
315 #define GG_STATUS_AVAIL 0x0002
316 #define GG_STATUS_AVAIL_DESCR 0x0004
317 #define GG_STATUS_BUSY 0x0003
318 #define GG_STATUS_BUSY_DESCR 0x0005
319 #define GG_STATUS_INVISIBLE 0x0014
320 #define GG_STATUS_INVISIBLE_DESCR 0x0016
321 #define GG_STATUS_BLOCKED 0x0006
323 #define GG_STATUS_FRIENDS_MASK 0x8000
324 #define GG_STATUS_VOICE_MASK 0x20000
326 #define GG_USERLIST_PUT 0x00
327 #define GG_USERLIST_PUT_MORE 0x01
328 #define GG_USERLIST_GET 0x02
330 #define GG_USERLIST_PUT_REPLY 0x00
331 #define GG_USERLIST_PUT_MORE_REPLY 0x02
332 #define GG_USERLIST_GET_REPLY 0x06
333 #define GG_USERLIST_GET_MORE_REPLY 0x04
335 #define GG_PUBDIR50_WRITE 0x01
336 #define GG_PUBDIR50_READ 0x02
337 #define GG_PUBDIR50_SEARCH_REQUEST 0x03
338 #define GG_PUBDIR50_SEARCH_REPLY 0x05
340 #define GG_PUBDIR50_UIN "FmNumber"
341 #define GG_PUBDIR50_STATUS "FmStatus"
342 #define GG_PUBDIR50_FIRSTNAME "firstname"
343 #define GG_PUBDIR50_LASTNAME "lastname"
344 #define GG_PUBDIR50_NICKNAME "nickname"
345 #define GG_PUBDIR50_BIRTHYEAR "birthyear"
346 #define GG_PUBDIR50_CITY "city"
347 #define GG_PUBDIR50_GENDER "gender"
348 #define GG_PUBDIR50_ACTIVE "ActiveOnly"
349 #define GG_PUBDIR50_START "fmstart"
350 #define GG_PUBDIR50_FAMILYNAME "familyname"
351 #define GG_PUBDIR50_FAMILYCITY "familycity"
353 #define GG_ACK_BLOCKED 0x0001
354 #define GG_ACK_DELIVERED 0x0002
355 #define GG_ACK_QUEUED 0x0003
356 #define GG_ACK_MBOXFULL 0x0004
357 #define GG_ACK_NOT_DELIVERED 0x0006