aboutsummaryrefslogtreecommitdiffstats
path: root/nio-ie5.h
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2007-01-13 14:33:46 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2007-01-13 14:33:46 +0000
commit8b4aef453e7235811119f33f9a5dca69d9480f9f (patch)
tree873ab1be1d1d0afae8e2620154179bb8d1ea4e47 /nio-ie5.h
parent6852bd645c5ebd38eb2af9399dba5fddf19fe4c7 (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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20415 f5534014-38df-0310-8fa8-9805f1628bb7
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 */