2 +--------------------------------------------------------------------+
4 +--------------------------------------------------------------------+
5 | Redistribution and use in source and binary forms, with or without |
6 | modification, are permitted provided that the conditions mentioned |
7 | in the accompanying LICENSE file are met. |
8 +--------------------------------------------------------------------+
9 | Copyright (c) 2004-2006, Michael Wallner <mike@php.net> |
10 +--------------------------------------------------------------------+
15 #ifndef PHP_HTTP_MISSING
16 #define PHP_HTTP_MISSING
18 #include "php_version.h"
21 # define pemalloc_rel(size, persistent) ((persistent)?malloc(size):emalloc_rel(size))
24 #if (PHP_MAJOR_VERSION == 5) && (PHP_MINOR_VERSION == 0)
29 extern int zend_declare_property_double(zend_class_entry
*ce
, char *name
, int name_length
, double value
, int access_type TSRMLS_DC
);
30 extern void zend_update_property_double(zend_class_entry
*scope
, zval
*object
, char *name
, int name_length
, double value TSRMLS_DC
);
32 extern int zend_declare_property_bool(zend_class_entry
*ce
, char *name
, int name_length
, long value
, int access_type TSRMLS_DC
);
33 extern void zend_update_property_bool(zend_class_entry
*scope
, zval
*object
, char *name
, int name_length
, long value TSRMLS_DC
);
35 extern void zend_update_property_stringl(zend_class_entry
*scope
, zval
*object
, char *name
, int name_length
, char *value
, int value_len TSRMLS_DC
);
45 * vim600: noet sw=4 ts=4 fdm=marker
46 * vim<600: noet sw=4 ts=4