source:
orxonox.OLD/trunk/src/lib/network/netdefs.h
@
5977
Last change on this file since 5977 was 5822, checked in by bensch, 19 years ago | |
---|---|
File size: 343 bytes |
Rev | Line | |
---|---|---|
[5530] | 1 | |
2 | ||
3 | /*! | |
4 | * @file network_manager.h | |
5 | * Main interface for the network module. Manages all the modules | |
6 | ||
7 | */ | |
8 | ||
[5624] | 9 | #ifndef _NETDEFS |
10 | #define _NETDEFS | |
[5530] | 11 | |
[5588] | 12 | #ifdef HAVE_SDL_NET_H |
[5605] | 13 | #include <SDL_net.h> |
[5588] | 14 | #else |
[5605] | 15 | #include <SDL/SDL_net.h> |
[5588] | 16 | #endif |
17 | ||
[5605] | 18 | |
[5530] | 19 | typedef unsigned char byte; |
20 | ||
21 | ||
[5649] | 22 | typedef enum { |
23 | NET_SERVER, | |
24 | NET_CLIENT | |
25 | } NodeType; | |
26 | ||
[5530] | 27 | #endif /* _NETWORK_MANAGER */ |
Note: See TracBrowser
for help on using the repository browser.