summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9fe4a75)
raw | patch | inline | side by side (parent: 9fe4a75)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 26 May 2009 15:24:26 +0000 (15:24 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 26 May 2009 15:24:26 +0000 (15:24 +0000) |
diff --git a/bindings/lua/rrdlua.c b/bindings/lua/rrdlua.c
index 2060f3bf62bf3c77fb875c1e01124785444fe506..a73318409d993301c50d18949f402a0acc45d8df 100644 (file)
--- a/bindings/lua/rrdlua.c
+++ b/bindings/lua/rrdlua.c
}
static int
-lua_rrd_flush(lua_State *L)
+lua_rrd_flushcached(lua_State *L)
{
- return rrd_common_call(L, "flush", rrd_cmd_flush);
+ return rrd_common_call(L, "flushcached", rrd_flushcached);
}
#if defined(DINF)
{"restore", lua_rrd_restore},
{"tune", lua_rrd_tune},
{"update", lua_rrd_update},
- {"flush", lua_rrd_flush},
+ {"flushcached", lua_rrd_flushcached},
#if defined(DINF)
{"info", lua_rrd_info},
{"updatev", lua_rrd_updatev},
index 3f88c92b08f52e47ed47a850d4c06a4c156b35f1..33dd52996bcd3d8522a3e57b79d492eab8a19ecd 100644 (file)
RRDs::times(start, end)
RRDs::dump ...
RRDs::restore ...
- RRDs::flush ...
+ RRDs::flushcached ...
=head1 DESCRIPTION
index 3cf1d2470f1bb08eff09f84464ca5079a9aed6f2..e15aaec13d719beb57877ef51c59e304f3da2d69 100644 (file)
RETVAL
int
-rrd_flush(...)
+rrd_flushcached(...)
PROTOTYPE: @
PREINIT:
int i;
index 85f63c7eabb56deb6dbbfda79e5aba72a472b70d..4e20aa0b26eccbff48229870d6629d48d6b96d29 100644 (file)
return r;
}
-static char PyRRD_flush__doc__[] =
+static char PyRRD_flushcached__doc__[] =
"flush(args..): flush RRD files from memory\n"
" flush [--daemon address] file [file ...]";
-static PyObject *PyRRD_flush(
+static PyObject *PyRRD_flushcached(
PyObject UNUSED(*self),
PyObject * args)
{
int argc;
char **argv;
- if (create_args("flush", args, &argc, &argv) < 0)
+ if (create_args("flushcached", args, &argc, &argv) < 0)
return NULL;
if (rrd_cmd_flush(argc, argv) != 0) {
meth("info", PyRRD_info, PyRRD_info__doc__),
meth("graphv", PyRRD_graphv, PyRRD_graphv__doc__),
meth("updatev", PyRRD_updatev, PyRRD_updatev__doc__),
- meth("flush", PyRRD_flush, PyRRD_flush__doc__),
+ meth("flushcached", PyRRD_flushcached, PyRRD_flushcached__doc__),
{NULL, NULL, 0, NULL}
};
diff --git a/bindings/ruby/main.c b/bindings/ruby/main.c
index 49422777bdf8e19781c39cf32bd66768206e77d6..4aa54736fae8e4c56d186214ead1df20456cf35e 100644 (file)
--- a/bindings/ruby/main.c
+++ b/bindings/ruby/main.c
return rrd_call(rrd_update, args);
}
-VALUE rb_rrd_flush(
+VALUE rb_rrd_flushcached(
VALUE self,
VALUE args)
{
rb_define_module_function(mRRD, "restore", rb_rrd_restore, -2);
rb_define_module_function(mRRD, "tune", rb_rrd_tune, -2);
rb_define_module_function(mRRD, "update", rb_rrd_update, -2);
- rb_define_module_function(mRRD, "flush", rb_rrd_flush, -2);
+ rb_define_module_function(mRRD, "flushcached", rb_rrd_flushcached, -2);
rb_define_module_function(mRRD, "info", rb_rrd_info, -2);
rb_define_module_function(mRRD, "updatev", rb_rrd_updatev, -2);
rb_define_module_function(mRRD, "graphv", rb_rrd_graphv, -2);
diff --git a/bindings/tcl/tclrrd.c b/bindings/tcl/tclrrd.c
index f8a3c84582571554ca2f913edcc47f59db98fde1..92772571423a4ac88b698b4569080712e0da02d9 100644 (file)
--- a/bindings/tcl/tclrrd.c
+++ b/bindings/tcl/tclrrd.c
}
/* Thread-safe version */
-static int Rrd_Flush(
+static int Rrd_Flushcached(
ClientData __attribute__((unused)) clientData,
Tcl_Interp *interp,
int argc,
static CmdInfo rrdCmds[] = {
{"Rrd::create", Rrd_Create, 1}, /* Thread-safe version */
{"Rrd::dump", Rrd_Dump, 0}, /* Thread-safe version */
- {"Rrd::flush", Rrd_Flush, 0},
+ {"Rrd::flushcached", Rrd_Flushcached, 0},
{"Rrd::last", Rrd_Last, 0}, /* Thread-safe version */
{"Rrd::lastupdate", Rrd_Lastupdate, 0}, /* Thread-safe version */
{"Rrd::update", Rrd_Update, 1}, /* Thread-safe version */