Miscellaneous constants

Maximum message lengths, etc. More...

Detailed Description

Maximum message lengths, etc.

Macros

#define PLAYER_MAX_MESSAGE_SIZE   8388608 /*8MB*/
 The largest possible message.
 
#define PLAYER_MAX_PAYLOAD_SIZE   (PLAYER_MAX_MESSAGE_SIZE - sizeof(player_msghdr_t))
 Maximum payload in a message.
 
#define PLAYER_MAX_DRIVER_STRING_LEN   64
 Maximum length for a driver name.
 
#define PLAYER_MAX_DEVICES   4096
 The maximum number of devices the server will support. More...
 
#define PLAYER_MSGQUEUE_DEFAULT_MAXLEN   1024
 Default maximum length for a message queue.
 
#define PLAYER_IDENT_STRING   "Player v."
 String that is spit back as a banner on connection.
 
#define PLAYER_IDENT_STRLEN   32
 Length of string that is spit back as a banner on connection.
 
#define PLAYER_KEYLEN   32
 Length of authentication key.
 

Macro Definition Documentation

◆ PLAYER_MAX_DEVICES

#define PLAYER_MAX_DEVICES   4096

The maximum number of devices the server will support.