CoSWoT Servient-C
Loading...
Searching...
No Matches
src
CoSGC.h
1
#ifndef COSGC
2
#define COSGC
3
4
5
typedef
struct
MessageCoSGC
{
6
char
*
graphToFree
;
7
int
modulesNombre
;
8
}
MessageCoSGC
;
9
10
11
typedef
struct
MessageCoSGCList
12
{
13
int
length
;
14
MessageCoSGC
*list;
16
}
MessageCoSGCList
;
17
18
MessageCoSGCList
messageCoSGCList;
19
20
//Functions :
29
void
initCOSGC
();
30
35
void
deleteCOSGC
();
36
43
void
addMessage
(
char
* graphToFree,
int
modulesNombre);
44
50
void
finishwithgraph
(
char
* graphRDF);
51
56
void
removeUselessGraph
();
57
62
void
printListCoSGC
();
65
#endif
deleteCOSGC
void deleteCOSGC()
delete the messages list
Definition:
CoSGC.c:16
removeUselessGraph
void removeUselessGraph()
Methode to remove useless graph.
printListCoSGC
void printListCoSGC()
Use to debug.
Definition:
CoSGC.c:62
initCOSGC
void initCOSGC()
initialise the messages list for CoSGC
addMessage
void addMessage(char *graphToFree, int modulesNombre)
Add a message to the list.
Definition:
CoSGC.c:22
finishwithgraph
void finishwithgraph(char *graphRDF)
Methode use by all modules to say: I done with that graph.
Definition:
CoSGC.c:32
MessageCoSGCList
Definition:
CoSGC.h:12
MessageCoSGCList::length
int length
Definition:
CoSGC.h:13
MessageCoSGC
Definition:
CoSGC.h:5
MessageCoSGC::graphToFree
char * graphToFree
Definition:
CoSGC.h:6
MessageCoSGC::modulesNombre
int modulesNombre
Definition:
CoSGC.h:7
Generated by
1.9.6