php-src/ext/spl/spl_directory.h

52 lines
1.8 KiB
C
Raw Normal View History

2003-05-01 23:28:28 +00:00
/*
+----------------------------------------------------------------------+
2003-06-12 19:30:54 +00:00
| PHP Version 5 |
2003-05-01 23:28:28 +00:00
+----------------------------------------------------------------------+
2004-01-08 18:17:39 +00:00
| Copyright (c) 1997-2004 The PHP Group |
2003-05-01 23:28:28 +00:00
+----------------------------------------------------------------------+
2003-06-12 19:30:54 +00:00
| This source file is subject to version 3.0 of the PHP license, |
2003-05-01 23:28:28 +00:00
| that is bundled with this package in the file LICENSE, and is |
2003-06-12 19:30:54 +00:00
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_0.txt. |
2003-05-01 23:28:28 +00:00
| 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: Marcus Boerger <helly@php.net> |
+----------------------------------------------------------------------+
*/
2004-01-20 20:59:45 +00:00
/* $Id$ */
#ifndef SPL_DIRECTORY_H
#define SPL_DIRECTORY_H
2003-05-01 23:28:28 +00:00
#include "php.h"
#include "php_spl.h"
extern zend_class_entry *spl_ce_DirectoryIterator;
2004-01-18 15:33:38 +00:00
extern zend_class_entry *spl_ce_RecursiveDirectoryIterator;
2003-05-01 23:28:28 +00:00
PHP_MINIT_FUNCTION(spl_directory);
2003-12-02 07:13:53 +00:00
typedef struct _spl_ce_dir_object {
zend_object std;
php_stream *dirp;
php_stream_dirent entry;
char *path;
char *path_name;
int path_name_len;
2003-12-02 07:13:53 +00:00
int index;
} spl_ce_dir_object;
#endif /* SPL_DIRECTORY_H */
2003-05-01 23:28:28 +00:00
/*
* Local Variables:
* c-basic-offset: 4
* tab-width: 4
* End:
* vim600: fdm=marker
* vim: noet sw=4 ts=4
*/