summaryrefslogtreecommitdiff
path: root/ext/standard/head.h
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-08-10 13:50:56 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-08-10 13:50:56 +0000
commite5fe441cbd20df608a1a71e18644caf74c82f691 (patch)
tree77b540d35af849be2005ad6f9f9114e661e8f744 /ext/standard/head.h
parent1ec10ac8c7dc0d8302ba7cb83f6eafdffbdd3952 (diff)
downloadphp-git-e5fe441cbd20df608a1a71e18644caf74c82f691.tar.gz
Added support for httpOnly flag for session extension and cookie setting
functions. # Original patch by Scott MacVicar
Diffstat (limited to 'ext/standard/head.h')
-rw-r--r--ext/standard/head.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/head.h b/ext/standard/head.h
index cfaee9da0e..118105889c 100644
--- a/ext/standard/head.h
+++ b/ext/standard/head.h
@@ -29,6 +29,6 @@ PHP_FUNCTION(headers_sent);
PHP_FUNCTION(headers_list);
PHPAPI int php_header(TSRMLS_D);
-PHPAPI int php_setcookie(char *name, int name_len, char *value, int value_len, time_t expires, char *path, int path_len, char *domain, int domain_len, int secure, int url_encode TSRMLS_DC);
+PHPAPI int php_setcookie(char *name, int name_len, char *value, int value_len, time_t expires, char *path, int path_len, char *domain, int domain_len, int secure, int url_encode, int httponly TSRMLS_DC);
#endif