X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fcommon.h;h=6cf866773fbc8f88283e7887dee989fda7c0d17a;hb=ec6fec62b15992b22774233c6a915e46673b25af;hp=2be2ff504b84f58276bc3304ef5696c5623ec52d;hpb=6f7f9185a4b85b442d26821b5df8742466d2e682;p=collectd.git diff --git a/src/common.h b/src/common.h index 2be2ff50..6cf86677 100644 --- a/src/common.h +++ b/src/common.h @@ -145,12 +145,14 @@ int escape_slashes (char *buf, int buf_len); /* FIXME: `timeval_sub_timespec' needs a description */ int timeval_sub_timespec (struct timeval *tv0, struct timeval *tv1, struct timespec *ret); -int rrd_update_file (char *host, char *file, char *values, - char **ds_def, int ds_num); +int check_create_dir (const char *file_orig); #ifdef HAVE_LIBKSTAT int get_kstat (kstat_t **ksp_ptr, char *module, int instance, char *name); long long get_kstat_value (kstat_t *ksp, char *name); #endif +unsigned long long ntohll (unsigned long long n); +unsigned long long htonll (unsigned long long n); + #endif /* COMMON_H */