1 /**********************************************************************
2 * module_http.h May 2007
4 * L7VSD: Linux Virtual Server for Layer7 Load Balancing
5 * Copyright (C) 2005 NTT COMWARE Corporation.
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
22 **********************************************************************/
26 #define EXPIRE_MAXSIZE (64)
32 extern int http_check_response_status(char *res);
33 extern char* http_check_request_method(char *req, size_t *length);
34 extern char* http_search_header_field(char *http_header, char *search_name);
35 extern int http_insert_field(char *header, int offset_length, char *insert_field, int header_length);
36 extern char* http_skip_header_line(char *top_ptr);
38 #endif //MODULE_HTTP_H