Atrinik Server  4.0
Data Structures | Macros | Typedefs | Enumerations
newserver.h File Reference
#include "map.h"

Go to the source code of this file.

Data Structures

struct  MapCell_struct
struct  Map
struct  socket_struct
struct  Socket_Info_struct
struct  update_file_struct


#define NUM_LOOK_OBJECTS   15
#define SOCKET_KEEPALIVE_TIMEOUT   (uint32_t) ((60 * 10) * MAX_TICKS_MULTIPLIER)
#define UPDATES_FILE_NAME   "updates"
#define UPDATES_DIR_NAME   "updates"


typedef struct MapCell_struct MapCell
typedef struct socket_struct socket_struct
typedef struct Socket_Info_struct Socket_Info
typedef struct update_file_struct update_file_struct


enum  {

Detailed Description

Defines various structures and values that are used for the new client server communication method.

Definition in file newserver.h.

Macro Definition Documentation


Maximum password failures allowed before the server kills the socket.

Definition at line 242 of file newserver.h.

#define NUM_LOOK_OBJECTS   15

How many items to show in the below window. Used in esrv_draw_look().

Definition at line 37 of file newserver.h.

#define SOCKET_KEEPALIVE_TIMEOUT   (uint32_t) ((60 * 10) * MAX_TICKS_MULTIPLIER)

How many seconds must pass since the last keep alive command for the socket to be disconnected.

Definition at line 189 of file newserver.h.

#define UPDATES_DIR_NAME   "updates"

Directory to recursively traverse, looking for files that the client can request for an update.

Definition at line 236 of file newserver.h.

#define UPDATES_FILE_NAME   "updates"

Filename used to store information about the updated files.

Definition at line 231 of file newserver.h.

Typedef Documentation

typedef struct MapCell_struct MapCell

One map cell. Used to hold 'cache' of faces we already sent to the client.

Holds some system related information.

typedef struct socket_struct socket_struct

This contains basic information on the socket structure.

A single file loaded from the updates directory that the client can request.

Enumeration Type Documentation

anonymous enum

Possible socket statuses.

Definition at line 97 of file newserver.h.