DDraceNetwork Docs
types.h File Reference
#include <ctime>
Include dependency graph for types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CFsFileInfo
 
struct  NETADDR
 

Typedefs

typedef void * IOHANDLE
 
typedef int(* FS_LISTDIR_CALLBACK) (const char *name, int is_dir, int dir_type, void *user)
 
typedef int(* FS_LISTDIR_CALLBACK_FILEINFO) (const CFsFileInfo *info, int is_dir, int dir_type, void *user)
 
typedef struct NETSOCKET_INTERNALNETSOCKET
 
typedef struct NETADDR NETADDR
 

Enumerations

enum class  TRISTATE { NONE , SOME , ALL }
 
enum  {
  UTF8_BYTE_LENGTH = 4 , IO_MAX_PATH_LENGTH = 512 , NETADDR_MAXSTRSIZE = 1 + (8 * 4 + 7) + 1 + 1 + 5 + 1 , NETTYPE_LINK_BROADCAST = 4 ,
  NETTYPE_INVALID = 0 , NETTYPE_IPV4 = 1 , NETTYPE_IPV6 = 2 , NETTYPE_WEBSOCKET_IPV4 = 8 ,
  NETTYPE_TW7 = 16 , NETTYPE_ALL = NETTYPE_IPV4 | NETTYPE_IPV6 | NETTYPE_WEBSOCKET_IPV4 , NETTYPE_MASK = NETTYPE_ALL | NETTYPE_LINK_BROADCAST | NETTYPE_TW7
}
 

Typedef Documentation

◆ FS_LISTDIR_CALLBACK

typedef int(* FS_LISTDIR_CALLBACK) (const char *name, int is_dir, int dir_type, void *user)

◆ FS_LISTDIR_CALLBACK_FILEINFO

typedef int(* FS_LISTDIR_CALLBACK_FILEINFO) (const CFsFileInfo *info, int is_dir, int dir_type, void *user)

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
UTF8_BYTE_LENGTH 

The maximum bytes necessary to encode one Unicode codepoint with UTF-8.

IO_MAX_PATH_LENGTH 
NETADDR_MAXSTRSIZE 
NETTYPE_LINK_BROADCAST 
NETTYPE_INVALID 
NETTYPE_IPV4 
NETTYPE_IPV6 
NETTYPE_WEBSOCKET_IPV4 
NETTYPE_TW7 

0.7 address. This is a flag in NETADDR to avoid introducing a parameter to every networking function to differenciate between 0.6 and 0.7 connections.

NETTYPE_ALL 
NETTYPE_MASK 

◆ TRISTATE

enum class TRISTATE
strong
Enumerator
NONE 
SOME 
ALL