projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
varnish plugin: Avoid unused variable even harder.
[collectd.git]
/
src
/
utils_cmd_putval.h
diff --git
a/src/utils_cmd_putval.h
b/src/utils_cmd_putval.h
index
9f60ca0
..
bc6e193
100644
(file)
--- a/
src/utils_cmd_putval.h
+++ b/
src/utils_cmd_putval.h
@@
-27,13
+27,21
@@
#ifndef UTILS_CMD_PUTVAL_H
#define UTILS_CMD_PUTVAL_H 1
#ifndef UTILS_CMD_PUTVAL_H
#define UTILS_CMD_PUTVAL_H 1
+#include "plugin.h"
+#include "utils_cmds.h"
+
#include <stdio.h>
#include <stdio.h>
-#include "plugin.h"
+cmd_status_t cmd_parse_putval(size_t argc, char **argv,
+ cmd_putval_t *ret_putval,
+ const cmd_options_t *opts,
+ cmd_error_handler_t *err);
+
+cmd_status_t cmd_handle_putval(FILE *fh, char *buffer);
-
int handle_putval(FILE *fh, char *buffer
);
+
void cmd_destroy_putval(cmd_putval_t *putval
);
-int create_putval(char *ret, size_t ret_len, const data_set_t *ds,
- const value_list_t *vl);
+int c
md_c
reate_putval(char *ret, size_t ret_len, const data_set_t *ds,
+
const value_list_t *vl);
#endif /* UTILS_CMD_PUTVAL_H */
#endif /* UTILS_CMD_PUTVAL_H */