/***************************************************************************
                          http.h - taken from the xine project (http://www.xinehq.de)
                          modified for use with c++
                             -------------------
    begin                : Fre Jan 23 2004
    revision             : $Revision: 1.5 $
    last modified        : $Date: 2005/07/10 13:12:14 $ by $Author: juergenk $
    copyright            : (C) 2004-2005 by Jürgen Kofler
    email                : kaffeine@gmx.net
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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.                                   *
 *                                                                         *
 ***************************************************************************/


#ifndef HAVE_HTTP_H
#define HAVE_HTTP_H


#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

char *http_download (const char *url, int *file_size);

int http_peek (const char *url, int size, char *contents, char *mime_type);

#ifdef __cplusplus
} /* extern "C" */
#endif /* __cplusplus */

#endif
