Lines Matching refs:req

312 	} req;  in web_connection_parse_get()  local
331 req = GET_DEVICE_XML_FILE; in web_connection_parse_get()
345 req = GET_SCPD_XML_FILE; in web_connection_parse_get()
394 switch (req) { in web_connection_parse_get()
755 static void web_connection_send_reply(struct http_request *req, in web_connection_send_reply() argument
784 http_request_deinit(req); in web_connection_send_reply()
857 http_request_send_and_deinit(req, buf); in web_connection_send_reply()
861 static const char * web_get_action(struct http_request *req, in web_get_action() argument
871 b = http_request_get_hdr_line(req, "SOAPAction:"); in web_get_action()
920 struct http_request *req, in web_connection_parse_post() argument
924 char *data = http_request_get_data(req); /* body of http msg */ in web_connection_parse_post()
938 action = web_get_action(req, &action_len); in web_connection_parse_post()
958 web_connection_send_reply(req, ret, action, action_len, reply, in web_connection_parse_post()
984 struct http_request *req, in web_connection_parse_subscribe() argument
989 char *hdr = http_request_get_hdr(req); in web_connection_parse_subscribe()
1004 http_request_deinit(req); in web_connection_parse_subscribe()
1158 http_request_send_and_deinit(req, buf); in web_connection_parse_subscribe()
1185 http_request_send_and_deinit(req, buf); in web_connection_parse_subscribe()
1206 struct http_request *req, in web_connection_parse_unsubscribe() argument
1210 char *hdr = http_request_get_hdr(req); in web_connection_parse_unsubscribe()
1323 http_request_deinit(req); in web_connection_parse_unsubscribe()
1327 http_request_send_and_deinit(req, buf); in web_connection_parse_unsubscribe()
1332 static void web_connection_unimplemented(struct http_request *req) in web_connection_unimplemented() argument
1337 http_request_deinit(req); in web_connection_unimplemented()
1341 http_request_send_and_deinit(req, buf); in web_connection_unimplemented()
1348 static void web_connection_check_data(void *ctx, struct http_request *req) in web_connection_check_data() argument
1351 enum httpread_hdr_type htype = http_request_get_type(req); in web_connection_check_data()
1352 char *filename = http_request_get_uri(req); in web_connection_check_data()
1353 struct sockaddr_in *cli = http_request_get_cli_addr(req); in web_connection_check_data()
1357 http_request_deinit(req); in web_connection_check_data()
1369 web_connection_parse_get(sm, req, filename); in web_connection_check_data()
1372 web_connection_parse_post(sm, cli, req, filename); in web_connection_check_data()
1375 web_connection_parse_subscribe(sm, req, filename); in web_connection_check_data()
1378 web_connection_parse_unsubscribe(sm, req, filename); in web_connection_check_data()
1388 web_connection_unimplemented(req); in web_connection_check_data()