3 /* module - modularize the code */
5 /* Authors: Martin Quinson */
6 /* Copyright (C) 2004 the Martin Quinson. */
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. */
11 #ifndef _GRAS_MODULE_H
12 #define _GRAS_MODULE_H
14 typedef struct gras_module_ gras_module_t;
16 typedef gras_module_t (*gras_module_new_fct_t)(int argc, char **argv);
17 typedef int (*gras_module_finalize_fct_t)(void);
19 void gras_init(int *argc,char **argv);
20 void gras_init_defaultlog(int *argc,char **argv, const char *defaultlog);
22 #endif /* _GRAS_MODULE_H */