diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-24 13:43:47 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-24 13:43:47 +0100 |
commit | 2fd4198b78358cf2ba527296fafb5b1728e28ea8 (patch) | |
tree | 798098f25293908c7fae4e35e8761918460cdb3e /include/extension.h | |
parent | 930ab4880b65885322eb7ca4772b8cdb49a2b0ae (diff) |
added tsrm parameter to all methods to make it compile on tsrm platforms
Diffstat (limited to 'include/extension.h')
-rw-r--r-- | include/extension.h | 40 |
1 files changed, 24 insertions, 16 deletions
diff --git a/include/extension.h b/include/extension.h index ca7e807..9634ae6 100644 --- a/include/extension.h +++ b/include/extension.h @@ -181,33 +181,41 @@ private: * Function that is called when the extension initializes * @param type Module type * @param number Module number + * @param tsrm_ls * @return int 0 on success */ - static int onStartup(int type, int module_number); - +// static int onStartup(int type, int module_number); + static int onStartup(int type, int module_number, void ***tsrm_ls); + /** * Function that is called when the extension is about to be stopped * @param type Module type * @param number Module number + * @param tsrm_ls * @return int */ - static int onShutdown(int type, int module_number); +// static int onShutdown(int type, int module_number); + static int onShutdown(int type, int module_number, void ***tsrm_ls); - /** - * Function that is called when a request starts - * @param type Module type - * @param number Module number - * @return int 0 on success - */ - static int onRequest(int type, int module_number); + /** + * Function that is called when a request starts + * @param type Module type + * @param number Module number + * @param tsrm_ls + * @return int 0 on success + */ +// static int onRequest(int type, int module_number); + static int onRequest(int type, int module_number, void ***tsrm_ls); /** - * Function that is called when a request is ended - * @param type Module type - * @param number Module number - * @return int 0 on success - */ - static int onIdle(int type, int module_number); + * Function that is called when a request is ended + * @param type Module type + * @param number Module number + * @param tsrm_ls + * @return int 0 on success + */ +// static int onIdle(int type, int module_number); + static int onIdle(int type, int module_number, void ***tsrm_ls); }; /** |