623e671056b784d190c5f4241eda06425856e0b0
1 #ifndef GRAPH_TYPES_H
2 #define GRAPH_TYPES_H 1
4 /*
5 * Opaque types
6 */
7 struct graph_config_s;
8 typedef struct graph_config_s graph_config_t;
10 struct graph_def_s;
11 typedef struct graph_def_s graph_def_t;
13 struct graph_ident_s;
14 typedef struct graph_ident_s graph_ident_t;
16 struct graph_instance_s;
17 typedef struct graph_instance_s graph_instance_t;
19 /*
20 * Callback types
21 */
22 typedef int (*graph_callback_t) (graph_config_t *cfg,
23 void *user_data);
25 typedef int (*graph_inst_callback_t) (graph_config_t *cfg,
26 graph_instance_t *inst, void *user_data);
28 typedef int (*def_callback_t) (graph_def_t *def,
29 void *user_data);
31 typedef int (*inst_callback_t) (graph_instance_t *inst,
32 void *user_data);
34 #endif /* GRAPH_TYPES_H */
35 /* vim: set sw=2 sts=2 et fdm=marker : */