Blame lib/html.h

Packit Service 5956c7
/*
Packit Service 5956c7
 * Soft:        Perform a GET query to a remote HTTP/HTTPS server.
Packit Service 5956c7
 *              Set a timer to compute global remote server response
Packit Service 5956c7
 *              time.
Packit Service 5956c7
 *
Packit Service 5956c7
 * Part:        parser.c include file.
Packit Service 5956c7
 *
Packit Service 5956c7
 * Authors:     Alexandre Cassen, <acassen@linux-vs.org>
Packit Service 5956c7
 *
Packit Service 5956c7
 *              This program is distributed in the hope that it will be useful,
Packit Service 5956c7
 *              but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 5956c7
 *              MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Packit Service 5956c7
 *              See the GNU General Public License for more details.
Packit Service 5956c7
 *
Packit Service 5956c7
 *              This program is free software; you can redistribute it and/or
Packit Service 5956c7
 *              modify it under the terms of the GNU General Public License
Packit Service 5956c7
 *              as published by the Free Software Foundation; either version
Packit Service 5956c7
 *              2 of the License, or (at your option) any later version.
Packit Service 5956c7
 *
Packit Service 5956c7
 * Copyright (C) 2001-2017 Alexandre Cassen, <acassen@gmail.com>
Packit Service 5956c7
 */
Packit Service 5956c7
Packit Service 5956c7
#ifndef _HTML_H
Packit Service 5956c7
#define _HTML_H
Packit Service 5956c7
Packit Service 5956c7
#include <sys/types.h>
Packit Service 5956c7
Packit Service 5956c7
/* Prototypes */
Packit Service 5956c7
extern size_t extract_content_length(char *buffer, size_t size);
Packit Service 5956c7
extern int extract_status_code(char *buffer, size_t size);
Packit Service 5956c7
extern char *extract_html(char *buffer, size_t size_buffer);
Packit Service 5956c7
Packit Service 5956c7
#endif