summaryrefslogtreecommitdiff
path: root/ext/standard/php_dir.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_dir.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_dir.h')
-rw-r--r--ext/standard/php_dir.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/ext/standard/php_dir.h b/ext/standard/php_dir.h
new file mode 100644
index 0000000000..bb09e2fbdd
--- /dev/null
+++ b/ext/standard/php_dir.h
@@ -0,0 +1,39 @@
+/*
+ +----------------------------------------------------------------------+
+ | PHP version 4.0 |
+ +----------------------------------------------------------------------+
+ | Copyright (c) 1997, 1998, 1999 The PHP Group |
+ +----------------------------------------------------------------------+
+ | This source file is subject to version 2.0 of the PHP license, |
+ | that is bundled with this package in the file LICENSE, and is |
+ | available at through the world-wide-web at |
+ | http://www.php.net/license/2_0.txt. |
+ | If you did not receive a copy of the PHP license and are unable to |
+ | obtain it through the world-wide-web, please send a note to |
+ | license@php.net so we can mail you a copy immediately. |
+ +----------------------------------------------------------------------+
+ | Authors: |
+ | PHP 4.0 patches by Thies C. Arntzen (thies@digicol.de) |
+ +----------------------------------------------------------------------+
+ */
+
+/* $Id$ */
+
+#ifndef _PHP_DIR_H
+#define _PHP_DIR_H
+extern php3_module_entry php3_dir_module_entry;
+#define php3_dir_module_ptr &php3_dir_module_entry
+
+/* directory functions */
+extern PHP_MINIT_FUNCTION(dir);
+PHP_FUNCTION(opendir);
+PHP_FUNCTION(closedir);
+PHP_FUNCTION(chdir);
+PHP_FUNCTION(getcwd);
+PHP_FUNCTION(rewinddir);
+PHP_FUNCTION(readdir);
+PHP_FUNCTION(getdir);
+
+#define phpext_dir_ptr php3_dir_module_ptr
+
+#endif /* _PHP_DIR_H */