-
Notifications
You must be signed in to change notification settings - Fork 0
/
libex_const.h
executable file
·56 lines (41 loc) · 2.06 KB
/
libex_const.h
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
/* -------------------------------------------------------------------------- */
/* (c) ali@balarabe.com [libex_const.h] */
/* -------------------------------------------------------------------------- */
#if !defined INCLUDED_LIBEX_CONST_H
#define INCLUDED_LIBEX_CONST_H
#if !defined NULL
#define NULL 0x00
#endif
/* -------------------------------------------------------------------------- */
/* Numeric Constants: */
#define LX_MILLION 1000000
#define LX_NONE UINT_MAX
/* -------------------------------------------------------------------------- */
/* String Constants: */
#define LX_ASCII_CHARS _T("!\"#$%&'()*+,-. /") \
_T("0123456789") \
_T(":;<=>?@") \
_T("ABCDEFGHIJKLMNOPQRSTUVWXYZ") \
_T("[\\]^_\x60") \
_T("abcdefghijklmnopqrstuvwxyz") \
_T("{|}~") /*#*/
#define LX_ASCII_CHARS_A "!\"#$%&'()*+,-. /" \
"0123456789" \
":;<=>?@" \
"ABCDEFGHIJKLMNOPQRSTUVWXYZ" \
"[\\]^_\x60" \
"abcdefghijklmnopqrstuvwxyz" \
"{|}~" /*#*/
#define LX_BASE64_DIGITS_A \
"ABCDEFGHIJKLMNOPQRSTUVWXYZ" \
"abcdefghijklmnopqrstuvwxyz" \
"0123456789+/" /*#*/
#define LX_BLANK _T("")
#define LX_ERR_TEXT _T("error\b")
#define LX_NL _T("\r\n")
#define LX_TT _T("\a\b\f\v")
/* Text terminator. Used in various functions such as lx_T_join() */
/* to indicate the end of a variable-argument list of strings. */
/* (\a = bell, \b = backspace, \f = formfeed, \v = vertical tab) */
#define LX_WHITESPACES _T(" \a\b\f\n\r\t\v")
#endif /*eof*/