summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a4106d5)
raw | patch | inline | side by side (parent: a4106d5)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 11 Jun 2010 15:31:12 +0000 (15:31 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 11 Jun 2010 15:31:12 +0000 (15:31 +0000) |
program/NEWS | patch | blob | history | |
program/src/librrd.sym.in.in | patch | blob | history | |
program/src/rrd.h | patch | blob | history | |
program/src/rrd_update.c | patch | blob | history |
diff --git a/program/NEWS b/program/NEWS
index 985b7f46712e7cd752561a062ec7f461c43601fc..16742f2fb2e3352cf3901d9f17622678c732b376 100644 (file)
--- a/program/NEWS
+++ b/program/NEWS
* New FETCH command allowing rrd_fetch to operate through the daemon and
thus work remotely. By Florian Forster
-
+API
+---
+* exported rrd_update_v_r for theadsave rrd_update calls
#####################################
index 3d63281859f59bf742118e5a1a40f070067a9aa1..9a8f7f95624a5b93e66f238a531279a0de8acd34 100644 (file)
rrd_update
rrd_update_r
rrd_update_v
+rrd_update_v_r
rrd_version
rrd_write
rrd_xport
diff --git a/program/src/rrd.h b/program/src/rrd.h
index 28a50d7bf18e2532965bff032fcb4a9c56591d89..91bf660b4936679c36459653a921c7b61a62fe31 100644 (file)
--- a/program/src/rrd.h
+++ b/program/src/rrd.h
const char **argv);
rrd_info_t *rrd_info_r(
char *);
-/* NOTE: rrd_update_r are only thread-safe if no at-style time
- specifications get used!!! */
+/* NOTE: rrd_update_r and rrd_update_v_r are only thread-safe if no at-style
+ time specifications get used!!! */
int rrd_update_r(
const char *filename,
const char *_template,
int argc,
const char **argv);
+ int rrd_update_v_r(
+ const char *filename,
+ const char *_template,
+ int argc,
+ const char **argv,
+ rrd_info_t * pcdp_summary);
int rrd_fetch_r (
const char *filename,
const char *cf,
index 0335a9ef27670a37e1e10675ac3281dac8f9d710..110162705ddc7e0760a9c8ba0c5f44d68f37a271 100644 (file)
--- a/program/src/rrd_update.c
+++ b/program/src/rrd_update.c
return _rrd_update(filename, tmplt, argc, argv, NULL);
}
+int rrd_update_v_r(
+ const char *filename,
+ const char *tmplt,
+ int argc,
+ const char **argv,
+ rrd_info_t * pcdp_summary)
+{
+ return _rrd_update(filename, tmplt, argc, argv, pcdp_summary);
+}
+
int _rrd_update(
const char *filename,
const char *tmplt,