/* 
** CDMA 2000 project, SMPP module
**
** File name: public.h
** Written by Li Long at 2004-11-25
** CVS $Id: public.h,v0.1 2004/11/25 17:03:14 lilong Exp $
**
*/
#ifndef	_SMPP_PUBLIC_h
#define	_SMPP_PUBLIC_h


#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/in.h>
#include <arpa/inet.h>

#ifndef	NULL
#define	NULL	0
#endif

#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 _T_BOOL
#define _T_BOOL
typedef int  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

#endif


