From 0bede914ab627eb1fb955f08a300f8b21296eab9 Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Sat, 4 Sep 1999 20:12:47 +0000 Subject: First part of the connection_status work. No user-callable functions yet. That is coming next. Have also only done Apache and CGI so far. Will have to crack open my ISAPI book to do that one. Also changed the SAPI output functions to return an int. We'll check the connection status inside each one, but we might need the return code at some other level and I don't see a good reason for just tossing these return codes. --- main/php.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'main/php.h') diff --git a/main/php.h b/main/php.h index 209e0c7b31..9bc697dd5b 100644 --- a/main/php.h +++ b/main/php.h @@ -324,6 +324,10 @@ PHPAPI int cfg_get_string(char *varname, char **result); #include "zend_variables.h" #include "zend_constants.h" +/* connection status states */ +#define PHP_CONNECTION_NORMAL 0 +#define PHP_CONNECTION_ABORTED 1 +#define PHP_CONNECTION_TIMEOUT 2 /* Finding offsets of elements within structures. -- cgit v1.2.1