summaryrefslogtreecommitdiff
path: root/ext/standard/php_crypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/php_crypt.h')
-rw-r--r--ext/standard/php_crypt.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/standard/php_crypt.h b/ext/standard/php_crypt.h
new file mode 100644
index 0000000000..1b93431cb5
--- /dev/null
+++ b/ext/standard/php_crypt.h
@@ -0,0 +1,15 @@
+#ifndef PHP_CRYPT_H
+#define PHP_CRYPT_H
+
+#if HAVE_CRYPT
+extern php3_module_entry crypt_module_entry;
+#define crypt_module_ptr &crypt_module_entry
+PHP_FUNCTION(crypt);
+extern PHP_MINIT_FUNCTION(crypt);
+#else
+#define crypt_module_ptr NULL
+#endif
+
+#define phpext_crypt_ptr crypt_module_ptr
+
+#endif