X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Flibcollectdclient%2Fcollectd%2Fclient.h;h=ac26b848e0cbec863f21aaf59a34cef495a0cc2f;hb=005a70ad7863229b8c60e8ca83b67e89dfb05ad0;hp=146f34246fcf9b0475fe21abc63b4f3523fd1183;hpb=499cbd1605850e0feca405fb2579064d330eea8f;p=collectd.git diff --git a/src/libcollectdclient/collectd/client.h b/src/libcollectdclient/collectd/client.h index 146f3424..ac26b848 100644 --- a/src/libcollectdclient/collectd/client.h +++ b/src/libcollectdclient/collectd/client.h @@ -84,8 +84,8 @@ struct lcc_value_list_s value_t *values; int *values_types; size_t values_len; - time_t time; - int interval; + double time; + double interval; lcc_identifier_t identifier; }; typedef struct lcc_value_list_s lcc_value_list_t; @@ -124,8 +124,8 @@ int lcc_string_to_identifier (lcc_connection_t *c, /* Compares the identifiers "i0" and "i1" and returns less than zero or greater * than zero if "i0" is smaller than or greater than "i1", respectively. If * "i0" and "i1" are identical, zero is returned. */ -int lcc_identifier_compare (const lcc_identifier_t *i0, - const lcc_identifier_t *i1); +int lcc_identifier_compare (const void *i0, + const void *i1); int lcc_sort_identifiers (lcc_connection_t *c, lcc_identifier_t *idents, size_t idents_num);