projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added a nop control for string formating, so that strings ending in /x are possible...
[rrdtool.git]
/
src
/
rrd_tool.h
diff --git
a/src/rrd_tool.h
b/src/rrd_tool.h
index
b58e04c
..
40a4846
100644
(file)
--- a/
src/rrd_tool.h
+++ b/
src/rrd_tool.h
@@
-10,10
+10,12
@@
extern "C" {
#ifndef _RRD_TOOL_H
#define _RRD_TOOL_H
#ifndef _RRD_TOOL_H
#define _RRD_TOOL_H
+#if defined(WIN32) && !defined(__CYGWIN__) && !defined(__CYGWIN32__)
+#include "../win32/config.h"
+#else
#ifdef HAVE_CONFIG_H
#include "../rrd_config.h"
#ifdef HAVE_CONFIG_H
#include "../rrd_config.h"
-#elif defined(_WIN32) && !defined(__CYGWIN__) && !defined(__CYGWIN32__)
-#include "../win32/config.h"
+#endif
#endif
#include "rrd.h"
#endif
#include "rrd.h"
@@
-82,7
+84,8
@@
extern "C" {
int rrd_create_fn(
const char *file_name,
int rrd_create_fn(
const char *file_name,
- rrd_t *rrd);
+ rrd_t *rrd,
+ int no_overwrite);
int rrd_fetch_fn (const char *filename,
enum cf_en cf_idx,
time_t *start,
int rrd_fetch_fn (const char *filename,
enum cf_en cf_idx,
time_t *start,
@@
-122,6
+125,8
@@
int rrd_fetch_fn_libdbi(const char *filename, enum cf_en cf_idx,
char *a,
char *b);
char *a,
char *b);
+ const char *cf_to_string (enum cf_en cf);
+
#endif /* _RRD_TOOL_H */
#ifdef __cplusplus
#endif /* _RRD_TOOL_H */
#ifdef __cplusplus