Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/proxy/src/lib/network/nettypes.h @ 9625

Last change on this file since 9625 was 9625, checked in by patrick, 18 years ago

yet another weekend commit, quite much work done:

  • introduced a new PERMISSION layer: PERMISSION_SERVER: the nearest server hast authority
  • tightening up permissions: brand new implementation to prevent sending unused variables in the network (less smog in the net:D_
  • removed some compiler warnings from some central modules
  • networkmonitor interface changed to work with networknodes mainly
  • better debug output for the network monitor
  • networnode inteface standardisation
  • force reconnection commands integration
File size: 353 bytes
Line 
1
2#ifndef __NET_TYPES_H_
3#define __NET_TYPES_H_
4
5typedef unsigned char byte;
6
7
8//!< this are the network write variable permissions
9typedef enum netPermissions {
10  PERMISSION_MASTER_SERVER = 1,
11  PERMISSION_PROXY_SERVER  = 2,
12  PERMISSION_SERVER        = 4,
13  PERMISSION_OWNER         = 8,
14  PERMISSION_ALL           = 16
15};
16
17
18#endif /* __NET_TYPES_H */
Note: See TracBrowser for help on using the repository browser.