Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill cruft
[simgrid.git] / include / gras / module.h
1 /* $Id$ */
2
3 /* module - modularize the code                                             */
4
5 /* Authors: Martin Quinson                                                  */
6 /* Copyright (C) 2004 the Martin Quinson.                                   */
7
8 /* This program is free software; you can redistribute it and/or modify it
9    under the terms of the license (GNU LGPL) which comes with this package. */
10
11 #ifndef _GRAS_MODULE_H
12 #define _GRAS_MODULE_H
13
14 typedef struct gras_module_ gras_module_t;
15
16 typedef gras_module_t (*gras_module_new_fct_t)(int argc, char **argv);
17 typedef int (*gras_module_finalize_fct_t)(void);
18
19 void gras_init(int *argc,char **argv);
20 void gras_init_defaultlog(int *argc,char **argv, const char *defaultlog);
21 void gras_exit(void);
22 #endif /* _GRAS_MODULE_H */