22 lines
824 B
Plaintext
22 lines
824 B
Plaintext
$OpenBSD: patch-src_http_h,v 1.2 2012/11/07 14:53:59 dcoppa Exp $
|
|
|
|
Unbreak build with libupnp>=1.6.17
|
|
|
|
--- src/http.h.orig Sun Dec 9 14:03:36 2007
|
|
+++ src/http.h Fri Nov 2 16:13:38 2012
|
|
@@ -25,6 +25,13 @@
|
|
#include <upnp/upnp.h>
|
|
#include <upnp/upnptools.h>
|
|
|
|
-struct UpnpVirtualDirCallbacks virtual_dir_callbacks;
|
|
+int http_close (UpnpWebFileHandle fh);
|
|
+int http_write (UpnpWebFileHandle fh __attribute__((unused)),
|
|
+ char *buf __attribute__((unused)),
|
|
+ size_t buflen __attribute__((unused)));
|
|
+int http_seek (UpnpWebFileHandle fh, off_t offset, int origin);
|
|
+UpnpWebFileHandle http_open (const char *filename, enum UpnpOpenFileMode mode);
|
|
+int http_read (UpnpWebFileHandle fh, char *buf, size_t buflen);
|
|
+int http_get_info (const char *filename, struct File_Info *info);
|
|
|
|
#endif /* _HTTP_H_ */
|