diff options
author | Zeev Suraski <zeev@php.net> | 2001-06-13 17:04:36 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-06-13 17:04:36 +0000 |
commit | 1093ed17fb7d4543d79803c387cfd8cf2bc479db (patch) | |
tree | a0466521b9ec20fb5652b37e9e299e177f4a8eee /ext/standard/head.h | |
parent | a86a08cc061462218cd45bf75b495d66b933513b (diff) | |
download | php-git-1093ed17fb7d4543d79803c387cfd8cf2bc479db.tar.gz |
Clean-up
Remove a lot of 100% redundent code
Diffstat (limited to 'ext/standard/head.h')
-rw-r--r-- | ext/standard/head.h | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/ext/standard/head.h b/ext/standard/head.h index 2af82b8ff1..1de1a5b379 100644 --- a/ext/standard/head.h +++ b/ext/standard/head.h @@ -21,31 +21,11 @@ #ifndef HEAD_H #define HEAD_H -/* - We are still using a PHP2-style Push/Pop list here as opposed - to the PHP built-in list functionality because of the nature - of this particular list. It is just used as a structured - buffer. Doing this with the built-in list code would require - some changes to allow a search for the first item with a - certain type. This type of search would not be optimal. - Private list management makes more sense here -*/ -typedef struct CookieList { - char *name; - char *value; - time_t expires; - char *path; - char *domain; - int secure; - struct CookieList *next; -} CookieList; - extern PHP_RINIT_FUNCTION(head); -PHP_FUNCTION(Header); +PHP_FUNCTION(header); PHP_FUNCTION(setcookie); PHP_FUNCTION(headers_sent); PHPAPI int php_header(void); -int php_headers_unsent(void); #endif |