aboutsummaryrefslogtreecommitdiff
path: root/src/libparsec/include/general.h
blob: 33e5853faae14b72d677b34ef7e6a8614dfa209d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/*
 * PARSEC HEADER: general.h
 */

#ifndef _GENERAL_H_
#define _GENERAL_H_


// include type definitions ---------------------------------------------------
//
#include "gd_type.h"
#include "gd_color.h"


// include limits -------------------------------------------------------------
//
#include "gd_limit.h"


// include global constants ---------------------------------------------------
//
#include "gd_const.h"
#ifdef PARSEC_CLIENT
	#include "gd_bmap.h"
	#include "gd_font.h"
#endif // PARSEC_CLIENT


// include host byte order macros ---------------------------------------------
//
#include "gd_host.h"

// include general utility functions/classes ----------------------------------
//
#include "utl_list.h"


// include helper functions ---------------------------------------------------
//
#include "gd_help.h"


// include message output functions -------------------------------------------
//
#ifdef PARSEC_CLIENT
	#include "sys_msg.h"
#elif defined ( PARSEC_SERVER ) // !PARSEC_CLIENT
	#include "sys_msg_sv.h"
#endif // !PARSEC_CLIENT



// include error functions and define exit function macros --------------------
//
#ifdef PARSEC_CLIENT
	#include "sys_err.h"
#elif defined ( PARSEC_SERVER ) // !PARSEC_CLIENT
	#include "sys_err_sv.h"
#endif // !PARSEC_CLIENT

#ifndef SYSTEM_TARGET_WINDOWS
	// implemented in SL_MAIN.C
	int stricmp( const char *s1, const char *s2 );
	int strnicmp( const char *s1, const char *s2, int len );
	char *strlwr( char *str );
	char *strupr( char *str );
#elif !defined(__MINGW32__)
#include <BaseTsd.h>
#define ssize_t SSIZE_T
#define strtok_r strtok_s
#endif

#endif // _GENERAL_H_