Idź do dokumentacji tego pliku.
20 #ifndef __EKG_PLUGINS_H
21 #define __EKG_PLUGINS_H
26 #include <sys/types.h>
36 #define EKG_ABI_VER 5798
38 #define EXPORT __attribute__ ((visibility("default"))) G_MODULE_EXPORT
56 #define PLUGIN_VAR_ADD(name, type, value, secret, notify) { name, value, secret, type, notify, NULL }
57 #define PLUGIN_VAR_ADD_MAP(name, type, value, secret, notify, map) { name, value, secret, type, notify, map }
58 #define PLUGIN_VAR_END() { NULL, NULL, 0, -1, NULL }
60 #define PLUGIN_CHECK_VER(name) { if (!plugin_abi_version(EKG_ABI_VER, name)) return -1; }
94 #ifndef EKG2_WIN32_NOFUNCTION
109 #ifdef USINGANANTIQUECOMPILER
110 #define PLUGIN_DEFINE(x, y, z)\
111 static int x##_plugin_destroy(); \
113 plugin_t x##_plugin = { \
118 x##_plugin_destroy, \
123 #define PLUGIN_DEFINE(x, y, z)\
124 static int x##_plugin_destroy(); \
126 plugin_t x##_plugin = { \
129 .destroy = x##_plugin_destroy, \
134 #define QUERY(x) int x(void *data, va_list ap)
138 #define QUERIES_BUCKETS 64
161 #ifndef EKG2_WIN32_NOFUNCTION