ekg2
plugins/icq/icq_flap_handlers.h
Idź do dokumentacji tego pliku.
00001 #ifndef __ICQ_FLAP_H
00002 #define __ICQ_FLAP_H
00003 
00004 #include <stdint.h>
00005 
00006 #include <ekg/sessions.h>
00007 #include <ekg/dynstuff.h>
00008 
00009 void icq_makeflap(session_t *s, string_t pkt, uint8_t cmd);
00010 int icq_flap_handler(session_t *s, string_t buffer);
00011 int icq_flap_close_helper(session_t *s, unsigned char *buf, int len);
00012 
00013 typedef struct {
00014         uint8_t unique;         /* 0x2A */
00015         uint8_t cmd;
00016         uint16_t id;
00017         uint16_t len;
00018         unsigned char *data;
00019 } flap_packet_t;
00020 #define FLAP_PACKET_LEN 6
00021 
00022 #endif
 All Struktury Danych Pliki Funkcje Zmienne Definicje typów Wyliczenia Wartości wyliczeń Definicje