projects
/
collection4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
collection.conf: Add "ShowZero" options to some graphs.
[collection4.git]
/
graph_list.h
diff --git
a/graph_list.h
b/graph_list.h
index
979c13d
..
e6b6888
100644
(file)
--- a/
graph_list.h
+++ b/
graph_list.h
@@
-1,31
+1,27
@@
#ifndef GRAPH_LIST_H
#define GRAPH_LIST_H 1
#ifndef GRAPH_LIST_H
#define GRAPH_LIST_H 1
+#include "graph_types.h"
+#include "graph.h"
#include "graph_instance.h"
/*
#include "graph_instance.h"
/*
- * Callback types
- */
-typedef int (*gl_cfg_callback) (graph_config_t *cfg,
- void *user_data);
-
-typedef int (*gl_inst_callback) (graph_config_t *cfg,
- graph_instance_t *inst, void *user_data);
-
-/*
* Functions
*/
int gl_add_graph (graph_config_t *cfg);
* Functions
*/
int gl_add_graph (graph_config_t *cfg);
-int gl_graph_get_all (gl_cfg_callback callback,
- void *user_data);
+int gl_config_submit (void);
+
+graph_config_t *gl_graph_get_selected (void);
-graph_config_t *graph_get_selected (void);
+int gl_graph_get_all (graph_callback_t callback, void *user_data);
+
+int gl_graph_instance_get_all (graph_config_t *cfg, graph_inst_callback_t callback,
+ void *user_data);
-int gl_graph_instance_get_all (graph_config_t *cfg,
- gl_inst_callback callback, void *user_data);
+int gl_instance_get_all (graph_inst_callback_t callback, void *user_data);
-int gl_
instance_get_all (gl_inst_callback
callback,
+int gl_
search (const char *search, graph_inst_callback_t
callback,
void *user_data);
int gl_update (void);
void *user_data);
int gl_update (void);