aboutsummaryrefslogtreecommitdiff
path: root/src/parsec/include/net_conn.h
blob: 366ac992127f07dcb55a31893b1c0199b27f83d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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_