summaryrefslogtreecommitdiff
path: root/ext/standard/head.h
diff options
context:
space:
mode:
authorBrian France <bfrance@php.net>2003-08-20 20:51:10 +0000
committerBrian France <bfrance@php.net>2003-08-20 20:51:10 +0000
commitd50e0bf4ded1b1fd8218b11fb0f224c1fb37874e (patch)
tree64335fd0b0737149c7cd0bbde6bc714c8ac0ef00 /ext/standard/head.h
parent27582c48628f97366d71513e71090367ec9b87d4 (diff)
downloadphp-git-d50e0bf4ded1b1fd8218b11fb0f224c1fb37874e.tar.gz
Added a parameter to php_setcookie to toggle URL encoding of the cookie data
Added the function setrawcookie that turns off URL encoding of the cookie data Changed setcookie to turn on the URL encoding of the cookie data
Diffstat (limited to 'ext/standard/head.h')
-rw-r--r--ext/standard/head.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/standard/head.h b/ext/standard/head.h
index b964f033ef..15c8dccf24 100644
--- a/ext/standard/head.h
+++ b/ext/standard/head.h
@@ -24,9 +24,10 @@
extern PHP_RINIT_FUNCTION(head);
PHP_FUNCTION(header);
PHP_FUNCTION(setcookie);
+PHP_FUNCTION(setrawcookie);
PHP_FUNCTION(headers_sent);
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 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 TSRMLS_DC);
#endif