diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2001-06-06 13:06:12 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2001-06-06 13:06:12 +0000 |
commit | 81e2cf03ac62c29c6bb365c31b9229aa3b4deff8 (patch) | |
tree | a0680a82219899445723cc36b058d9c4d263e17f /ext/standard/head.c | |
parent | 3bfd50f4f1dedb756c4e45566e2f8e172ab435ec (diff) | |
download | php-git-81e2cf03ac62c29c6bb365c31b9229aa3b4deff8.tar.gz |
Fix folding and clean up some extensions
Diffstat (limited to 'ext/standard/head.c')
-rw-r--r-- | ext/standard/head.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/ext/standard/head.c b/ext/standard/head.c index c10c9ba261..a455691725 100644 --- a/ext/standard/head.c +++ b/ext/standard/head.c @@ -81,6 +81,8 @@ PHP_FUNCTION(Header) } /* }}} */ +/* {{{ php_header + */ PHPAPI int php_header() { SLS_FETCH(); @@ -91,8 +93,10 @@ PHPAPI int php_header() return 1; /* allow output */ } } +/* }}} */ - +/* {{{ php_push_cookie_list + */ void php_push_cookie_list(char *name, char *value, time_t expires, char *path, char *domain, int secure) { CookieList *new; @@ -107,7 +111,10 @@ void php_push_cookie_list(char *name, char *value, time_t expires, char *path, c new->secure = secure; top = new; } +/* }}} */ +/* {{{ php_pop_cookie_list + */ CookieList *php_pop_cookie_list(void) { CookieList *ret; @@ -117,6 +124,7 @@ CookieList *php_pop_cookie_list(void) top = top->next; return (ret); } +/* }}} */ /* php_set_cookie(name,value,expires,path,domain,secure) */ /* {{{ proto void setcookie(string name [, string value [, int expires [, string path [, string domain [, string secure]]]]]) @@ -251,6 +259,8 @@ PHP_FUNCTION(setcookie) } /* }}} */ +/* {{{ php_headers_unsent + */ int php_headers_unsent(void) { if (php_header_printed!=1 || !php_print_header) { @@ -259,6 +269,7 @@ int php_headers_unsent(void) return 0; } } +/* }}} */ /* {{{ proto int headers_sent(void) Return true if headers have already been sent, false otherwise */ @@ -279,5 +290,6 @@ PHP_FUNCTION(headers_sent) * tab-width: 4 * c-basic-offset: 4 * End: - * vim: sw=4 ts=4 tw=78 fdm=marker + * vim600: sw=4 ts=4 tw=78 fdm=marker + * vim<600: sw=4 ts=4 tw=78 */ |