X-Git-Url: https://hackdaworld.org/gitweb/?p=my-code%2Fhdw-sniff.git;a=blobdiff_plain;f=main.h;h=9f4a35055bf02a7a9a83e4d82ec4bd8b7e156989;hp=1628c91352e0ebfdf657aec6a293a731667629ba;hb=48833c4a97516456062f2ee1d9839aa15e74f929;hpb=2f4d587726a2e52de5cd8b8954b4a4f79a5267b8 diff --git a/main.h b/main.h index 1628c91..9f4a350 100644 --- a/main.h +++ b/main.h @@ -37,7 +37,7 @@ #define MESSAGE_MAX 64 #define CHANNEL_MAX 13 #define MAX_DEV_CHARS 6 -#define MAX_SYSCALL_CHARS 64 +#define MAX_SYSCALL_CHARS 128 #define HDW_SNIFF_MAX_WIDTH 80 #define HDW_SNIFF_MAX_HEIGHT 8 @@ -63,10 +63,16 @@ #define MAX_BYTE_WEP 13 /* maximal 104 bit key */ +#define VIEW_ALL 0x00 +#define VIEW_SINGLE 0x01 + /* type definitions */ typedef struct s_info { t_event event; t_display display; + char *clean_line; + int c_line,c_page; + unsigned char view; t_input input; int count; /* count packages */ int count_m;