1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

- Added some missing CVS $Id$ tags, headers and footers.

This commit is contained in:
foobar
2003-02-01 01:49:15 +00:00
parent bdb1c0cf86
commit 333406bdc2
71 changed files with 745 additions and 7 deletions

View File

@@ -1,3 +1,24 @@
/*
+----------------------------------------------------------------------+
| Zend Engine |
+----------------------------------------------------------------------+
| Copyright (c) 1998-2003 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 at through the world-wide-web at |
| 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. |
+----------------------------------------------------------------------+
| Authors: Andi Gutmans <andi@zend.com> |
| Zeev Suraski <zeev@zend.com> |
+----------------------------------------------------------------------+
*/
/* $Id$ */
#define ZEND_API
#define ZEND_DLEXPORT
#define ZEND_DLIMPORT
@@ -77,5 +98,6 @@ int zend_sprintf(char *buffer, const char *format, ...);
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#include "zend.h"
#include "zend_extensions.h"

View File

@@ -591,5 +591,6 @@ ZEND_API int zend_get_configuration_directive(char *name, uint name_length, zval
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -18,6 +18,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#include "zend.h"
#include "zend_execute.h"
@@ -1481,3 +1482,11 @@ ZEND_API char *zend_get_module_version(char *module_name)
}
return module->version;
}
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -18,6 +18,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_API_H
#define ZEND_API_H
@@ -427,5 +428,6 @@ END_EXTERN_C()
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,8 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#include "zend.h"
#include "zend_alloc.h"
#include "zend_globals.h"
@@ -752,5 +754,6 @@ ZEND_API void _full_mem_check(int silent ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_D
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_ALLOC_H
#define ZEND_ALLOC_H
@@ -137,5 +138,6 @@ END_EXTERN_C()
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#include "zend.h"
#include "zend_API.h"

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_BUILTIN_FUNCTIONS_H
#define ZEND_BUILTIN_FUNCTIONS_H
@@ -24,3 +25,11 @@
int zend_startup_builtin_functions(TSRMLS_D);
#endif /* ZEND_BUILTIN_FUNCTIONS_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#include "zend_language_parser.h"
#include "zend.h"
@@ -3211,3 +3212,11 @@ int zendlex(znode *zendlval TSRMLS_DC)
zendlval->op_type = IS_CONST;
return retval;
}
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_COMPILE_H
#define ZEND_COMPILE_H
@@ -334,7 +335,7 @@ void zend_do_pass_param(znode *param, zend_uchar op, int offset TSRMLS_DC);
void zend_do_boolean_or_begin(znode *expr1, znode *op_token TSRMLS_DC);
void zend_do_boolean_or_end(znode *result, znode *expr1, znode *expr2, znode *op_token TSRMLS_DC);
void zend_do_boolean_and_begin(znode *expr1, znode *op_token TSRMLS_DC);
void zend_do_boolean_and_begin(znode *expr1, znode *op_token TSRMLS_DC);
void zend_do_boolean_and_end(znode *result, znode *expr1, znode *expr2, znode *op_token TSRMLS_DC);
void zend_do_brk_cont(zend_uchar op, znode *expr TSRMLS_DC);
@@ -744,3 +745,11 @@ END_EXTERN_C()
#define ZEND_CALL_FUNC_NAME "__call"
#endif /* ZEND_COMPILE_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_CONFIG_NW_H
#define ZEND_CONFIG_NW_H
@@ -77,3 +78,11 @@ typedef unsigned int uint;
*/
#endif /* ZEND_CONFIG_NW_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_CONFIG_W32_H
#define ZEND_CONFIG_W32_H
@@ -91,3 +92,11 @@ typedef unsigned int uint;
#define ZEND_SERVICE_MB_STYLE (MB_TOPMOST|MB_SERVICE_NOTIFICATION)
#endif /* ZEND_CONFIG_W32_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#include "zend.h"
#include "zend_constants.h"
@@ -269,5 +270,6 @@ ZEND_API int zend_register_constant(zend_constant *c TSRMLS_DC)
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_CONSTANTS_H
#define ZEND_CONSTANTS_H
@@ -62,3 +63,11 @@ void copy_zend_constant(zend_constant *c);
#define ZEND_CONSTANT_DTOR (void (*)(void *)) free_zend_constant
#endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,8 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#include "zend.h"
typedef struct _dynamic_array {
@@ -60,3 +62,11 @@ ZEND_API void *zend_dynamic_array_get_element(dynamic_array *da, unsigned int in
}
return (void *)(da->array+index*da->element_size);
}
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_DYNAMIC_ARRAY_H
#define ZEND_DYNAMIC_ARRAY_H
@@ -36,3 +37,11 @@ ZEND_API void *zend_dynamic_array_get_element(dynamic_array *da, unsigned int in
END_EXTERN_C()
#endif /* ZEND_DYNAMIC_ARRAY_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_ERRORS_H
#define ZEND_ERRORS_H
@@ -38,3 +39,10 @@
#endif /* ZEND_ERRORS_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,8 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#define ZEND_INTENSIVE_DEBUGGING 0
#include <stdio.h>
@@ -4052,3 +4054,11 @@ void zend_init_opcodes_handlers()
zend_opcode_handlers[ZEND_RAISE_ABSTRACT_ERROR] = zend_raise_abstract_error_handler;
}
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_EXECUTE_H
#define ZEND_EXECUTE_H
@@ -172,3 +173,11 @@ void zend_assign_to_variable_reference(znode *result, zval **variable_ptr_ptr, z
END_EXTERN_C()
#endif /* ZEND_EXECUTE_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#include <stdio.h>
#include <signal.h>
@@ -1016,3 +1017,11 @@ void zend_unset_timeout(TSRMLS_D)
# endif
#endif
}
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -1,3 +1,24 @@
/*
+----------------------------------------------------------------------+
| Zend Engine |
+----------------------------------------------------------------------+
| Copyright (c) 1998-2003 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 at through the world-wide-web at |
| 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. |
+----------------------------------------------------------------------+
| Authors: Andi Gutmans <andi@zend.com> |
| Zeev Suraski <zeev@zend.com> |
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_EXECUTE_LOCKS_H
#define ZEND_EXECUTE_LOCKS_H
@@ -30,3 +51,11 @@ static inline void zend_clean_garbage(TSRMLS_D)
#define SELECTIVE_PZVAL_LOCK(pzv, pzn) if (!((pzn)->u.EA.type & EXT_TYPE_UNUSED)) { PZVAL_LOCK(pzv); }
#endif /* ZEND_EXECUTE_LOCKS_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#include "zend_extensions.h"
@@ -277,3 +278,11 @@ const char *zend_mh_bundle_error(void)
}
#endif /* HAVE_MACH_O_DYLD_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_EXTENSIONS_H
#define ZEND_EXTENSIONS_H
@@ -114,3 +115,11 @@ void zend_shutdown_extensions(TSRMLS_D);
ZEND_API zend_extension *zend_get_extension(char *extension_name);
#endif /* ZEND_EXTENSIONS_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_FAST_CACHE_H
#define ZEND_FAST_CACHE_H
@@ -136,5 +137,6 @@ typedef struct _zend_fast_cache_list_entry {
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_GLOBALS_H
#define ZEND_GLOBALS_H
@@ -272,3 +273,11 @@ struct _zend_scanner_globals {
};
#endif /* ZEND_GLOBALS_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_GLOBALS_MACROS_H
#define ZEND_GLOBALS_MACROS_H
@@ -107,3 +108,10 @@ extern ZEND_API zend_scanner_globals ini_scanner_globals;
#endif /* ZEND_GLOBALS_MACROS_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#include "zend.h"
@@ -1320,5 +1321,6 @@ void zend_hash_display(HashTable *ht)
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,8 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_HASH_H
#define ZEND_HASH_H
@@ -273,3 +275,11 @@ END_EXTERN_C()
#endif /* ZEND_HASH_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#include "zend.h"
#include "zend_language_parser.h"
@@ -239,9 +240,11 @@ ZEND_API void zend_strip(TSRMLS_D)
token.type = 0;
}
}
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_HIGHLIGHT_H
#define ZEND_HIGHLIGHT_H
@@ -50,3 +51,11 @@ END_EXTERN_C()
extern zend_syntax_highlighter_ini syntax_highlighter_ini;
#endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
/* This indenter doesn't really work, it's here for no particular reason. */
@@ -145,3 +146,11 @@ dflt_printout:
token.type = 0;
}
}
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_INDENT_H
#define ZEND_INDENT_H
@@ -24,3 +25,11 @@
ZEND_API void zend_indent(void);
#endif /* ZEND_INDENT_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -16,6 +16,8 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#include "zend.h"
#include "zend_qsort.h"
#include "zend_API.h"
@@ -509,10 +511,10 @@ ZEND_API ZEND_INI_MH(OnUpdateStringUnempty)
return SUCCESS;
}
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -16,6 +16,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_INI_H
#define ZEND_INI_H
@@ -199,3 +200,11 @@ typedef struct _zend_ini_parser_param {
} zend_ini_parser_param;
#endif /* ZEND_INI_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,7 +17,6 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#define DEBUG_CFG_PARSER 0
@@ -236,9 +235,11 @@ expr:
constant_string:
TC_STRING { zend_ini_get_constant(&$$, &$1); }
;
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -1,3 +1,24 @@
/*
+----------------------------------------------------------------------+
| Zend Engine |
+----------------------------------------------------------------------+
| Copyright (c) 1998-2003 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 at through the world-wide-web at |
| 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. |
+----------------------------------------------------------------------+
| Authors: Andi Gutmans <andi@zend.com> |
| Zeev Suraski <zeev@zend.com> |
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef _ZEND_INI_SCANNER_H
#define _ZEND_INI_SCANNER_H
@@ -10,3 +31,11 @@ int ini_lex(zval *ini_lval TSRMLS_DC);
END_EXTERN_C()
#endif /* _ZEND_INI_SCANNER_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,8 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#define yyleng SCNG(yy_leng)
#define yytext SCNG(yy_text)
#define yytext_ptr SCNG(yy_text)
@@ -235,3 +237,11 @@ NEWLINE ("\r"|"\n"|"\r\n")
yy_delete_buffer(YY_CURRENT_BUFFER TSRMLS_CC);
yyterminate();
}
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -1,3 +1,24 @@
/*
+----------------------------------------------------------------------+
| Zend Engine |
+----------------------------------------------------------------------+
| Copyright (c) 1998-2003 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 at through the world-wide-web at |
| 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. |
+----------------------------------------------------------------------+
| Authors: Andi Gutmans <andi@zend.com> |
| Zeev Suraski <zeev@zend.com> |
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef _ZEND_STDIOSTREAM
#define _ZEND_STDIOSTREAM
@@ -13,3 +34,11 @@ public:
#endif
#endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -18,6 +18,8 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
/*
* LALR shift/reduce conflicts and how they are resolved:
*
@@ -861,3 +863,10 @@ isset_variables:
%%
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_SCANNER_H
#define ZEND_SCANNER_H
@@ -39,3 +40,11 @@ ZEND_API int zend_prepare_string_for_scanning(zval *str, char *filename TSRMLS_D
END_EXTERN_C()
#endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -19,6 +19,8 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#define yyleng SCNG(yy_leng)
#define yytext SCNG(yy_text)
#define yytext_ptr SCNG(yy_text)
@@ -1542,3 +1544,11 @@ NEWLINE ("\r"|"\n"|"\r\n")
<ST_IN_SCRIPTING,INITIAL,ST_DOUBLE_QUOTES,ST_BACKQUOTE,ST_SINGLE_QUOTE,ST_HEREDOC>{ANY_CHAR} {
zend_error(E_COMPILE_WARNING,"Unexpected character in input: '%c' (ASCII=%d) state=%d", yytext[0], yytext[0], YYSTATE);
}
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
/* resource lists */
@@ -358,10 +359,10 @@ char *zend_rsrc_list_get_rsrc_type(int resource TSRMLS_DC)
}
}
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_LIST_H
#define ZEND_LIST_H
@@ -109,3 +110,11 @@ extern ZEND_API int le_index_ptr; /* list entry type for index pointers */
END_EXTERN_C()
#endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#include "zend.h"
#include "zend_llist.h"
@@ -306,3 +307,11 @@ ZEND_API void *zend_llist_get_prev_ex(zend_llist *l, zend_llist_position *pos)
}
return NULL;
}
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_LLIST_H
#define ZEND_LLIST_H
@@ -75,3 +76,11 @@ ZEND_API void *zend_llist_get_prev_ex(zend_llist *l, zend_llist_position *pos);
END_EXTERN_C()
#endif /* ZEND_LLIST_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,8 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#include "zend.h"
#include "zend_mm.h"
@@ -359,3 +361,11 @@ void *zend_mm_realloc(zend_mm_heap *heap, void *p, size_t size)
return p;
}
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,8 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef _ZEND_MM_H
#define _ZEND_MM_H
@@ -62,3 +64,11 @@ void zend_mm_free(zend_mm_heap *heap, void *p);
void *zend_mm_realloc(zend_mm_heap *heap, void *p, size_t size);
#endif /* _ZEND_MM_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef MODULES_H
#define MODULES_H
@@ -89,3 +90,11 @@ int module_registry_request_startup(zend_module_entry *module TSRMLS_DC);
#define ZEND_MODULE_DTOR (void (*)(void *)) module_destructor
#endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -1,3 +1,24 @@
/*
+----------------------------------------------------------------------+
| Zend Engine |
+----------------------------------------------------------------------+
| Copyright (c) 1998-2003 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 at through the world-wide-web at |
| 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. |
+----------------------------------------------------------------------+
| Authors: Andi Gutmans <andi@zend.com> |
| Zeev Suraski <zeev@zend.com> |
+----------------------------------------------------------------------+
*/
/* $Id$ */
#include "zend.h"
#include "zend_globals.h"
#include "zend_variables.h"
@@ -520,3 +541,10 @@ zend_object_handlers std_object_handlers = {
zend_std_compare_objects /* compare_objects */
};
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -1,3 +1,24 @@
/*
+----------------------------------------------------------------------+
| Zend Engine |
+----------------------------------------------------------------------+
| Copyright (c) 1998-2003 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 at through the world-wide-web at |
| 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. |
+----------------------------------------------------------------------+
| Authors: Andi Gutmans <andi@zend.com> |
| Zeev Suraski <zeev@zend.com> |
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_OBJECT_HANDLERS_H
#define ZEND_OBJECT_HANDLERS_H
@@ -77,3 +98,11 @@ extern zend_object_handlers std_object_handlers;
#define HAS_CLASS_ENTRY(z) (Z_OBJ_HT(z)->get_class_entry != NULL)
#endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -1,3 +1,24 @@
/*
+----------------------------------------------------------------------+
| Zend Engine |
+----------------------------------------------------------------------+
| Copyright (c) 1998-2003 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 at through the world-wide-web at |
| 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. |
+----------------------------------------------------------------------+
| Authors: Andi Gutmans <andi@zend.com> |
| Zeev Suraski <zeev@zend.com> |
+----------------------------------------------------------------------+
*/
/* $Id$ */
#include "zend.h"
#include "zend_globals.h"
#include "zend_variables.h"
@@ -122,3 +143,11 @@ ZEND_API zend_object_value zend_objects_clone_obj(zval *zobject TSRMLS_DC)
return retval;
}
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -1,3 +1,24 @@
/*
+----------------------------------------------------------------------+
| Zend Engine |
+----------------------------------------------------------------------+
| Copyright (c) 1998-2003 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 at through the world-wide-web at |
| 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. |
+----------------------------------------------------------------------+
| Authors: Andi Gutmans <andi@zend.com> |
| Zeev Suraski <zeev@zend.com> |
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_OBJECTS_H
#define ZEND_OBJECTS_H
@@ -9,3 +30,11 @@ ZEND_API zend_object *zend_objects_get_address(zval *object);
ZEND_API zend_object_value zend_objects_clone_obj(zval *object TSRMLS_DC);
#endif /* ZEND_OBJECTS_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -1,3 +1,24 @@
/*
+----------------------------------------------------------------------+
| Zend Engine |
+----------------------------------------------------------------------+
| Copyright (c) 1998-2003 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 at through the world-wide-web at |
| 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. |
+----------------------------------------------------------------------+
| Authors: Andi Gutmans <andi@zend.com> |
| Zeev Suraski <zeev@zend.com> |
+----------------------------------------------------------------------+
*/
/* $Id$ */
#include "zend.h"
#include "zend_globals.h"
#include "zend_variables.h"
@@ -266,3 +287,11 @@ static zend_object_handlers zend_object_proxy_handlers = {
NULL, /* get_class_name */
NULL /* compare_objects */
};
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -1,3 +1,24 @@
/*
+----------------------------------------------------------------------+
| Zend Engine |
+----------------------------------------------------------------------+
| Copyright (c) 1998-2003 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 at through the world-wide-web at |
| 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. |
+----------------------------------------------------------------------+
| Authors: Andi Gutmans <andi@zend.com> |
| Zeev Suraski <zeev@zend.com> |
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_OBJECTS_API_H
#define ZEND_OBJECTS_API_H
@@ -49,3 +70,11 @@ ZEND_API zval **zend_object_create_proxy(zval *object, zval *member TSRMLS_DC);
ZEND_API zend_object_handlers *zend_get_std_object_handlers();
#endif /* ZEND_OBJECTS_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#include <stdio.h>
@@ -450,3 +451,11 @@ ZEND_API void *get_binary_op(int opcode)
break;
}
}
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,8 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#include <ctype.h>
#include "zend.h"
@@ -1783,4 +1785,12 @@ ZEND_API void zend_locale_sprintf_double(zval *op ZEND_FILE_LINE_DC)
*p = EG(float_separator)[0];
}
}
}
}
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_OPERATORS_H
#define ZEND_OPERATORS_H
@@ -275,3 +276,11 @@ ZEND_API void zend_locale_sprintf_double(zval *op ZEND_FILE_LINE_DC);
#define Z_TYPE_PP(zval_pp) Z_TYPE(**zval_pp)
#endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#include "zend.h"
#include "zend_ptr_stack.h"
@@ -108,3 +109,11 @@ ZEND_API int zend_ptr_stack_num_elements(zend_ptr_stack *stack)
{
return stack->top;
}
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_PTR_STACK_H
#define ZEND_PTR_STACK_H
@@ -54,5 +55,12 @@ static inline void *zend_ptr_stack_pop(zend_ptr_stack *stack)
return *(--stack->top_element);
}
#endif /* ZEND_PTR_STACK_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -16,6 +16,8 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_QSORT_H
#define ZEND_QSORT_H
@@ -24,3 +26,11 @@ ZEND_API void zend_qsort(void *base, size_t nmemb, size_t siz, compare_func_t co
END_EXTERN_C()
#endif /* ZEND_QSORT_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#include <stdio.h>
@@ -38,3 +39,11 @@ int zend_sprintf(char *buffer, const char *format, ...)
return strlen(buffer);
}
#endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#include "zend.h"
#include "zend_stack.h"
@@ -162,3 +163,11 @@ ZEND_API void zend_stack_apply_with_argument(zend_stack *stack, int type, int (*
break;
}
}
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_STACK_H
#define ZEND_STACK_H
@@ -45,3 +46,11 @@ ZEND_API void zend_stack_apply_with_argument(zend_stack *stack, int type, int (*
#define ZEND_STACK_APPLY_BOTTOMUP 2
#endif /* ZEND_STACK_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -16,6 +16,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#include "zend_static_allocator.h"
@@ -73,3 +74,11 @@ void static_allocator_destroy(StaticAllocator *sa)
}
efree(sa->Blocks);
}
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -16,6 +16,8 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_STATIC_ALLOCATOR_H
#define ZEND_STATIC_ALLOCATOR_H
@@ -43,3 +45,11 @@ char *static_allocator_allocate(StaticAllocator *sa, zend_uint size);
void static_allocator_destroy(StaticAllocator *sa);
#endif /* ZEND_STATIC_ALLOCATOR_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -16,6 +16,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#include "zend_ts_hash.h"
@@ -353,3 +354,11 @@ void zend_ts_hash_display(TsHashTable *ht)
end_read(ht);
}
#endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -16,6 +16,8 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_TS_HASH_H
#define ZEND_TS_HASH_H
@@ -116,3 +118,11 @@ END_EXTERN_C()
zend_ts_hash_init(ht, n, NULL, ZVAL_PTR_DTOR, persistent)
#endif /* ZEND_HASH_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,8 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_TYPES_H
#define ZEND_TYPES_H
@@ -27,3 +29,11 @@ typedef unsigned long zend_ulong;
typedef unsigned short zend_ushort;
#endif /* ZEND_TYPES_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#include <stdio.h>
#include "zend.h"
@@ -165,10 +166,10 @@ ZEND_API void _zval_ptr_dtor_wrapper(zval **zval_ptr)
}
#endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@@ -17,6 +17,7 @@
+----------------------------------------------------------------------+
*/
/* $Id$ */
#ifndef ZEND_VARIABLES_H
#define ZEND_VARIABLES_H
@@ -55,3 +56,11 @@ ZEND_API void zval_add_ref(zval **p);
#define ZVAL_COPY_CTOR (void (*)(void *)) zval_copy_ctor_wrapper
#endif
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/