libcollectdclient: Added LCC_{BEGIN,END}_DECLS macros.
[collectd.git] / src / libcollectdclient / client.h
index 41fe8d7..d5371fb 100644 (file)
@@ -22,6 +22,8 @@
 #ifndef LIBCOLLECTD_COLLECTDCLIENT_H
 #define LIBCOLLECTD_COLLECTDCLIENT_H 1
 
+#include "lcc_features.h"
+
 /*
  * Includes (for data types)
  */
@@ -41,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;
 
@@ -104,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 */