summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>1999-09-04 20:12:47 +0000
committerRasmus Lerdorf <rasmus@php.net>1999-09-04 20:12:47 +0000
commit0bede914ab627eb1fb955f08a300f8b21296eab9 (patch)
treec5365c8b9fbc82507d4477ddbcd45fb8d4c91191 /main/php.h
parent8e9cd1e4aeb2750a177cfc83e63341de34dd062c (diff)
downloadphp-git-0bede914ab627eb1fb955f08a300f8b21296eab9.tar.gz
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.
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h4
1 files changed, 4 insertions, 0 deletions
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.