summaryrefslogtreecommitdiff
path: root/include/extension.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/extension.h')
-rw-r--r--include/extension.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/include/extension.h b/include/extension.h
index 9634ae6..f9361b3 100644
--- a/include/extension.h
+++ b/include/extension.h
@@ -184,8 +184,7 @@ private:
* @param tsrm_ls
* @return int 0 on success
*/
-// static int onStartup(int type, int module_number);
- static int onStartup(int type, int module_number, void ***tsrm_ls);
+ static int onStartup(int type, int module_number TSRMLS_DC);
/**
* Function that is called when the extension is about to be stopped
@@ -194,8 +193,7 @@ private:
* @param tsrm_ls
* @return int
*/
-// static int onShutdown(int type, int module_number);
- static int onShutdown(int type, int module_number, void ***tsrm_ls);
+ static int onShutdown(int type, int module_number TSRMLS_DC);
/**
* Function that is called when a request starts
@@ -204,8 +202,7 @@ private:
* @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);
+ static int onRequest(int type, int module_number TSRMLS_DC);
/**
* Function that is called when a request is ended
@@ -214,8 +211,7 @@ private:
* @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);
+ static int onIdle(int type, int module_number TSRMLS_DC);
};
/**