summaryrefslogtreecommitdiff
path: root/ext/mcrypt/php_mcrypt.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-04-25 16:50:40 +0000
committerSascha Schumann <sas@php.net>1999-04-25 16:50:40 +0000
commit11fc109ca647ecb70c544fa8e6a93b9cfb0f3853 (patch)
treefd82426253f9aa26fed0cb8ef533abfebb316770 /ext/mcrypt/php_mcrypt.h
parentc4442ed7c56de371cb8d76b6a2148b48f5889e1b (diff)
downloadphp-git-11fc109ca647ecb70c544fa8e6a93b9cfb0f3853.tar.gz
add mcrypt module
Diffstat (limited to 'ext/mcrypt/php_mcrypt.h')
-rw-r--r--ext/mcrypt/php_mcrypt.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/mcrypt/php_mcrypt.h b/ext/mcrypt/php_mcrypt.h
new file mode 100644
index 0000000000..21a6d67e67
--- /dev/null
+++ b/ext/mcrypt/php_mcrypt.h
@@ -0,0 +1,15 @@
+#ifndef PHP_MCRYPT_H
+#define PHP_MCRYPT_H
+
+#if HAVE_LIBMCRYPT
+
+extern zend_module_entry mcrypt_module_entry;
+#define mcrypt_module_ptr &mcrypt_module_entry
+
+PHP_FUNCTION(mcrypt_ecb);
+
+#else
+#define mcrypt_module_ptr NULL
+#endif
+
+#endif