diff --git a/src/common.h b/src/common.h
index f6a8e19a68843b71acec79896d5592dc41e244ad..6cf866773fbc8f88283e7887dee989fda7c0d17a 100644 (file)
--- a/src/common.h
+++ b/src/common.h
*
* DESCRIPTION
* Reads exactly `n' bytes or failes. Syntax and other behavior is analogous
*
* DESCRIPTION
* Reads exactly `n' bytes or failes. Syntax and other behavior is analogous
- * to `read(2)'.
+ * to `read(2)'. If EOF is received the file descriptor is closed and an
+ * error is returned.
*
* PARAMETERS
* `fd' File descriptor to write to.
*
* PARAMETERS
* `fd' File descriptor to write to.
/* FIXME: `timeval_sub_timespec' needs a description */
int timeval_sub_timespec (struct timeval *tv0, struct timeval *tv1, struct timespec *ret);
/* 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
#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 */
#endif /* COMMON_H */