projects
/
cilux
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
first import of old cilux linux platform code
[cilux]
/
src
/
platform
/
linux
/
platform.h
1
#ifndef LINUX_PLATFORM_H
2
#define LINUX_PLATFORM_H
3
4
#include <string.h>
5
#include <malloc.h>
6
#include <stdio.h>
7
#include <stdlib.h>
8
#include <ctype.h>
9
#include <time.h>
10
#include <sys/socket.h>
11
#include <netinet/in.h>
12
#include <netinet/tcp.h>
13
#include <arpa/inet.h>
14
15
#define MMAPSIZE (128*1024)
16
17
#ifndef PUBLIC
18
#define PUBLIC extern
19
#endif
20
#define EXPORT
21
22
#define CONSOLE void*
23
#define C_RUN_RV int
24
#define C_RUN_ARG void*
25
26
#endif
27