diff options
Diffstat (limited to 'runtime/modules.h')
-rw-r--r-- | runtime/modules.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/runtime/modules.h b/runtime/modules.h index 4ba6411e..49586e8d 100644 --- a/runtime/modules.h +++ b/runtime/modules.h @@ -124,7 +124,7 @@ struct modInfo_s { rsRetVal (*parse)(msg_t*); } pm; struct { /* data for strgen modules */ - rsRetVal (*strgen)(msg_t*, uchar* pBuf); + rsRetVal (*strgen)(msg_t*, uchar**, size_t *); } sm; } mod; void *pModHdlr; /* handler to the dynamic library holding the module */ @@ -136,6 +136,7 @@ struct modInfo_s { # endif }; + /* interfaces */ BEGINinterface(module) /* name must also be changed in ENDinterface macro! */ modInfo_t *(*GetNxt)(modInfo_t *pThis); @@ -158,7 +159,4 @@ PROTOTYPEObj(module); /* TODO: remove them below (means move the config init code) -- rgerhards, 2008-02-19 */ extern uchar *pModDir; /* read-only after startup */ - #endif /* #ifndef MODULES_H_INCLUDED */ -/* vi:set ai: - */ |