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