aboutsummaryrefslogtreecommitdiff
path: root/src/parsec/include/net_conn.h
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2026-08-24 11:16:07 +0200
committerFelix Morgner <felix.morgner@gmail.com>2026-08-24 11:16:07 +0200
commitc068f22329d5cc722622a2183bbb22eef2093df7 (patch)
tree12d56c1aede67988a55e241364606bfbb4dba933 /src/parsec/include/net_conn.h
downloadopenparsec-main.tar.xz
openparsec-main.zip
initial importHEADmain
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_
+
+