aboutsummaryrefslogtreecommitdiffstats
path: root/nio-ie5.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2007-01-13 14:33:46 +0000
committerUlf Lamping <ulf.lamping@web.de>2007-01-13 14:33:46 +0000
commitd3a85fae38cfbea3ae6ab46892c6c10c7687da98 (patch)
tree873ab1be1d1d0afae8e2620154179bb8d1ea4e47 /nio-ie5.h
parent2fd7d2c62078813f44e78f0b4b9f8b0e6e5928fb (diff)
far from being complete:
as mentioned on the devel list, this is a very first start of implementing the Wireshark update/version check feature think of it as a backup / discussion base only - it's not even added to the Makefiles yet svn path=/trunk/; revision=20415
Diffstat (limited to 'nio-ie5.h')
-rw-r--r--nio-ie5.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/nio-ie5.h b/nio-ie5.h
new file mode 100644
index 0000000000..d6528f322d
--- /dev/null
+++ b/nio-ie5.h
@@ -0,0 +1,32 @@
+/*
+ * Copyright (c) 2000, Red Hat, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * A copy of the GNU General Public License can be found at
+ * http://www.gnu.org/
+ *
+ * Written by DJ Delorie <dj@cygnus.com>
+ * Modified by Ulf Lamping to meet Wireshark use
+ *
+ */
+
+#ifndef SETUP_NIO_IE5_H
+#define SETUP_NIO_IE5_H
+
+/* see nio-ie5.c */
+
+typedef struct netio_ie5_s {
+ HINTERNET connection;
+} netio_ie5_t;
+
+netio_ie5_t * netio_ie5_connect (char const *url);
+void netio_ie5_disconnect (netio_ie5_t * netio_e5_conn);
+int netio_ie5_ok (netio_ie5_t * netio_e5_conn);
+int netio_ie5_read (netio_ie5_t * netio_e5_conn, char *buf, int nbytes);
+void netio_ie5_flush_io (netio_ie5_t * netio_e5_conn);
+
+#endif /* SETUP_NIO_IE5_H */