Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
tesh version 2
[simgrid.git] / tools / tesh2 / include / fstreams.h
1 #ifndef __FSTREAMS_H
2 #define __FSTREAMS_H
3
4 #include <com.h>
5
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9
10 fstreams_t
11 fstreams_new(int capacity, fn_finalize_t fn_finalize);
12
13 int
14 fstreams_exclude(fstreams_t fstreams, excludes_t excludes);
15
16 int 
17 fstreams_contains(fstreams_t fstreams, fstream_t fstream);
18
19 int
20 fstreams_add(fstreams_t fstreams, fstream_t fstream);
21
22 int
23 fstreams_free(void** fstreamsptr);
24
25 int
26 fstreams_get_size(fstreams_t fstreams);
27
28 int
29 fstreams_is_empty(fstreams_t fstreams);
30
31 int 
32 fstreams_contains(fstreams_t fstreams, fstream_t fstream);
33
34 int
35 fstreams_load(fstreams_t fstreams);
36
37
38
39 #ifdef __cplusplus
40 }
41 #endif
42
43
44 #endif /* !__FSTREAMS_H */