/*
* Soft: Perform a GET query to a remote HTTP/HTTPS server.
* Set a timer to compute global remote server response
* time.
*
* Part: parser.c include file.
*
* Version: $Id: html.h,v 1.1.1.1 2005/03/01 00:22:10 clement Exp $
*
* Authors: Alexandre Cassen, <acassen@linux-vs.org>
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*
* Copyright (C) 2001-2005 Alexandre Cassen, <acassen@linux-vs.org>
*/
#ifndef _HTML_H
#define _HTML_H
/* HTTP header tag */
#define CONTENT_LENGTH "Content-Length:"
/* Prototypes */
extern int extract_content_length(char *buffer, int size);
extern int extract_status_code(char *buffer, int size);
extern char *extract_html(char *buffer, int size_buffer);
#endif
syntax highlighted by Code2HTML, v. 0.9.1