First attempt at a search infrastructure.
[collection4.git] / graph_types.h
1 #ifndef GRAPH_TYPES_H
2 #define GRAPH_TYPES_H 1
3
4 /*
5  * Opaque types
6  */
7 struct graph_config_s;
8 typedef struct graph_config_s graph_config_t;
9
10 struct graph_def_s;
11 typedef struct graph_def_s graph_def_t;
12
13 struct graph_ident_s;
14 typedef struct graph_ident_s graph_ident_t;
15
16 struct graph_instance_s;
17 typedef struct graph_instance_s graph_instance_t;
18
19 /*
20  * Callback types
21  */
22 typedef int (*graph_callback_t) (graph_config_t *cfg,
23     void *user_data);
24
25 typedef int (*graph_inst_callback_t) (graph_config_t *cfg,
26     graph_instance_t *inst, void *user_data);
27
28 typedef int (*def_callback_t) (graph_def_t *def,
29     void *user_data);
30
31 typedef int (*inst_callback_t) (graph_instance_t *inst,
32                 void *user_data);
33
34 #endif /* GRAPH_TYPES_H */
35 /* vim: set sw=2 sts=2 et fdm=marker : */