version 1.8 | | version 1.9 |
---|
| | |
/* | | /* |
* static char *rcsid_plugins_c = | | * static char *rcsid_plugins_c = |
* "$Id: plugins.c,v 1.8 2001/11/12 01:09:39 michtoen Exp $"; | | * "$Id: plugins.c,v 1.9 2001/11/13 08:14:26 mwedel Exp $"; |
*/ | | */ |
| | |
/*****************************************************************************/ | | /*****************************************************************************/ |
| | |
/*****************************************************************************/ | | /*****************************************************************************/ |
void initPlugins(void) | | void initPlugins(void) |
{ | | { |
struct dirent **namelist; | | struct dirent **namelist=NULL; |
int n; | | int n; |
char buf[MAX_BUF]; | | char buf[MAX_BUF]; |
char buf2[MAX_BUF]; | | char buf2[MAX_BUF]; |
| | |
/*****************************************************************************/ | | /*****************************************************************************/ |
/* Hook functions. Those are wrappers to crosslib functions, used by plugins.*/ | | /* Hook functions. Those are wrappers to crosslib functions, used by plugins.*/ |
/* Remember : NEVER call crosslib functions directly from a plugin if a hook */ | | /* Remember : NEVER call crosslib functions directly from a plugin if a hook */ |
/* exists. | | /* exists. */ |
/*****************************************************************************/ | | /*****************************************************************************/ |
| | |
/*****************************************************************************/ | | /*****************************************************************************/ |