Lely core libraries
2.3.4
co.h
Go to the documentation of this file.
1
21
#ifndef LELY_CO_INTERN_CO_H_
22
#define LELY_CO_INTERN_CO_H_
23
24
#ifdef HAVE_CONFIG_H
25
#include <
config.h
>
26
#endif
27
28
#include <
lely/co/co.h
>
29
30
#if LELY_NO_MALLOC
31
// Disable EDS/DCF support.
32
#undef LELY_NO_CO_DCF
33
#define LELY_NO_CO_DCF 1
34
// Disable static device description support.
35
#undef LELY_NO_CO_SDEV
36
#define LELY_NO_CO_SDEV 1
37
// Disable Wireless Transmission Media (WTM) support.
38
#undef LELY_NO_CO_WTM
39
#define LELY_NO_CO_WTM 1
40
// Disable gateway support.
41
#undef LELY_NO_CO_GW
42
#define LELY_NO_CO_GW 1
43
// Disable ASCII gateway support.
44
#undef LELY_NO_CO_GW_TXT
45
#define LELY_NO_CO_GW_TXT 1
46
#endif // LELY_NO_MALLOC
47
48
#if LELY_NO_STDIO
49
// Disable EDS/DCF support.
50
#undef LELY_NO_CO_DCF
51
#define LELY_NO_CO_DCF 1
52
// Disable UploadFile/DownloadFile support.
53
#undef LELY_NO_CO_OBJ_FILE
54
#define LELY_NO_CO_OBJ_FILE 1
55
// Disable ASCII gateway support.
56
#undef LELY_NO_CO_GW_TXT
57
#define LELY_NO_CO_GW_TXT 1
58
#endif
59
60
#if defined(NDEBUG) || LELY_NO_STDIO || LELY_NO_DIAG
61
#define trace(...)
62
#else
63
#include <
lely/util/diag.h
>
64
#define trace(...) \
65
diag_at(DIAG_DEBUG, 0, &(struct floc){ __FILE__, __LINE__, 0 }, \
66
__VA_ARGS__)
67
#endif
68
69
#endif // !LELY_CO_INTERN_CO_H_
diag.h
co.h
config.h
src
co
co.h
Generated by
1.8.17