aboutsummaryrefslogtreecommitdiff
path: root/src/parsec/include/net_conn.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parsec/include/net_conn.h')
-rw-r--r--src/parsec/include/net_conn.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/parsec/include/net_conn.h b/src/parsec/include/net_conn.h
new file mode 100644
index 0000000..366ac99
--- /dev/null
+++ b/src/parsec/include/net_conn.h
@@ -0,0 +1,34 @@
+/*
+ * PARSEC HEADER: net_conn.h
+ */
+
+#ifndef _NET_CONN_H_
+#define _NET_CONN_H_
+
+
+// external functions
+
+const char* NET_GetCurrentProtocolName();
+int NET_SwitchNetSubsys( const char *protocol );
+
+int NET_AutomaticConnect();
+int NET_CommandConnect( const char *server );
+int NET_CommandDisconnect();
+
+
+// structure definitions
+
+struct protocol_s {
+ const char* name;
+ int id;
+};
+
+
+// external variables
+
+extern protocol_s* protocol_table;
+
+
+#endif // _NET_CONN_H_
+
+