X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ad5365a072943b2b0bacc486fa504e93a99ea940..806d1314d9398af51ffd016c95b39d173960c659:/include/gras/module.h diff --git a/include/gras/module.h b/include/gras/module.h index 63f8195f96..d318e49b9a 100644 --- a/include/gras/module.h +++ b/include/gras/module.h @@ -1,3 +1,9 @@ +/* Copyright (c) 2004, 2006, 2007, 2009, 2010. The SimGrid Team. + * All rights reserved. */ + +/* This program is free software; you can redistribute it and/or modify it + * under the terms of the license (GNU LGPL) which comes with this package. */ + #ifndef GRAS_MODULE_H #define GRAS_MODULE_H @@ -10,12 +16,14 @@ XBT_PUBLIC(void) gras_module_leave(const char *name); /* Functions module implementor should use */ -XBT_PUBLIC(void) gras_module_add(const char *name, unsigned int data_size, int *ID, - void_f_void_t *init_f, void_f_void_t *exit_f, - void_f_pvoid_t *join_f, void_f_pvoid_t *leave_f) ; +XBT_PUBLIC(void) gras_module_add(const char *name, unsigned int data_size, + int *ID, void_f_void_t init_f, + void_f_void_t exit_f, + void_f_pvoid_t join_f, + void_f_pvoid_t leave_f); -XBT_PUBLIC(void*)gras_moddata_by_id(unsigned int ID); +XBT_PUBLIC(void *) gras_moddata_by_id(unsigned int ID); -#endif /* GRAS_MODULE_H */ +#endif /* GRAS_MODULE_H */