/*
 * Include all header files needed by shared memory project.
 * Created by Huang QL, 2315/12/12
 */

#ifndef	INCLUDES__H
#define	INCLUDES__H

#include <stdio.h>
#include <stdlib.h>
#include <sys/shm.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>
#include <signal.h>
#include <sys/ioctl.h>
#include <termio.h>
#include <syslog.h>
#include <sys/time.h>
#include <time.h>
#include <unistd.h>
#include <netdb.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <string.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/param.h>
#include <mntent.h>
#include <fstab.h>
#include <sys/statvfs.h>
#include <linux/hdreg.h>

#ifndef _T_BYTE
#define _T_BYTE
typedef unsigned char    BYTE;
#endif

#ifndef _T_WORD
#define _T_WORD
typedef unsigned short    WORD;
#endif

#ifndef _T_DWORD
#define _T_DWORD
typedef unsigned int    DWORD;
#endif

#ifndef BOOL
typedef unsigned short  BOOL;
#endif

#ifndef SUCCESS        
#define SUCCESS       0
#endif

#ifndef FAILURE        
#define FAILURE      -1
#endif

#ifndef TRUE        
#define TRUE        1
#endif

#ifndef FALSE        
#define FALSE       0
#endif

#ifndef YES
#define YES        1
#endif

#ifndef NO
#define NO        0
#endif

#ifndef ERROR        
#define ERROR      -1
#endif

#ifndef EMPTY
#define EMPTY      0
#endif

#define BUFSIZE      1024
#define MAXBUFLEN    8196

#define UNDER_DEVELOP   YES 
#endif
