summaryrefslogtreecommitdiff
path: root/ext/standard/php_crypt.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-12-04 19:19:57 +0000
committerSascha Schumann <sas@php.net>1999-12-04 19:19:57 +0000
commit5b983c944f66b55192c901ce3fa38fcce6ca21e3 (patch)
tree89c7d57484170f274eba416495d88e02be541e6f /ext/standard/php_crypt.h
parent83ce7c13d1a7f21b4bd7dd0b5ce4f4d6764d7e52 (diff)
downloadphp-git-5b983c944f66b55192c901ce3fa38fcce6ca21e3.tar.gz
Clean up php3.*\.h files. The files itself are renamed, and references in all
.*\.[ch] files were changed. There is a slight chance that my script missed a few changes, please correct them manually.
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