ekg2
 All Struktury Danych Pliki Funkcje Zmienne Definicje typów Wyliczenia Wartości wyliczeń Definicje Grupay Strony
icq_flap_handlers.h
Idź do dokumentacji tego pliku.
1 #ifndef __ICQ_FLAP_H
2 #define __ICQ_FLAP_H
3 
4 #include <stdint.h>
5 
6 #include <ekg/sessions.h>
7 #include <ekg/dynstuff.h>
8 
9 void icq_makeflap(session_t *s, string_t pkt, uint8_t cmd);
11 int icq_flap_close_helper(session_t *s, unsigned char *buf, int len);
12 
13 typedef struct {
14  uint8_t unique; /* 0x2A */
15  uint8_t cmd;
16  uint16_t id;
17  uint16_t len;
18  unsigned char *data;
20 #define FLAP_PACKET_LEN 6
21 
22 #endif