Back to index

php5  5.3.10
resourcebundle_iterator.h
Go to the documentation of this file.
00001 /*
00002    +----------------------------------------------------------------------+
00003    | PHP Version 5                                                        |
00004    +----------------------------------------------------------------------+
00005    | This source file is subject to version 3.01 of the PHP license,      |
00006    | that is bundled with this package in the file LICENSE, and is        |
00007    | available through the world-wide-web at the following url:           |
00008    | http://www.php.net/license/3_01.txt                                  |
00009    | If you did not receive a copy of the PHP license and are unable to   |
00010    | obtain it through the world-wide-web, please send a note to          |
00011    | license@php.net so we can mail you a copy immediately.               |
00012    +----------------------------------------------------------------------+
00013    | Authors: Hans-Peter Oeri (University of St.Gallen) <hp@oeri.ch>      |
00014    +----------------------------------------------------------------------+
00015  */
00016 
00017 #ifndef RESOURCEBUNDLE_ITERATOR_H
00018 #define RESOURCEBUNDLE_ITERATOR_H
00019 
00020 #include <zend.h>
00021 
00022 #include "resourcebundle/resourcebundle_class.h"
00023 
00024 typedef struct {
00025        zend_object_iterator  intern;
00026        ResourceBundle_object *subject;
00027        zend_bool             is_table;
00028        long                  length;
00029        zval                  *current;
00030        char                  *currentkey;
00031        long                  i;
00032 } ResourceBundle_iterator;
00033 
00034 zend_object_iterator *resourcebundle_get_iterator( zend_class_entry *ce, zval *object, int byref TSRMLS_DC );
00035 
00036 #endif // #ifndef RESOURCEBUNDLE_ITERATOR_H