X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Flibcollectdclient%2Fclient.h;h=b0d092d0d8c9ab3534249242279a1c43f43f94fd;hb=b6d95bf9f5713c62286851c1782ac95b2eb2fa21;hp=d5371fb2a20f8f6a1c80b3401fefb0b69f02aeab;hpb=98062438c25226e2e4a28ab629de5dfa27a79913;p=collectd.git diff --git a/src/libcollectdclient/client.h b/src/libcollectdclient/client.h index d5371fb2..b0d092d0 100644 --- a/src/libcollectdclient/client.h +++ b/src/libcollectdclient/client.h @@ -42,16 +42,22 @@ */ #define LCC_TYPE_COUNTER 0 #define LCC_TYPE_GAUGE 1 +#define LCC_TYPE_DERIVE 2 +#define LCC_TYPE_ABSOLUTE 3 LCC_BEGIN_DECLS typedef uint64_t counter_t; typedef double gauge_t; +typedef uint64_t derive_t; +typedef uint64_t absolute_t; union value_u { counter_t counter; gauge_t gauge; + derive_t derive; + absolute_t absolute; }; typedef union value_u value_t;