X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Flibcollectdclient%2Fclient.h;h=d5371fb2a20f8f6a1c80b3401fefb0b69f02aeab;hb=2dfe59bc808f1b58226c752511318ebe9f78e34e;hp=a0ab94c7ed9d99318a66c7e68b9b9cfcaabc2685;hpb=98fef31471541485002b5b87afa8991a280190d6;p=collectd.git diff --git a/src/libcollectdclient/client.h b/src/libcollectdclient/client.h index a0ab94c7..d5371fb2 100644 --- a/src/libcollectdclient/client.h +++ b/src/libcollectdclient/client.h @@ -22,6 +22,8 @@ #ifndef LIBCOLLECTD_COLLECTDCLIENT_H #define LIBCOLLECTD_COLLECTDCLIENT_H 1 +#include "lcc_features.h" + /* * Includes (for data types) */ @@ -32,7 +34,6 @@ /* * Defines */ -#define LCC_VERSION 0 #define LCC_NAME_LEN 64 #define LCC_DEFAULT_PORT "25826" @@ -42,6 +43,8 @@ #define LCC_TYPE_COUNTER 0 #define LCC_TYPE_GAUGE 1 +LCC_BEGIN_DECLS + typedef uint64_t counter_t; typedef double gauge_t; @@ -105,5 +108,7 @@ int lcc_identifier_to_string (lcc_connection_t *c, int lcc_string_to_identifier (lcc_connection_t *c, lcc_identifier_t *ident, const char *string); +LCC_END_DECLS + /* vim: set sw=2 sts=2 et : */ #endif /* LIBCOLLECTD_COLLECTDCLIENT_H */