Lines Matching +defs:val +defs:state
68 unsigned int state;
72 * Received data state.
88 * Transmit data state.
156 * _IDLE The client is not doing anything at all. This state should
169 * Badly formatted state table:
188 #define ISC_HTTPD_ISRECV(c) ((c)->state == ISC_HTTPD_STATERECV)
189 #define ISC_HTTPD_ISRECVDONE(c) ((c)->state == ISC_HTTPD_STATERECVDONE)
190 #define ISC_HTTPD_ISSEND(c) ((c)->state == ISC_HTTPD_STATESEND)
191 #define ISC_HTTPD_ISSENDDONE(c) ((c)->state == ISC_HTTPD_STATESENDDONE)
196 #define ISC_HTTPD_SETRECV(c) ((c)->state = ISC_HTTPD_STATERECV)
197 #define ISC_HTTPD_SETRECVDONE(c) ((c)->state = ISC_HTTPD_STATERECVDONE)
198 #define ISC_HTTPD_SETSEND(c) ((c)->state = ISC_HTTPD_STATESEND)
199 #define ISC_HTTPD_SETSENDDONE(c) ((c)->state = ISC_HTTPD_STATESENDDONE)
1060 const char *val)
1066 if (val != NULL)
1067 needlen += 2 + strlen(val); /* :<space> and val */
1076 if (val != NULL)
1079 "%s: %s\r\n", name, val);
1108 isc_httpd_addheaderuint(isc_httpd_t *httpd, const char *name, int val) {
1113 snprintf(buf, sizeof(buf), "%d", val);
1116 needlen += 2 + strlen(buf); /* :<space> and val */