resolve namespace clash
This commit is contained in:
parent
eb69980908
commit
49f3f7b571
@ -36,10 +36,6 @@
|
|||||||
|
|
||||||
#define ARGCMAX 64
|
#define ARGCMAX 64
|
||||||
#define ARGVSIZE 1024
|
#define ARGVSIZE 1024
|
||||||
|
|
||||||
#define RRDTOOL_CREATE 1
|
|
||||||
#define RRDTOOL_UPDATE 2
|
|
||||||
|
|
||||||
#define BUFSIZE 1024
|
#define BUFSIZE 1024
|
||||||
|
|
||||||
struct rra_cb_data {
|
struct rra_cb_data {
|
||||||
@ -50,7 +46,7 @@ struct rra_cb_data {
|
|||||||
|
|
||||||
static const char *rrd_dir;
|
static const char *rrd_dir;
|
||||||
|
|
||||||
int rrd_init(void)
|
int sammler_rrd_init(void)
|
||||||
{
|
{
|
||||||
rrd_dir = config_get_string("global", "rrd_dir", ".");
|
rrd_dir = config_get_string("global", "rrd_dir", ".");
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef _RRDTOOL_H_
|
#ifndef _RRDTOOL_H_
|
||||||
#define _RRDTOOL_H_
|
#define _RRDTOOL_H_
|
||||||
|
|
||||||
int rrd_init(void);
|
int sammler_rrd_init(void);
|
||||||
int rrd_submit(const char *hostname, const char *pluginname, const char *filename, int ds_id, const char *data);
|
int rrd_submit(const char *hostname, const char *pluginname, const char *filename, int ds_id, const char *data);
|
||||||
|
|
||||||
#endif /* _RRDTOOL_H_ */
|
#endif /* _RRDTOOL_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user