Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Initial revision
[simgrid.git] / src / gras / gs / type_driver.h
1 /* gs_type_driver.h */
2 #ifndef GS_TYPE_DRIVER_H
3 #define GS_TYPE_DRIVER_H
4
5 /* used structs */
6 struct s_gs_type_bag;
7 struct s_gs_type_driver;
8
9 struct s_gs_type_driver_ops {
10
11         void
12         (*_init)        (struct s_gs_type_driver        *p_type_driver);
13
14         void
15         (*_exit)        (struct s_gs_type_driver        *p_type_driver);
16 };
17
18 struct s_gs_type_driver {
19         struct s_gs_type_driver_ops     *type_ops;
20         struct s_gs_type_bag_ops        *bag_ops;
21         void                            *specific;
22 };
23
24
25 #endif /* GS_TYPE_DRIVER_H */