X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dff9e15c44ab6340d27215957c56fa72fad246a2..104ec12984d49e726b38234c5d8ecbfd3732b91e:/include/gras/module.h diff --git a/include/gras/module.h b/include/gras/module.h index 6c59081118..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 @@ -12,11 +18,12 @@ 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_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); -#endif /* GRAS_MODULE_H */ +#endif /* GRAS_MODULE_H */