Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
SURF: Kill the SDP model
[simgrid.git] / src / gras / Virtu / virtu_interface.h
index 111840f7954cc4a952ede52118c6350120d65083..e5fb7f272e02f2eb97f35fb2678272c42bdb03ed 100644 (file)
@@ -12,6 +12,7 @@
 #ifndef GRAS_VIRTU_INTERFACE_H
 #define GRAS_VIRTU_INTERFACE_H
 
+
 #include "xbt/function_types.h"
 #include "xbt/sysdep.h"
 #include "xbt/log.h"
 #include "gras/virtu.h"
 #include "gras/process.h"
 
+SG_BEGIN_DECL()
+
 /* shutdown the module mechanism (world-wide cleanups) */
-void gras_moddata_exit(void);
+     void gras_moddata_exit(void);
 /* shutdown this process wrt module mecanism (process-wide cleanups) */
-void gras_moddata_leave(void);
+     void gras_moddata_leave(void);
 
 
 /* Perform the various intialisations needed by gras. Each process must run it */
@@ -36,9 +39,11 @@ XBT_PUBLIC(void) gras_process_exit(void);
 
 /* 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);
+     int gras_procdata_add(const char *name, pvoid_f_void_t creator,
+                           void_f_pvoid_t destructor);
 
-void* gras_libdata_by_name(const char *name);
-void* gras_libdata_by_id(int id);
+     void *gras_libdata_by_name(const char *name);
+     void *gras_libdata_by_id(int id);
 
-#endif  /* GRAS_VIRTU_INTERFACE_H */
+SG_END_DECL()
+#endif /* GRAS_VIRTU_INTERFACE_H */