summaryrefslogtreecommitdiff
path: root/ext/vpopmail/php_vpopmail.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/vpopmail/php_vpopmail.h')
-rw-r--r--ext/vpopmail/php_vpopmail.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/ext/vpopmail/php_vpopmail.h b/ext/vpopmail/php_vpopmail.h
index d10786bfab..de6aaa6034 100644
--- a/ext/vpopmail/php_vpopmail.h
+++ b/ext/vpopmail/php_vpopmail.h
@@ -33,30 +33,26 @@ extern zend_module_entry vpopmail_module_entry;
#define PHP_VPOPMAIL_API
#endif
+PHP_MINIT_FUNCTION(vpopmail);
+PHP_MSHUTDOWN_FUNCTION(vpopmail);
+PHP_RINIT_FUNCTION(vpopmail);
PHP_RSHUTDOWN_FUNCTION(vpopmail);
PHP_MINFO_FUNCTION(vpopmail);
-// domain management
+/* domain management */
PHP_FUNCTION(vpopmail_adddomain);
PHP_FUNCTION(vpopmail_deldomain);
PHP_FUNCTION(vpopmail_addaliasdomain);
-// user management
+/* user management */
PHP_FUNCTION(vpopmail_adduser);
PHP_FUNCTION(vpopmail_deluser);
PHP_FUNCTION(vpopmail_passwd);
PHP_FUNCTION(vpopmail_setuserquota);
PHP_FUNCTION(vpopmail_auth_user);
-// defines for proper operation
-#define VPOPMAIL_ADDD "/vadddomain "
-#define VPOPMAIL_DELD "/vdeldomain "
-#define VPOPMAIL_ADAD "/vaddaliasdomain "
-
-/* removed by intent - will add upon need
ZEND_BEGIN_MODULE_GLOBALS(vpopmail)
- int global_variable;
+ int vpopmail_open;
ZEND_END_MODULE_GLOBALS(vpopmail)
-*/
#ifdef ZTS
#define VPOPMAILG(v) (vpopmail_globals->v)