tools/daemon/smud.h
author David Anderson <dvander@alliedmods.net>
Wed Feb 25 20:07:12 2009 -0500 (2009-02-25)
changeset 2607 f3b8bbe17f85
parent 2462 6040047a9da1
permissions -rw-r--r--
Backed out changeset fa286305bd3f
     1 #ifndef _INCLUDE_SMUD_MAIN_H_
     2 #define _INCLUDE_SMUD_MAIN_H_
     3 
     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>
    16 
    17 #define closesocket close
    18 
    19 #define NUM_FILES 6
    20 
    21 extern char fileNames[NUM_FILES][30];
    22 extern void *fileLocations[NUM_FILES];
    23 extern int fileLength[NUM_FILES];
    24 
    25 #endif //_INCLUDE_SMUD_MAIN_H_