projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
turbostat plugin: Use parse_value_file().
[collectd.git]
/
src
/
daemon
/
configfile.h
diff --git
a/src/daemon/configfile.h
b/src/daemon/configfile.h
index
648246b
..
a13bc09
100644
(file)
--- a/
src/daemon/configfile.h
+++ b/
src/daemon/configfile.h
@@
-28,13
+28,14
@@
#define CONFIGFILE_H
#include "collectd.h"
#define CONFIGFILE_H
#include "collectd.h"
+
#include "utils_time.h"
#include "liboconfig/oconfig.h"
/*
* DESCRIPTION
* Remove a registered plugin from the internal data structures.
#include "utils_time.h"
#include "liboconfig/oconfig.h"
/*
* DESCRIPTION
* Remove a registered plugin from the internal data structures.
- *
+ *
* PARAMETERS
* `type' Name of the plugin (must be the same as passed to
* `plugin_register'
* PARAMETERS
* `type' Name of the plugin (must be the same as passed to
* `plugin_register'
@@
-89,10
+90,9
@@
int cf_register_complex (const char *type, int (*callback) (oconfig_item_t *));
*/
int cf_read (const char *filename);
*/
int cf_read (const char *filename);
-int global_option_set (const char *option, const char *value);
+int global_option_set (const char *option, const char *value
, _Bool from_cli
);
const char *global_option_get (const char *option);
long global_option_get_long (const char *option, long default_value);
const char *global_option_get (const char *option);
long global_option_get_long (const char *option, long default_value);
-long global_option_get_long_in_range (const char *option, long default_value, long min, long max);
cdtime_t global_option_get_time (char const *option, cdtime_t default_value);
cdtime_t global_option_get_time (char const *option, cdtime_t default_value);