This website works better with JavaScript.
Home
Help
Sign In
razzor
/
sammler
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Activity
Browse Source
resolve namespace clash
master
Olaf Rempel
11 years ago
parent
eb69980908
commit
49f3f7b571
3 changed files
with
3 additions
and
7 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-5
rrdtool.c
+1
-1
rrdtool.h
+1
-1
sammler.c
+ 1
- 5
rrdtool.c
View File
@ -36,10 +36,6 @@
#
define ARGCMAX 64
#
define ARGVSIZE 1024
#
define RRDTOOL_CREATE 1
#
define RRDTOOL_UPDATE 2
#
define BUFSIZE 1024
struct
rra_cb_data
{
@ -50,7 +46,7 @@ struct rra_cb_data {
static
const
char
*
rrd_dir
;
int
rrd_init
(
void
)
int
sammler_
rrd_init
(
void
)
{
rrd_dir
=
config_get_string
(
"
global
"
,
"
rrd_dir
"
,
"
.
"
)
;
return
0
;
+ 1
- 1
rrdtool.h
View File
@ -1,7 +1,7 @@
#
ifndef _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
)
;
#
endif
/* _RRDTOOL_H_ */
+ 1
- 1
sammler.c
View File
@ -120,7 +120,7 @@ int main(int argc, char *argv[])
if
(
net_init
(
)
)
exit
(
1
)
;
if
(
rrd_init
(
)
)
if
(
sammler_
rrd_init
(
)
)
exit
(
1
)
;
if
(
plugin_init
(
)
)
{
Write
Preview
Loading…
Cancel
Save