Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
new struct automaton
[simgrid.git] / include / xbt / automatonparse_promela.h
1 #ifndef _XBT_AUTOMATONPARSE_PROMELA_H
2 #define _XBT_AUTOMATONPARSE_PROMELA_H
3
4 #include <stdlib.h>
5 #include <string.h>
6 #include "xbt/automaton.h"
7
8 xbt_automaton_t automaton;
9
10 SG_BEGIN_DECL()
11
12 XBT_PUBLIC(void) init();
13
14 XBT_PUBLIC(void) new_state(char* id, int src);
15
16 XBT_PUBLIC(void) new_transition(char* id, xbt_exp_label_t label);
17
18 XBT_PUBLIC(xbt_exp_label_t) new_label(int type, ...);
19
20 XBT_PUBLIC(xbt_automaton_t) get_automaton();
21
22 SG_END_DECL()
23
24 #endif