changeset 6455:c4078c1f9d53

Added a function prototype for reuse outside of network.c
author bertrand
date Mon, 17 Jun 2002 08:18:45 +0000
parents 87612a287882
children f0b64210ce97
files libmpdemux/network.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 <arpa/inet.h>
 
 #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