/opt/alt/php52/usr/include/php/Zend
NameSizeModeActions
acconfig.h32910644editdlrm
FlexLexer.h56660644editdlrm
zend.h215790644editdlrm
zend_alloc.h117920644editdlrm
zend_API.h348470644editdlrm
zend_builtin_functions.h16880644editdlrm
zend_compile.h257140644editdlrm
zend_config.h1070644editdlrm
zend_config.nw.h25590644editdlrm
zend_config.w32.h31010644editdlrm
zend_constants.h42620644editdlrm
zend_dynamic_array.h19670644editdlrm
zend_errors.h21010644editdlrm
zend_exceptions.h28520644editdlrm
zend_execute.h83270644editdlrm
zend_extensions.h44230644editdlrm
zend_fast_cache.h41790644editdlrm
zend_globals.h68080644editdlrm
zend_globals_macros.h31970644editdlrm
zend_hash.h166360644editdlrm
zend_highlight.h25300644editdlrm
zend_indent.h15240644editdlrm
zend_ini.h97520644editdlrm
zend_ini_parser.h23710644editdlrm
zend_ini_scanner.h18320644editdlrm
zend_interfaces.h35490644editdlrm
zend_istdiostream.h17060644editdlrm
zend_iterators.h37500644editdlrm
zend_language_parser.h75630644editdlrm
zend_language_scanner.h23610644editdlrm
zend_list.h52160644editdlrm
zend_llist.h40300644editdlrm
zend_modules.h51660644editdlrm
zend_multibyte.h36980644editdlrm
zend_multiply.h21270644editdlrm
zend_objects.h22640644editdlrm
zend_objects_API.h41290644editdlrm
zend_object_handlers.h81980644editdlrm
zend_operators.h150080644editdlrm
zend_ptr_stack.h40120644editdlrm
zend_qsort.h15150644editdlrm
zend_stack.h23980644editdlrm
zend_static_allocator.h19210644editdlrm
zend_stream.h25430644editdlrm
zend_strtod.h18320644editdlrm
zend_ts_hash.h69320644editdlrm
zend_types.h20090644editdlrm
zend_variables.h41270644editdlrm
zend_vm.h14380644editdlrm
zend_vm_def.h1178880644editdlrm
zend_vm_execute.h9428530644editdlrm
zend_vm_opcodes.h65880644editdlrm
Edit: /opt/alt/php52/usr/include/php/Zend/zend_iterators.h (3750B)
/* +----------------------------------------------------------------------+ | Zend Engine | +----------------------------------------------------------------------+ | Copyright (c) 1998-2010 Zend Technologies Ltd. (http://www.zend.com) | +----------------------------------------------------------------------+ | This source file is subject to version 2.00 of the Zend license, | | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | | http://www.zend.com/license/2_00.txt. | | If you did not receive a copy of the Zend license and are unable to | | obtain it through the world-wide-web, please send a note to | | license@zend.com so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Author: Wez Furlong | | Marcus Boerger | +----------------------------------------------------------------------+ */ /* $Id: zend_iterators.h 293155 2010-01-05 20:46:53Z sebastian $ */ /* These iterators were designed to operate within the foreach() * structures provided by the engine, but could be extended for use * with other iterative engine opcodes. * These methods have similar semantics to the zend_hash API functions * with similar names. * */ typedef struct _zend_object_iterator zend_object_iterator; typedef struct _zend_object_iterator_funcs { /* release all resources associated with this iterator instance */ void (*dtor)(zend_object_iterator *iter TSRMLS_DC); /* check for end of iteration (FAILURE or SUCCESS if data is valid) */ int (*valid)(zend_object_iterator *iter TSRMLS_DC); /* fetch the item data for the current element */ void (*get_current_data)(zend_object_iterator *iter, zval ***data TSRMLS_DC); /* fetch the key for the current element (return HASH_KEY_IS_STRING or HASH_KEY_IS_LONG) (optional, may be NULL) */ int (*get_current_key)(zend_object_iterator *iter, char **str_key, uint *str_key_len, ulong *int_key TSRMLS_DC); /* step forwards to next element */ void (*move_forward)(zend_object_iterator *iter TSRMLS_DC); /* rewind to start of data (optional, may be NULL) */ void (*rewind)(zend_object_iterator *iter TSRMLS_DC); /* invalidate current value/key (optional, may be NULL) */ void (*invalidate_current)(zend_object_iterator *iter TSRMLS_DC); } zend_object_iterator_funcs; struct _zend_object_iterator { void *data; zend_object_iterator_funcs *funcs; ulong index; /* private to fe_reset/fe_fetch opcodes */ }; typedef struct _zend_class_iterator_funcs { zend_object_iterator_funcs *funcs; union _zend_function *zf_new_iterator; union _zend_function *zf_valid; union _zend_function *zf_current; union _zend_function *zf_key; union _zend_function *zf_next; union _zend_function *zf_rewind; } zend_class_iterator_funcs; enum zend_object_iterator_kind { ZEND_ITER_INVALID, ZEND_ITER_PLAIN_ARRAY, ZEND_ITER_PLAIN_OBJECT, ZEND_ITER_OBJECT }; BEGIN_EXTERN_C() /* given a zval, returns stuff that can be used to iterate it. */ ZEND_API enum zend_object_iterator_kind zend_iterator_unwrap(zval *array_ptr, zend_object_iterator **iter TSRMLS_DC); /* given an iterator, wrap it up as a zval for use by the engine opcodes */ ZEND_API zval *zend_iterator_wrap(zend_object_iterator *iter TSRMLS_DC); ZEND_API void zend_register_iterator_wrapper(TSRMLS_D); END_EXTERN_C() /* * Local variables: * tab-width: 4 * c-basic-offset: 4 * indent-tabs-mode: t * End: */