# HG changeset patch # User bertrand # Date 1024301925 0 # Node ID c4078c1f9d53b3ebdd57e731a704107527fc25ba # Parent 87612a28788211e70331b5b243be3d4a02684914 Added a function prototype for reuse outside of network.c diff -r 87612a287882 -r c4078c1f9d53 libmpdemux/network.h --- a/libmpdemux/network.h Mon Jun 17 08:16:47 2002 +0000 +++ b/libmpdemux/network.h Mon Jun 17 08:18:45 2002 +0000 @@ -16,6 +16,7 @@ #include #include "url.h" +#include "http.h" #include "stream.h" #define BUFFER_SIZE 2048 @@ -47,4 +48,7 @@ int connect2Server(char *host, int port); +int http_send_request(URL_t *url); +HTTP_header_t *http_read_response(int fd); + #endif