A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change free by xbt_free_f
[simgrid.git]
/
src
/
gras
/
Virtu
/
virtu_interface.h
diff --git
a/src/gras/Virtu/virtu_interface.h
b/src/gras/Virtu/virtu_interface.h
index
178a39b
..
2d78570
100644
(file)
--- a/
src/gras/Virtu/virtu_interface.h
+++ b/
src/gras/Virtu/virtu_interface.h
@@
-12,20
+12,26
@@
#ifndef GRAS_VIRTU_INTERFACE_H
#define GRAS_VIRTU_INTERFACE_H
#ifndef GRAS_VIRTU_INTERFACE_H
#define GRAS_VIRTU_INTERFACE_H
+#include "xbt/function_types.h"
#include "xbt/sysdep.h"
#include "xbt/log.h"
#include "xbt/sysdep.h"
#include "xbt/log.h"
-#include "xbt/error.h"
-#include "xbt/dynar.h"
-#include "xbt/dict.h"
+#include "xbt/set.h"
#include "gras/virtu.h"
#include "gras/process.h"
#include "gras/virtu.h"
#include "gras/process.h"
+/* shutdown the module mechanism (world-wide cleanups) */
+void gras_moddata_exit(void);
+/* shutdown this process wrt module mecanism (process-wide cleanups) */
+void gras_moddata_leave(void);
+
+/* This is the old interface (deprecated) */
+
+
/* declare a new process specific data
(used by gras_<module>_register to make sure that gras_process_init will create it) */
/* declare a new process specific data
(used by gras_<module>_register to make sure that gras_process_init will create it) */
+int gras_procdata_add(const char *name, pvoid_f_void_t creator,void_f_pvoid_t destructor);
-typedef void* (pvoid_f_void_t)(void); /* FIXME: find a better place for it */
-
-void gras_procdata_add(const char *name, pvoid_f_void_t creator,void_f_pvoid_t destructor);
-void *gras_libdata_get(const char *name);
+void* gras_libdata_by_name(const char *name);
+void* gras_libdata_by_id(int id);
#endif /* GRAS_VIRTU_INTERFACE_H */
#endif /* GRAS_VIRTU_INTERFACE_H */