Freeciv-3.3
Loading...
Searching...
No Matches
Macros | Enumerations
conn_types.h File Reference

Go to the source code of this file.

Macros

#define MAX_LEN_PACKET   4096
 
#define MAX_LEN_CAPSTR   512
 
#define MAX_LEN_PASSWORD   512 /* Do not change this under any circumstances */
 
#define MAX_LEN_CONTENT   (MAX_LEN_PACKET - 20)
 
#define MAX_LEN_BUFFER   (MAX_LEN_PACKET * 128)
 
#define MAX_LEN_MSG   1536
 
#define MAX_LEN_ROUTE   2000 /* MAX_LEN_PACKET / 2 - header */
 
#define ATTRIBUTE_CHUNK_SIZE   (1400)
 

Enumerations

enum  authentication_type { AUTH_LOGIN_FIRST , AUTH_NEWUSER_FIRST , AUTH_LOGIN_RETRY , AUTH_NEWUSER_RETRY }
 
enum  report_type {
  REPORT_WONDERS_OF_THE_WORLD , REPORT_WONDERS_OF_THE_WORLD_LONG , REPORT_TOP_CITIES , REPORT_DEMOGRAPHIC ,
  REPORT_ACHIEVEMENTS
}
 

Macro Definition Documentation

◆ ATTRIBUTE_CHUNK_SIZE

#define ATTRIBUTE_CHUNK_SIZE   (1400)

Definition at line 66 of file conn_types.h.

◆ MAX_LEN_BUFFER

#define MAX_LEN_BUFFER   (MAX_LEN_PACKET * 128)

Definition at line 34 of file conn_types.h.

◆ MAX_LEN_CAPSTR

#define MAX_LEN_CAPSTR   512

Definition at line 30 of file conn_types.h.

◆ MAX_LEN_CONTENT

#define MAX_LEN_CONTENT   (MAX_LEN_PACKET - 20)

Definition at line 32 of file conn_types.h.

◆ MAX_LEN_MSG

#define MAX_LEN_MSG   1536

Definition at line 37 of file conn_types.h.

◆ MAX_LEN_PACKET

#define MAX_LEN_PACKET   4096

Definition at line 29 of file conn_types.h.

◆ MAX_LEN_PASSWORD

#define MAX_LEN_PASSWORD   512 /* Do not change this under any circumstances */

Definition at line 31 of file conn_types.h.

◆ MAX_LEN_ROUTE

#define MAX_LEN_ROUTE   2000 /* MAX_LEN_PACKET / 2 - header */

Definition at line 38 of file conn_types.h.

Enumeration Type Documentation

◆ authentication_type

Enumerator
AUTH_LOGIN_FIRST 
AUTH_NEWUSER_FIRST 
AUTH_LOGIN_RETRY 
AUTH_NEWUSER_RETRY 

Definition at line 41 of file conn_types.h.

◆ report_type

Enumerator
REPORT_WONDERS_OF_THE_WORLD 
REPORT_WONDERS_OF_THE_WORLD_LONG 
REPORT_TOP_CITIES 
REPORT_DEMOGRAPHIC 
REPORT_ACHIEVEMENTS 

Definition at line 49 of file conn_types.h.