ekg2  GIT master
sniff_rivchat.h
Idź do dokumentacji tego pliku.
1 /* structs and magic values copied from http://akolacz.googlepages.com/RivChat-specyfikacja.PDF
2  * copyright by Arkadiusz Kolacz
3  */
4 
5 typedef struct {
6  char header[11];
7  int size;
8  int fromid;
9  int toid;
10  char nick[30];
11  int type;
12  char data[256]; /* or RCINFO */
13  unsigned char format[10];
15 
16 typedef struct {
17  char host[50];
18  char os[20];
19  char prog[18];
20  char version[2];
21  char away;
22  char master;
23  int slowa;
24  char user[32];
25  char kod;
26  char plec;
27  int online;
29  char pisze;
31 
32 #define RIVCHAT_MESSAGE 0x00
33 #define RIVCHAT_INIT 0x01
34 #define RIVCHAT_QUIT 0x03
35 #define RIVCHAT_ME 0x04
36 #define RIVCHAT_PING 0x05
37 #define RIVCHAT_AWAY 0x09
38 #define RIVCHAT_PINGAWAY 0x13
char away
Definition: sniff_rivchat.h:21
int type
Definition: sniff_rivchat.h:11
Definition: ekg_hash_benchmark.c:47
char plec
Definition: sniff_rivchat.h:26
char master
Definition: sniff_rivchat.h:22
int fromid
Definition: sniff_rivchat.h:8
char kod
Definition: sniff_rivchat.h:25
int size
Definition: sniff_rivchat.h:7
int online
Definition: sniff_rivchat.h:27
int toid
Definition: sniff_rivchat.h:9
Definition: sniff_rivchat.h:16
Definition: sniff_rivchat.h:5
char pisze
Definition: sniff_rivchat.h:29
char filetransfer
Definition: sniff_rivchat.h:28
int slowa
Definition: sniff_rivchat.h:23