From c068f22329d5cc722622a2183bbb22eef2093df7 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 24 Aug 2026 11:16:07 +0200 Subject: initial import --- src/parsec/include/net_conn.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/parsec/include/net_conn.h (limited to 'src/parsec/include/net_conn.h') 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_ + + -- cgit v1.2.3