Fix for bug 3112:
[obnox/wireshark/wip.git] / nio-ie5.h
1 /*
2  * Copyright (c) 2000, Red Hat, Inc.
3  *
4  *     This program is free software; you can redistribute it and/or modify
5  *     it under the terms of the GNU General Public License as published by
6  *     the Free Software Foundation; either version 2 of the License, or
7  *     (at your option) any later version.
8  *
9  *     A copy of the GNU General Public License can be found at
10  *     http://www.gnu.org/
11  *
12  * Written by DJ Delorie <dj@cygnus.com>
13  * Modified by Ulf Lamping to meet Wireshark use
14  *
15  */
16
17 #ifndef SETUP_NIO_IE5_H
18 #define SETUP_NIO_IE5_H
19
20 /* see nio-ie5.c */
21 \r
22 typedef struct netio_ie5_s {\r
23     HINTERNET connection;\r
24 } netio_ie5_t;\r
25
26 netio_ie5_t * netio_ie5_connect (char const *url);
27 void netio_ie5_disconnect (netio_ie5_t * netio_e5_conn);
28 int netio_ie5_ok (netio_ie5_t * netio_e5_conn);
29 int netio_ie5_read (netio_ie5_t * netio_e5_conn, char *buf, int nbytes);
30 void netio_ie5_flush_io (netio_ie5_t * netio_e5_conn);
31
32 #endif /* SETUP_NIO_IE5_H */