From: oetiker Date: Sat, 16 Dec 2006 16:11:46 +0000 (+0000) Subject: move headers around to make more sense X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1477e5e426e63a1e50cc68070129d839b58efa5a;p=rrdtool.git move headers around to make more sense git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@936 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd.h b/src/rrd.h index c3199ef..4c2c14b 100644 --- a/src/rrd.h +++ b/src/rrd.h @@ -84,6 +84,7 @@ int rrd_create_r(char *filename, int argc, char **argv); /* NOTE: rrd_update_r are only thread-safe if no at-style time specifications get used!!! */ + int rrd_update_r(char *filename, char *_template, int argc, char **argv); int rrd_dump_r(const char *filename, char *outname); @@ -105,6 +106,9 @@ struct rrd_time_value { struct tm tm; }; +char *parsetime(const char *spec, struct rrd_time_value *ptv); +/* END parsetime.h */ + struct rrd_context { int len; int errlen; @@ -115,8 +119,6 @@ struct rrd_context { /* returns the current per-thread rrd_context */ struct rrd_context *rrd_get_context(void); -char *parsetime(const char *spec, struct rrd_time_value *ptv); -/* END parsetime.h */ int proc_start_end (struct rrd_time_value *, struct rrd_time_value *, time_t *, time_t *);