forked from necr0potenc3/UOLog_1.2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
UOLog.h
49 lines (39 loc) · 990 Bytes
/
UOLog.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#ifndef _UOLOG_H_
#define _UOLOG_H_
#include <windows.h>
#include <process.h>
#include <richedit.h>
#include <dbghelp.h>
#include <stdio.h>
#include <stdarg.h>
#include <time.h>
#include <ctype.h>
#include <malloc.h>
#include "Logwindow.h"
#include "globals.h"
#include "resource.h"
#include "Debugger.h"
#include "Breakpoint.h"
#include "packets.h"
#include "logger.h"
#define FILTER_MODE_ALL 0
#define FILTER_MODE_INCOMING 1
#define FILTER_MODE_OUTGOING 2
#define FILTER_TYPE_NONE 0
#define FILTER_TYPE_ONLY 1
#define FILTER_TYPE_NOT 2
#define FILTER_HEXLEX 3
#define TYPE_SEND 0
#define TYPE_RECV 1
#define ASSERT_BUF_LEN 500
#define FILTER_BUF_LEN 250
#define MAX_LINE 500
#define check(exp) {if(!exp) _check(__FILE__, __LINE__, #exp); }
void _check(char *file, int line, char *exp);
typedef unsigned char BYTE;
typedef signed char SBYTE;
typedef unsigned short WORD;
typedef signed short SWORD;
typedef unsigned long DWORD;
typedef signed long SDWORD;
#endif /* _UOLOG_H_ */