| author | Matt Woodrow <pred@alliedmods.net> |
| Fri Dec 12 23:20:35 2008 -0500 (2008-12-12) | |
| changeset 2462 | 6040047a9da1 |
| parent 2129 | 11d73bf97119 |
| permissions | -rw-r--r-- |
1 #ifndef _INCLUDE_SMUD_MAIN_H_
2 #define _INCLUDE_SMUD_MAIN_H_
4 #include <stdio.h>
5 #include <sys/mman.h>
6 #include <sys/stat.h>
7 #include <pthread.h>
8 #include <unistd.h>
9 #include <sys/types.h>
10 #include <sys/socket.h>
11 #include <netinet/in.h>
12 #include <netdb.h>
13 #include <arpa/inet.h>
14 #include <fcntl.h>
15 #include <errno.h>
17 #define closesocket close
19 #define NUM_FILES 6
21 extern char fileNames[NUM_FILES][30];
22 extern void *fileLocations[NUM_FILES];
23 extern int fileLength[NUM_FILES];
25 #endif //_INCLUDE_SMUD_MAIN_H_