X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Flibcollectdclient%2Fcollectd%2Fclient.h;h=b2354ff4f153c20b4042e7b11e9455c2f452863a;hb=3faf514fd9b869cadda0f895e14e5036313c7781;hp=990035381c75d4198cf8fd6e1c202cb9891bf9ea;hpb=8d84ccac5fcd1ba1746b039b870393373a15eb20;p=collectd.git diff --git a/src/libcollectdclient/collectd/client.h b/src/libcollectdclient/collectd/client.h index 99003538..b2354ff4 100644 --- a/src/libcollectdclient/collectd/client.h +++ b/src/libcollectdclient/collectd/client.h @@ -116,6 +116,14 @@ 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); +/* 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_sort_identifiers (lcc_connection_t *c, + lcc_identifier_t *idents, size_t idents_num); + LCC_END_DECLS /* vim: set sw=2 sts=2 et : */