summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b87b81a)
raw | patch | inline | side by side (parent: b87b81a)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 13 Aug 2006 16:25:00 +0000 (16:25 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 13 Aug 2006 16:25:00 +0000 (16:25 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@875 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd.h | patch | blob | history | |
src/rrd_version.c | patch | blob | history |
diff --git a/src/rrd.h b/src/rrd.h
index 8f4669204b15d826a6ed67c22eebdc671c7bcb95..c3199ef6e1f02da3eed21703eaaafb21f790b6c8 100644 (file)
--- a/src/rrd.h
+++ b/src/rrd.h
time_t rrd_last(int, char **);
time_t rrd_first(int, char **);
int rrd_resize(int, char **);
+char * rrd_strversion(void);
double rrd_version(void);
int rrd_xport(int, char **, int *, time_t *, time_t *,
unsigned long *, unsigned long *,
diff --git a/src/rrd_version.c b/src/rrd_version.c
index 88c50e560231b558ae7939a9b6d780e72fa598a0..7a68ff7e935c29bb84bf471e01890dc9ff1c1ed6 100644 (file)
--- a/src/rrd_version.c
+++ b/src/rrd_version.c
return NUMVERS;
}
+char *
+rrd_strversion(void)
+{
+ return PACKAGE_VERSION;
+}
+