Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
tesh version 2
[simgrid.git] / tools / tesh2 / include / context.h
1 #ifndef _CONTEXT_H
2 #define _CONTEXT_H
3
4 #include <com.h>
5
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9
10 context_t
11 context_new(void);
12
13 void
14 context_clear(context_t context);
15
16 void
17 context_reset(context_t context);
18
19 void
20 context_input_write(context_t context, const char* buffer);
21
22 void
23 context_ouput_read(context_t context, const char* buffer);
24
25
26
27 context_t
28 context_dup(context_t context);
29
30 void
31 context_free(context_t* context);
32
33 #ifdef __cplusplus
34 extern }
35 #endif
36
37 #endif /* !_CONTEXT_H */