Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
mv gs/ DataDesc/ ; change the prefix of parsing functions from gs_parse to gras_datad...
[simgrid.git] / src / gras / DataDesc / type_interface_rl.h
1 /* gs_rl_type_interface.h */
2 #ifndef GS_RL_TYPE_INTERFACE_H
3 #define GS_RL_TYPE_INTERFACE_H
4
5 struct s_gs_type_driver_ops *
6 gs_rl_type_driver(void);
7
8
9
10 void
11 gs_rl__init(struct s_gs_type_driver     *p_driver);
12
13 void
14 gs_rl__exit(struct s_gs_type_driver     *p_driver);
15
16
17
18 void
19 gs_rl_bag__init(struct s_gs_type_bag    *p_bag);
20
21 void
22 gs_rl_bag__exit(struct s_gs_type_bag    *p_bag);
23
24
25
26 void
27 gs_rl_bag_register_incoming_connection  (struct s_gs_type_bag   *p_bag,
28                                          struct s_gs_connection *p_connection);
29
30 void
31 gs_rl_bag_register_outgoing_connection  (struct s_gs_type_bag   *p_bag,
32                                          struct s_gs_connection *p_connection);
33
34
35
36 void
37 gs_rl_bag_store_type                    (struct s_gs_type_bag   *p_bag,
38                                          struct s_gs_connection *p_connection,
39                                          struct s_gs_type       *p_type);
40
41 void
42 gs_rl_bag_store_incoming_type           (struct s_gs_type_bag   *p_bag,
43                                          struct s_gs_connection *p_cnx,
44                                          struct s_gs_type       *p_type);
45
46 struct s_gs_type *
47 gs_rl_bag_get_type_by_name              (struct s_gs_type_bag   *p_bag,
48                                          struct s_gs_connection *p_connection,
49                                          const char             *name);
50
51 struct s_gs_type *
52 gs_rl_bag_get_type_by_code              (struct s_gs_type_bag   *p_bag,
53                                          struct s_gs_connection *p_connection,
54                                          int                     code);
55
56 void
57 gs_rl_bag_mark_type                     (struct s_gs_type_bag   *p_bag,
58                                          struct s_gs_connection *p_connection,
59                                          const char             *name);
60
61 int
62 gs_rl_bag_check_type_mark               (struct s_gs_type_bag   *p_bag,
63                                          struct s_gs_connection *p_connection,
64                                          const char             *name);
65
66
67
68 void
69 gs_rl_bag_store_message                 (struct s_gs_type_bag   *p_bag,
70                                          struct s_gs_connection *p_connection,
71                                          struct s_gs_message    *p_message);
72
73 void
74 gs_rl_bag_store_incoming_message        (struct s_gs_type_bag   *p_bag,
75                                          struct s_gs_connection *p_cnx,
76                                          struct s_gs_message    *p_message);
77
78 struct s_gs_message *
79 gs_rl_bag_get_message_by_name           (struct s_gs_type_bag   *p_bag,
80                                          struct s_gs_connection *p_connection,
81                                          const char                     *name);
82
83 struct s_gs_message *
84 gs_rl_bag_get_message_by_code           (struct s_gs_type_bag   *p_bag,
85                                          struct s_gs_connection *p_connection,
86                                          int                     code);
87
88 void
89 gs_rl_bag_mark_message                  (struct s_gs_type_bag   *p_bag,
90                                          struct s_gs_connection *p_connection,
91                                          const char             *name);
92
93 int
94 gs_rl_bag_check_message_mark            (struct s_gs_type_bag   *p_bag,
95                                          struct s_gs_connection *p_connection,
96                                          const char             *name);
97
98 #endif /* GS_RL_TYPE_INTERFACE_H */