summaryrefslogtreecommitdiff
path: root/ext/mcrypt/php_mcrypt.h
diff options
context:
space:
mode:
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