-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathincludes.h
More file actions
136 lines (130 loc) · 6.08 KB
/
includes.h
File metadata and controls
136 lines (130 loc) · 6.08 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
#ifndef __includes_h__
#define __includes_h__
#include <execinfo.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#include <unistd.h>
#include <pthread.h>
#include <time.h>
#include <signal.h>
#include <dlfcn.h>
#include <pthread.h>
#include <sys/time.h>
#include <sys/timeb.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <sys/stat.h>
#include <errno.h>
#include <ctype.h>
#include <signal.h>
#include <math.h>
#include <sys/resource.h>
#include <sys/ioctl.h>
#include <sys/file.h>
#include <net/if.h>
#include <sys/ioctl.h>
#include <net/if_arp.h>
#include <arpa/inet.h>
#include <ctype.h>
#include <dirent.h>
//#include <mysql/mysql.h>
#include<netdb.h>
#include<netinet/udp.h>
#include<netinet/tcp.h>
#include<netinet/ip.h>
#include<sys/socket.h>
#include<net/if.h>
#include<net/ethernet.h>
#include<netinet/in.h>
#include<sys/ioctl.h>
#include<sys/ipc.h>
#define TCP_SOCKET_WRITE_BUFFER_SIZE 1024*1024*10
#define TCP_SOCKET_READ_BUFFER_SIZE 1024*1024*10
#define SINGLE_QUOTE '\''
#define DOUBLE_QUOTE '"'
#define OPEN_XML_BRACKET '<'
#define CLOSE_XML_BRACKET '>'
#define WHITE_SPACE ' '
#define EQUAL_SIGN '='
#define QUESTION_MARK '?'
#define SLASH '\\'
#define SLASH_N '\n'
#define SLASH_R '\r'
#define SLASH_T '\t'
#define BACK_SLASH '/'
#define CLOSE_XML_BRACKET_WITH_SLASH "</"
#define CLOSE_XML_BRACKET_WITH_BACK_SLASH "/>"
#define XML_QUESTION_MARK_OPEN_TAG "<?"
#define XML_QUESTION_MARK_CLOSE_TAG "?>"
#define XML_TAG_NAME_SIZE 1024
#define CLOUDARCHITECTURE 'A'
#define CLOUDNODE 'N'
#define CLOUDNETWORK 'L'
#define CLOUDIMAGEFORMAT 'F'
#define CLOUDIMAGE 'I'
#define CLOUDNODEDEPOT 'D'
#define CLOUDVMPROFILE 'P'
#define CLOUDTERMINATE 'T'
#define CLOUDINSTANCEMANAGER 'S'
#define CLOUDINSTANCE 's'
#define CLOUDNETWORKMANAGER 'N'
#define CLOUDHTTPFILE 'H'
#define CLOUDINSTANCEVIRTUALINTERFACE 'V'
#define CLOUDDISK 'K'
#define CLOUDADMINISTRATOR 'M'
#define CLOUDADMINISTRATORSGROUP 'G'
#define CLOUDADMINISTRATORGROUPSUBSCRIPTION 'a'
#define CLOUDADMINISTARTORRESOURCEPRIVILEGE 'r'
#define SQLQUERY_INSERT 'I'
#define SQLQUERY_UPDATE 'U'
#define SQLQUERY_SELECT 'S'
#define SQLQUERY_DELETE 'D'
#define SQLQUERY_CUSTOM 'C'
#define SQLQUERY_ADD_FORM 'A'
#define SQLQUERY_MODIFY_FORM 'M'
#define XMALIZE 'X'
#define TEXTALIZE 'T'
#define LOG_NOTICE 1
#define LOG_WARNING 1
#define LOG_ERROR 1
#define RAW_SOCKET_BUFFER_SIZE 65536
#define SOCKET_READ_BUFFER_SIZE 1024*1024*10
#define SOCKET_WRITE_BUFFER_SIZE 1024*1024*10
#define TCP_SOCKET_WRITE_BUFFER_SIZE 1024*1024*10
#define TCP_SOCKET_READ_BUFFER_SIZE 1024*1024*10
#define MULTICAST_GROUP_PORT 3333
#define USER_MULTICAST_GROUP_PORT 4444
#define MULTICAST_PACKET_SIZE 8000
#define BAG_WAIT 10
#define MINIMUM_WRITE_WAIT 100
#define SECONDARY_WRITE_WAIT_DELTA 100
#define WRITE_WAIT_DELTA 1000
#define INITIAL_WRITE_WAIT 1
#define MAX_CONSTELLATION_SIZE 60
#define PAGE_RENDER_MODE_FLATTENED 100
#define PAGE_RENDER_MODE_NOT_FLATTENED 200
#define PAGE_RENDER_MODE_BOTH 300
#define MAX_LOOP 10000
#define STRING_NODE_TYPE 'S'
#define SHORT_NODE_TYPE 'H'
#define INTEGER_NODE_TYPE 'I'
#define LONG_NODE_TYPE 'l'
#define FLOAT_NODE_TYPE 'F'
#define DOUBLE_NODE_TYPE 'D'
#define CHAR_NODE_TYPE 'C'
#define BOOL_NODE_TYPE 'B'
#define BYTE_NODE_TYPE 'Y'
#define LIST_NODE_TYPE 'L'
#define XML_NODE_TYPE 'X'
#define VOID_NODE_TYPE 'V'
#define SERVICE_NODE_TYPE 's'
#define SHARED_LIB_NODE_TYPE 'r'
#endif
//~ Formatted by Jindent --- http://www.jindent.com