Format and .clang-format
This commit is contained in:
1 parent
6aed7b0027
commit
b94b634a87
47 files changed
+42341
-39711
No files matched your search
@@ -3,51 +3,74 @@
|
||||
|
||||
/* Return values for ts3plugin_offersConfigure */
|
||||
enum PluginConfigureOffer {
|
||||
PLUGIN_OFFERS_NO_CONFIGURE = 0, /* Plugin does not implement ts3plugin_configure */
|
||||
PLUGIN_OFFERS_CONFIGURE_NEW_THREAD, /* Plugin does implement ts3plugin_configure and requests to run this function in an own thread */
|
||||
PLUGIN_OFFERS_CONFIGURE_QT_THREAD /* Plugin does implement ts3plugin_configure and requests to run this function in the Qt GUI thread */
|
||||
PLUGIN_OFFERS_NO_CONFIGURE =
|
||||
0, /* Plugin does not implement ts3plugin_configure */
|
||||
PLUGIN_OFFERS_CONFIGURE_NEW_THREAD, /* Plugin does implement
|
||||
ts3plugin_configure and requests to
|
||||
run this function in an own thread */
|
||||
PLUGIN_OFFERS_CONFIGURE_QT_THREAD /* Plugin does implement
|
||||
ts3plugin_configure and requests to run
|
||||
this function in the Qt GUI thread */
|
||||
};
|
||||
|
||||
enum PluginMessageTarget { PLUGIN_MESSAGE_TARGET_SERVER = 0, PLUGIN_MESSAGE_TARGET_CHANNEL };
|
||||
enum PluginMessageTarget {
|
||||
PLUGIN_MESSAGE_TARGET_SERVER = 0,
|
||||
PLUGIN_MESSAGE_TARGET_CHANNEL
|
||||
};
|
||||
|
||||
enum PluginItemType { PLUGIN_SERVER = 0, PLUGIN_CHANNEL, PLUGIN_CLIENT };
|
||||
|
||||
enum PluginMenuType { PLUGIN_MENU_TYPE_GLOBAL = 0, PLUGIN_MENU_TYPE_CHANNEL, PLUGIN_MENU_TYPE_CLIENT };
|
||||
enum PluginMenuType {
|
||||
PLUGIN_MENU_TYPE_GLOBAL = 0,
|
||||
PLUGIN_MENU_TYPE_CHANNEL,
|
||||
PLUGIN_MENU_TYPE_CLIENT
|
||||
};
|
||||
|
||||
#define PLUGIN_MENU_BUFSZ 128
|
||||
|
||||
struct PluginMenuItem {
|
||||
enum PluginMenuType type;
|
||||
int id;
|
||||
char text[PLUGIN_MENU_BUFSZ];
|
||||
char icon[PLUGIN_MENU_BUFSZ];
|
||||
enum PluginMenuType type;
|
||||
int id;
|
||||
char text[PLUGIN_MENU_BUFSZ];
|
||||
char icon[PLUGIN_MENU_BUFSZ];
|
||||
};
|
||||
|
||||
#define PLUGIN_HOTKEY_BUFSZ 128
|
||||
|
||||
struct PluginHotkey {
|
||||
char keyword[PLUGIN_HOTKEY_BUFSZ];
|
||||
char description[PLUGIN_HOTKEY_BUFSZ];
|
||||
char keyword[PLUGIN_HOTKEY_BUFSZ];
|
||||
char description[PLUGIN_HOTKEY_BUFSZ];
|
||||
};
|
||||
|
||||
struct PluginBookmarkList;
|
||||
struct PluginBookmarkItem {
|
||||
char* name;
|
||||
unsigned char isFolder;
|
||||
unsigned char reserved[3];
|
||||
union {
|
||||
char* uuid;
|
||||
struct PluginBookmarkList* folder;
|
||||
};
|
||||
char* name;
|
||||
unsigned char isFolder;
|
||||
unsigned char reserved[3];
|
||||
union {
|
||||
char* uuid;
|
||||
struct PluginBookmarkList* folder;
|
||||
};
|
||||
};
|
||||
|
||||
struct PluginBookmarkList {
|
||||
int itemcount;
|
||||
struct PluginBookmarkItem items[1]; //should be 0 but compiler complains
|
||||
int itemcount;
|
||||
struct PluginBookmarkItem items[1]; // should be 0 but compiler
|
||||
// complains
|
||||
};
|
||||
|
||||
enum PluginGuiProfile { PLUGIN_GUI_SOUND_CAPTURE = 0, PLUGIN_GUI_SOUND_PLAYBACK, PLUGIN_GUI_HOTKEY, PLUGIN_GUI_SOUNDPACK, PLUGIN_GUI_IDENTITY };
|
||||
enum PluginGuiProfile {
|
||||
PLUGIN_GUI_SOUND_CAPTURE = 0,
|
||||
PLUGIN_GUI_SOUND_PLAYBACK,
|
||||
PLUGIN_GUI_HOTKEY,
|
||||
PLUGIN_GUI_SOUNDPACK,
|
||||
PLUGIN_GUI_IDENTITY
|
||||
};
|
||||
|
||||
enum PluginConnectTab { PLUGIN_CONNECT_TAB_NEW = 0, PLUGIN_CONNECT_TAB_CURRENT, PLUGIN_CONNECT_TAB_NEW_IF_CURRENT_CONNECTED };
|
||||
enum PluginConnectTab {
|
||||
PLUGIN_CONNECT_TAB_NEW = 0,
|
||||
PLUGIN_CONNECT_TAB_CURRENT,
|
||||
PLUGIN_CONNECT_TAB_NEW_IF_CURRENT_CONNECTED
|
||||
};
|
||||
|
||||
#endif
|
||||
Executable → Regular
+21
-14
@@ -2,22 +2,29 @@
|
||||
#define TEAMLOG_LOGTYPES_H
|
||||
|
||||
enum LogTypes {
|
||||
LogType_NONE = 0x0000, ///< Logging is disabled
|
||||
LogType_FILE = 0x0001, ///< Log to regular log file
|
||||
LogType_CONSOLE = 0x0002, ///< Log to standard output / error
|
||||
LogType_USERLOGGING = 0x0004, ///< User defined logging. Will call the \ref ServerLibFunctions.onUserLoggingMessageEvent callback for every message to be logged
|
||||
LogType_NO_NETLOGGING = 0x0008, ///< Not used
|
||||
LogType_DATABASE = 0x0010, ///< Log to database (deprecated, server only, no effect in SDK)
|
||||
LogType_SYSLOG = 0x0020, ///< Log to syslog (only available on Linux)
|
||||
LogType_NONE = 0x0000, ///< Logging is disabled
|
||||
LogType_FILE = 0x0001, ///< Log to regular log file
|
||||
LogType_CONSOLE = 0x0002, ///< Log to standard output / error
|
||||
LogType_USERLOGGING =
|
||||
0x0004, ///< User defined logging. Will call the \ref
|
||||
///< ServerLibFunctions.onUserLoggingMessageEvent
|
||||
///< callback for every message to be logged
|
||||
LogType_NO_NETLOGGING = 0x0008, ///< Not used
|
||||
LogType_DATABASE =
|
||||
0x0010, ///< Log to database (deprecated, server only, no effect in SDK)
|
||||
LogType_SYSLOG = 0x0020, ///< Log to syslog (only available on Linux)
|
||||
};
|
||||
|
||||
enum LogLevel {
|
||||
LogLevel_CRITICAL = 0, ///< these messages stop the program
|
||||
LogLevel_ERROR, ///< everything that is really bad, but not so bad we need to shut down
|
||||
LogLevel_WARNING, ///< everything that *might* be bad
|
||||
LogLevel_DEBUG, ///< output that might help find a problem
|
||||
LogLevel_INFO, ///< informational output, like "starting database version x.y.z"
|
||||
LogLevel_DEVEL ///< developer only output (will not be displayed in release mode)
|
||||
LogLevel_CRITICAL = 0, ///< these messages stop the program
|
||||
LogLevel_ERROR, ///< everything that is really bad, but not so bad we need
|
||||
///< to shut down
|
||||
LogLevel_WARNING, ///< everything that *might* be bad
|
||||
LogLevel_DEBUG, ///< output that might help find a problem
|
||||
LogLevel_INFO, ///< informational output, like "starting database version
|
||||
///< x.y.z"
|
||||
LogLevel_DEVEL ///< developer only output (will not be displayed in release
|
||||
///< mode)
|
||||
};
|
||||
|
||||
#endif //TEAMLOG_LOGTYPES_H
|
||||
#endif // TEAMLOG_LOGTYPES_H
|
||||
File diff suppressed because it is too large.
Load diff
@@ -1,200 +1,395 @@
|
||||
#ifndef PUBLIC_ERRORS_H
|
||||
#define PUBLIC_ERRORS_H
|
||||
|
||||
//The idea here is: the values are 2 bytes wide, the first byte identifies the group, the second the count within that group
|
||||
// The idea here is: the values are 2 bytes wide, the first byte identifies the
|
||||
// group, the second the count within that group
|
||||
|
||||
enum Ts3ErrorType {
|
||||
//general
|
||||
ERROR_ok = 0x0000, ///< Indicates success.
|
||||
ERROR_undefined = 0x0001,
|
||||
ERROR_not_implemented = 0x0002, ///< The attempted operation is not available in this context
|
||||
ERROR_ok_no_update = 0x0003, ///< Indicates success, but no change occurred. Returned for example upon flushing (e.g. using \ref ts3client_flushChannelUpdates) when all indicated changes already matched the current state.
|
||||
ERROR_dont_notify = 0x0004,
|
||||
ERROR_lib_time_limit_reached = 0x0005,
|
||||
ERROR_out_of_memory = 0x0006, ///< Not enough system memory to perform operation
|
||||
ERROR_canceled = 0x0007,
|
||||
// general
|
||||
ERROR_ok = 0x0000, ///< Indicates success.
|
||||
ERROR_undefined = 0x0001,
|
||||
ERROR_not_implemented =
|
||||
0x0002, ///< The attempted operation is not available in this context
|
||||
ERROR_ok_no_update =
|
||||
0x0003, ///< Indicates success, but no change occurred. Returned for
|
||||
///< example upon flushing (e.g. using \ref
|
||||
///< ts3client_flushChannelUpdates) when all indicated changes
|
||||
///< already matched the current state.
|
||||
ERROR_dont_notify = 0x0004,
|
||||
ERROR_lib_time_limit_reached = 0x0005,
|
||||
ERROR_out_of_memory =
|
||||
0x0006, ///< Not enough system memory to perform operation
|
||||
ERROR_canceled = 0x0007,
|
||||
|
||||
//dunno
|
||||
ERROR_command_not_found = 0x0100,
|
||||
ERROR_unable_to_bind_network_port = 0x0101, ///< Unspecified failure to create a listening port
|
||||
ERROR_no_network_port_available = 0x0102, ///< Failure to initialize a listening port for FileTransfer
|
||||
ERROR_port_already_in_use = 0x0103, ///< Specified port is already in use by a different application
|
||||
// dunno
|
||||
ERROR_command_not_found = 0x0100,
|
||||
ERROR_unable_to_bind_network_port =
|
||||
0x0101, ///< Unspecified failure to create a listening port
|
||||
ERROR_no_network_port_available =
|
||||
0x0102, ///< Failure to initialize a listening port for FileTransfer
|
||||
ERROR_port_already_in_use =
|
||||
0x0103, ///< Specified port is already in use by a different application
|
||||
|
||||
//client
|
||||
ERROR_client_invalid_id = 0x0200, ///< Client no longer connected
|
||||
ERROR_client_nickname_inuse = 0x0201, ///< Client name is already in use. Client names must be unique
|
||||
ERROR_client_protocol_limit_reached = 0x0203, ///< Too many clients on the server
|
||||
ERROR_client_invalid_type = 0x0204, ///< Function called for normal clients that is only available for query clients or vice versa
|
||||
ERROR_client_already_subscribed = 0x0205, ///< Attempting to subscribe to a channel already subscribed to
|
||||
ERROR_client_not_logged_in = 0x0206,
|
||||
ERROR_client_could_not_validate_identity = 0x0207, ///< Identity not valid or insufficient security level
|
||||
ERROR_client_invalid_password = 0x0208,
|
||||
ERROR_client_version_outdated = 0x020a, ///< Server requires newer client version as determined by the min_client_version properties
|
||||
ERROR_client_is_flooding = 0x020c, ///< Triggered flood protection. Further information is supplied in the extra message if applicable.
|
||||
ERROR_client_hacked = 0x020d,
|
||||
ERROR_client_cannot_verify_now = 0x020e,
|
||||
ERROR_client_login_not_permitted = 0x020f,
|
||||
ERROR_client_not_subscribed = 0x0210, ///< Action is only available on subscribed channels
|
||||
// client
|
||||
ERROR_client_invalid_id = 0x0200, ///< Client no longer connected
|
||||
ERROR_client_nickname_inuse =
|
||||
0x0201, ///< Client name is already in use. Client names must be unique
|
||||
ERROR_client_protocol_limit_reached =
|
||||
0x0203, ///< Too many clients on the server
|
||||
ERROR_client_invalid_type =
|
||||
0x0204, ///< Function called for normal clients that is only available
|
||||
///< for query clients or vice versa
|
||||
ERROR_client_already_subscribed =
|
||||
0x0205, ///< Attempting to subscribe to a channel already subscribed to
|
||||
ERROR_client_not_logged_in = 0x0206,
|
||||
ERROR_client_could_not_validate_identity =
|
||||
0x0207, ///< Identity not valid or insufficient security level
|
||||
ERROR_client_invalid_password = 0x0208,
|
||||
ERROR_client_version_outdated =
|
||||
0x020a, ///< Server requires newer client version as determined by the
|
||||
///< min_client_version properties
|
||||
ERROR_client_is_flooding =
|
||||
0x020c, ///< Triggered flood protection. Further information is supplied
|
||||
///< in the extra message if applicable.
|
||||
ERROR_client_hacked = 0x020d,
|
||||
ERROR_client_cannot_verify_now = 0x020e,
|
||||
ERROR_client_login_not_permitted = 0x020f,
|
||||
ERROR_client_not_subscribed =
|
||||
0x0210, ///< Action is only available on subscribed channels
|
||||
|
||||
//channel
|
||||
ERROR_channel_invalid_id = 0x0300, ///< Channel does not exist on the server (any longer)
|
||||
ERROR_channel_protocol_limit_reached = 0x0301, ///< Too many channels on the server
|
||||
ERROR_channel_already_in = 0x0302, ///< Attempting to move a client or channel to its current channel
|
||||
ERROR_channel_name_inuse = 0x0303, ///< Channel name is already taken by another channel. Channel names must be unique
|
||||
ERROR_channel_not_empty = 0x0304, ///< Attempting to delete a channel with clients or sub channels in it
|
||||
ERROR_channel_can_not_delete_default = 0x0305, ///< Default channel cannot be deleted. Set a new default channel first (see \ref ts3client_setChannelVariableAsInt or \ref ts3server_setChannelVariableAsInt )
|
||||
ERROR_channel_default_require_permanent = 0x0306, ///< Attempt to set a non permanent channel as default channel. Set channel to permanent first (see \ref ts3client_setChannelVariableAsInt or \ref ts3server_setChannelVariableAsInt )
|
||||
ERROR_channel_invalid_flags = 0x0307, ///< Invalid combination of \ref ChannelProperties, trying to remove \ref CHANNEL_FLAG_DEFAULT or set a password on the default channel
|
||||
ERROR_channel_parent_not_permanent = 0x0308, ///< Attempt to move a permanent channel into a non-permanent one, or set a channel to be permanent that is a sub channel of a non-permanent one
|
||||
ERROR_channel_maxclients_reached = 0x0309, ///< Channel is full as determined by its \ref CHANNEL_MAXCLIENTS setting
|
||||
ERROR_channel_maxfamily_reached = 0x030a, ///< Channel tree is full as determined by its \ref CHANNEL_MAXFAMILYCLIENTS setting
|
||||
ERROR_channel_invalid_order = 0x030b, ///< Invalid value for the \ref CHANNEL_ORDER property. The specified channel must exist on the server and be on the same level.
|
||||
ERROR_channel_no_filetransfer_supported = 0x030c, ///< Invalid \ref CHANNEL_FILEPATH set for the channel
|
||||
ERROR_channel_invalid_password = 0x030d, ///< Channel has a password not matching the password supplied in the call
|
||||
// used in public_rare_errors = 0x030e,
|
||||
ERROR_channel_invalid_security_hash = 0x030f,
|
||||
// channel
|
||||
ERROR_channel_invalid_id =
|
||||
0x0300, ///< Channel does not exist on the server (any longer)
|
||||
ERROR_channel_protocol_limit_reached =
|
||||
0x0301, ///< Too many channels on the server
|
||||
ERROR_channel_already_in = 0x0302, ///< Attempting to move a client or
|
||||
///< channel to its current channel
|
||||
ERROR_channel_name_inuse =
|
||||
0x0303, ///< Channel name is already taken by another channel. Channel
|
||||
///< names must be unique
|
||||
ERROR_channel_not_empty = 0x0304, ///< Attempting to delete a channel with
|
||||
///< clients or sub channels in it
|
||||
ERROR_channel_can_not_delete_default =
|
||||
0x0305, ///< Default channel cannot be deleted. Set a new default
|
||||
///< channel first (see \ref ts3client_setChannelVariableAsInt
|
||||
///< or \ref ts3server_setChannelVariableAsInt )
|
||||
ERROR_channel_default_require_permanent =
|
||||
0x0306, ///< Attempt to set a non permanent channel as default channel.
|
||||
///< Set channel to permanent first (see \ref
|
||||
///< ts3client_setChannelVariableAsInt or \ref
|
||||
///< ts3server_setChannelVariableAsInt )
|
||||
ERROR_channel_invalid_flags =
|
||||
0x0307, ///< Invalid combination of \ref ChannelProperties, trying to
|
||||
///< remove \ref CHANNEL_FLAG_DEFAULT or set a password on the
|
||||
///< default channel
|
||||
ERROR_channel_parent_not_permanent =
|
||||
0x0308, ///< Attempt to move a permanent channel into a non-permanent
|
||||
///< one, or set a channel to be permanent that is a sub channel
|
||||
///< of a non-permanent one
|
||||
ERROR_channel_maxclients_reached =
|
||||
0x0309, ///< Channel is full as determined by its \ref
|
||||
///< CHANNEL_MAXCLIENTS setting
|
||||
ERROR_channel_maxfamily_reached =
|
||||
0x030a, ///< Channel tree is full as determined by its \ref
|
||||
///< CHANNEL_MAXFAMILYCLIENTS setting
|
||||
ERROR_channel_invalid_order =
|
||||
0x030b, ///< Invalid value for the \ref CHANNEL_ORDER property. The
|
||||
///< specified channel must exist on the server and be on the
|
||||
///< same level.
|
||||
ERROR_channel_no_filetransfer_supported =
|
||||
0x030c, ///< Invalid \ref CHANNEL_FILEPATH set for the channel
|
||||
ERROR_channel_invalid_password =
|
||||
0x030d, ///< Channel has a password not matching the password supplied
|
||||
///< in the call
|
||||
// used in public_rare_errors = 0x030e,
|
||||
ERROR_channel_invalid_security_hash = 0x030f,
|
||||
|
||||
//server
|
||||
ERROR_server_invalid_id = 0x0400, ///< Chosen virtual server does not exist or is offline
|
||||
ERROR_server_running = 0x0401, ///< attempting to delete a server that is running. Stop the server before deleting it.
|
||||
ERROR_server_is_shutting_down = 0x0402, ///< Client disconnected because the server is going offline
|
||||
ERROR_server_maxclients_reached = 0x0403, ///< Given in the onConnectStatusChange event when the server has reached its maximum number of clients as defined by the \ref VIRTUALSERVER_MAXCLIENTS property
|
||||
ERROR_server_invalid_password = 0x0404, ///< Specified server password is wrong. Provide the correct password in the \ref ts3client_startConnection / \ref ts3client_startConnectionWithChannelID call.
|
||||
ERROR_server_is_virtual = 0x0407, ///< Server is in virtual status. The attempted action is not possible in this state. Start the virtual server first.
|
||||
ERROR_server_is_not_running = 0x0409, ///< Attempting to stop a server that is not online.
|
||||
ERROR_server_is_booting = 0x040a, // Not used
|
||||
ERROR_server_status_invalid = 0x040b,
|
||||
ERROR_server_version_outdated = 0x040d, ///< Attempt to connect to an outdated server version. The server needs to be updated.
|
||||
ERROR_server_duplicate_running = 0x040e, ///< This server is already running within the instance. Each virtual server may only exist once.
|
||||
// server
|
||||
ERROR_server_invalid_id =
|
||||
0x0400, ///< Chosen virtual server does not exist or is offline
|
||||
ERROR_server_running =
|
||||
0x0401, ///< attempting to delete a server that is running. Stop the
|
||||
///< server before deleting it.
|
||||
ERROR_server_is_shutting_down =
|
||||
0x0402, ///< Client disconnected because the server is going offline
|
||||
ERROR_server_maxclients_reached =
|
||||
0x0403, ///< Given in the onConnectStatusChange event when the server
|
||||
///< has reached its maximum number of clients as defined by the
|
||||
///< \ref VIRTUALSERVER_MAXCLIENTS property
|
||||
ERROR_server_invalid_password =
|
||||
0x0404, ///< Specified server password is wrong. Provide the correct
|
||||
///< password in the \ref ts3client_startConnection / \ref
|
||||
///< ts3client_startConnectionWithChannelID call.
|
||||
ERROR_server_is_virtual =
|
||||
0x0407, ///< Server is in virtual status. The attempted action is not
|
||||
///< possible in this state. Start the virtual server first.
|
||||
ERROR_server_is_not_running =
|
||||
0x0409, ///< Attempting to stop a server that is not online.
|
||||
ERROR_server_is_booting = 0x040a, // Not used
|
||||
ERROR_server_status_invalid = 0x040b,
|
||||
ERROR_server_version_outdated =
|
||||
0x040d, ///< Attempt to connect to an outdated server version. The
|
||||
///< server needs to be updated.
|
||||
ERROR_server_duplicate_running =
|
||||
0x040e, ///< This server is already running within the instance. Each
|
||||
///< virtual server may only exist once.
|
||||
|
||||
//parameter
|
||||
ERROR_parameter_quote = 0x0600, // Not used
|
||||
ERROR_parameter_invalid_count = 0x0601, ///< Attempt to flush changes without previously calling set*VariableAs* since the last flush
|
||||
ERROR_parameter_invalid = 0x0602, ///< At least one of the supplied parameters did not meet the criteria for that parameter
|
||||
ERROR_parameter_not_found = 0x0603, ///< Failure to supply all the necessary parameters
|
||||
ERROR_parameter_convert = 0x0604, ///< Invalid type supplied for a parameter, such as passing a string (ie. "five") that expects a number.
|
||||
ERROR_parameter_invalid_size = 0x0605, ///< Value out of allowed range. Such as strings are too long/short or numeric values outside allowed range
|
||||
ERROR_parameter_missing = 0x0606, ///< Neglecting to specify a required parameter
|
||||
ERROR_parameter_checksum = 0x0607, ///< Attempting to deploy a modified snapshot
|
||||
// parameter
|
||||
ERROR_parameter_quote = 0x0600, // Not used
|
||||
ERROR_parameter_invalid_count =
|
||||
0x0601, ///< Attempt to flush changes without previously calling
|
||||
///< set*VariableAs* since the last flush
|
||||
ERROR_parameter_invalid =
|
||||
0x0602, ///< At least one of the supplied parameters did not meet the
|
||||
///< criteria for that parameter
|
||||
ERROR_parameter_not_found =
|
||||
0x0603, ///< Failure to supply all the necessary parameters
|
||||
ERROR_parameter_convert =
|
||||
0x0604, ///< Invalid type supplied for a parameter, such as passing a
|
||||
///< string (ie. "five") that expects a number.
|
||||
ERROR_parameter_invalid_size =
|
||||
0x0605, ///< Value out of allowed range. Such as strings are too
|
||||
///< long/short or numeric values outside allowed range
|
||||
ERROR_parameter_missing =
|
||||
0x0606, ///< Neglecting to specify a required parameter
|
||||
ERROR_parameter_checksum =
|
||||
0x0607, ///< Attempting to deploy a modified snapshot
|
||||
|
||||
//unsorted, need further investigation
|
||||
ERROR_vs_critical = 0x0700, ///< Failure to create default channel
|
||||
ERROR_connection_lost = 0x0701, ///< Generic error with the connection.
|
||||
ERROR_not_connected = 0x0702, ///< Attempting to call functions with a serverConnectionHandler that is not connected. You can use \ref ts3client_getConnectionStatus to check whether the connection handler is connected to a server
|
||||
ERROR_no_cached_connection_info = 0x0703, ///< Attempting to query connection information (bandwidth usage, ping, etc) without requesting them first using \ref ts3client_requestConnectionInfo
|
||||
ERROR_currently_not_possible = 0x0704, ///< Requested information is not currently available. You may have to call \ref ts3client_requestClientVariables or \ref ts3client_requestServerVariables
|
||||
ERROR_failed_connection_initialisation = 0x0705, ///< No TeamSpeak server running on the specified IP address and port
|
||||
ERROR_could_not_resolve_hostname = 0x0706, ///< Failure to resolve the specified hostname to an IP address
|
||||
ERROR_invalid_server_connection_handler_id = 0x0707, ///< Attempting to perform actions on a non-existent server connection handler
|
||||
ERROR_could_not_initialise_input_manager = 0x0708, // Not used
|
||||
ERROR_clientlibrary_not_initialised = 0x0709, ///< Calling client library functions without successfully calling \ref ts3client_initClientLib before
|
||||
ERROR_serverlibrary_not_initialised = 0x070a, ///< Calling server library functions without successfully calling \ref ts3server_initServerLib before
|
||||
ERROR_whisper_too_many_targets = 0x070b, ///< Using a whisper list that contain more clients than the servers \ref VIRTUALSERVER_MIN_CLIENTS_IN_CHANNEL_BEFORE_FORCED_SILENCE property
|
||||
ERROR_whisper_no_targets = 0x070c, ///< The active whisper list is empty or no clients matched the whisper list (e.g. all channels in the list are empty)
|
||||
ERROR_connection_ip_protocol_missing = 0x070d, ///< Invalid or unsupported protocol (e.g. attempting an IPv6 connection on an IPv4 only machine)
|
||||
ERROR_handshake_failed = 0x070e,
|
||||
ERROR_illegal_server_license = 0x070f,
|
||||
// unsorted, need further investigation
|
||||
ERROR_vs_critical = 0x0700, ///< Failure to create default channel
|
||||
ERROR_connection_lost = 0x0701, ///< Generic error with the connection.
|
||||
ERROR_not_connected =
|
||||
0x0702, ///< Attempting to call functions with a serverConnectionHandler
|
||||
///< that is not connected. You can use \ref
|
||||
///< ts3client_getConnectionStatus to check whether the
|
||||
///< connection handler is connected to a server
|
||||
ERROR_no_cached_connection_info =
|
||||
0x0703, ///< Attempting to query connection information (bandwidth
|
||||
///< usage, ping, etc) without requesting them first using \ref
|
||||
///< ts3client_requestConnectionInfo
|
||||
ERROR_currently_not_possible =
|
||||
0x0704, ///< Requested information is not currently available. You may
|
||||
///< have to call \ref ts3client_requestClientVariables or \ref
|
||||
///< ts3client_requestServerVariables
|
||||
ERROR_failed_connection_initialisation =
|
||||
0x0705, ///< No TeamSpeak server running on the specified IP address and
|
||||
///< port
|
||||
ERROR_could_not_resolve_hostname =
|
||||
0x0706, ///< Failure to resolve the specified hostname to an IP address
|
||||
ERROR_invalid_server_connection_handler_id =
|
||||
0x0707, ///< Attempting to perform actions on a non-existent server
|
||||
///< connection handler
|
||||
ERROR_could_not_initialise_input_manager = 0x0708, // Not used
|
||||
ERROR_clientlibrary_not_initialised =
|
||||
0x0709, ///< Calling client library functions without successfully
|
||||
///< calling \ref ts3client_initClientLib before
|
||||
ERROR_serverlibrary_not_initialised =
|
||||
0x070a, ///< Calling server library functions without successfully
|
||||
///< calling \ref ts3server_initServerLib before
|
||||
ERROR_whisper_too_many_targets =
|
||||
0x070b, ///< Using a whisper list that contain more clients than the
|
||||
///< servers \ref
|
||||
///< VIRTUALSERVER_MIN_CLIENTS_IN_CHANNEL_BEFORE_FORCED_SILENCE
|
||||
///< property
|
||||
ERROR_whisper_no_targets =
|
||||
0x070c, ///< The active whisper list is empty or no clients matched the
|
||||
///< whisper list (e.g. all channels in the list are empty)
|
||||
ERROR_connection_ip_protocol_missing =
|
||||
0x070d, ///< Invalid or unsupported protocol (e.g. attempting an IPv6
|
||||
///< connection on an IPv4 only machine)
|
||||
ERROR_handshake_failed = 0x070e,
|
||||
ERROR_illegal_server_license = 0x070f,
|
||||
|
||||
//file transfer
|
||||
ERROR_file_invalid_name = 0x0800, ///< Invalid UTF8 string or not a valid file
|
||||
ERROR_file_invalid_permissions = 0x0801, ///< Permissions prevent opening the file
|
||||
ERROR_file_already_exists = 0x0802, ///< Target path already exists as a directory
|
||||
ERROR_file_not_found = 0x0803, ///< Attempt to access or move non existing file
|
||||
ERROR_file_io_error = 0x0804, ///< Generic file input / output error
|
||||
ERROR_file_invalid_transfer_id = 0x0805, ///< Attempt to get information about a file transfer after it has already been cleaned up. File transfer information is not available indefinitely after the transfer completed
|
||||
ERROR_file_invalid_path = 0x0806, ///< specified path contains invalid characters or does not start with "/"
|
||||
ERROR_file_no_files_available = 0x0807, // Not used
|
||||
ERROR_file_overwrite_excludes_resume = 0x0808, ///< File overwrite and resume are mutually exclusive. Only one or neither can be 1.
|
||||
ERROR_file_invalid_size = 0x0809, ///< Attempt to write more bytes than claimed file size.
|
||||
ERROR_file_already_in_use = 0x080a, ///< File is currently not available, try again later.
|
||||
ERROR_file_could_not_open_connection = 0x080b, ///< Generic failure in file transfer connection / other party did not conform to file transfer protocol
|
||||
ERROR_file_no_space_left_on_device = 0x080c, ///< Operating system reports hard disk is full. May be caused by quota limitations.
|
||||
ERROR_file_exceeds_file_system_maximum_size = 0x080d, ///< File is too large for the file system of the target device.
|
||||
ERROR_file_transfer_connection_timeout = 0x080e, // Not used
|
||||
ERROR_file_connection_lost = 0x080f, ///< File input / output timeout or connection failure
|
||||
ERROR_file_exceeds_supplied_size = 0x0810, // Not used
|
||||
ERROR_file_transfer_complete = 0x0811, ///< Indicates successful completion
|
||||
ERROR_file_transfer_canceled = 0x0812, ///< Transfer was cancelled through @ref ts3client_haltTransfer
|
||||
ERROR_file_transfer_interrupted = 0x0813, ///< Transfer failed because the server is shutting down, or network connection issues
|
||||
ERROR_file_transfer_server_quota_exceeded = 0x0814, ///< Transfer terminated due to server bandwidth quota being exceeded. No client can transfer files.
|
||||
ERROR_file_transfer_client_quota_exceeded = 0x0815, ///< Attempt to transfer more data than allowed by this clients' bandwidth quota. Other clients may continue to transfer files.
|
||||
ERROR_file_transfer_reset = 0x0816, // Not used
|
||||
ERROR_file_transfer_limit_reached = 0x0817, ///< Too many file transfers are in progress. Try again later
|
||||
ERROR_file_invalid_storage_class = 0x0818, // TODO: Invalid storage class for HTTP FileTransfer (what is a storage class?)
|
||||
ERROR_file_invalid_dimension = 0x0819, ///< Avatar image exceeds maximum width or height accepted by the server.
|
||||
ERROR_file_transfer_channel_quota_exceeded = 0x081a, ///< Transfer failed because the channel quota was exceeded. Uploading to this channel is not possible, but other channels may be fine.
|
||||
// file transfer
|
||||
ERROR_file_invalid_name =
|
||||
0x0800, ///< Invalid UTF8 string or not a valid file
|
||||
ERROR_file_invalid_permissions =
|
||||
0x0801, ///< Permissions prevent opening the file
|
||||
ERROR_file_already_exists =
|
||||
0x0802, ///< Target path already exists as a directory
|
||||
ERROR_file_not_found =
|
||||
0x0803, ///< Attempt to access or move non existing file
|
||||
ERROR_file_io_error = 0x0804, ///< Generic file input / output error
|
||||
ERROR_file_invalid_transfer_id =
|
||||
0x0805, ///< Attempt to get information about a file transfer after it
|
||||
///< has already been cleaned up. File transfer information is
|
||||
///< not available indefinitely after the transfer completed
|
||||
ERROR_file_invalid_path = 0x0806, ///< specified path contains invalid
|
||||
///< characters or does not start with "/"
|
||||
ERROR_file_no_files_available = 0x0807, // Not used
|
||||
ERROR_file_overwrite_excludes_resume =
|
||||
0x0808, ///< File overwrite and resume are mutually exclusive. Only one
|
||||
///< or neither can be 1.
|
||||
ERROR_file_invalid_size =
|
||||
0x0809, ///< Attempt to write more bytes than claimed file size.
|
||||
ERROR_file_already_in_use =
|
||||
0x080a, ///< File is currently not available, try again later.
|
||||
ERROR_file_could_not_open_connection =
|
||||
0x080b, ///< Generic failure in file transfer connection / other party
|
||||
///< did not conform to file transfer protocol
|
||||
ERROR_file_no_space_left_on_device =
|
||||
0x080c, ///< Operating system reports hard disk is full. May be caused
|
||||
///< by quota limitations.
|
||||
ERROR_file_exceeds_file_system_maximum_size =
|
||||
0x080d, ///< File is too large for the file system of the target device.
|
||||
ERROR_file_transfer_connection_timeout = 0x080e, // Not used
|
||||
ERROR_file_connection_lost =
|
||||
0x080f, ///< File input / output timeout or connection failure
|
||||
ERROR_file_exceeds_supplied_size = 0x0810, // Not used
|
||||
ERROR_file_transfer_complete = 0x0811, ///< Indicates successful completion
|
||||
ERROR_file_transfer_canceled =
|
||||
0x0812, ///< Transfer was cancelled through @ref ts3client_haltTransfer
|
||||
ERROR_file_transfer_interrupted =
|
||||
0x0813, ///< Transfer failed because the server is shutting down, or
|
||||
///< network connection issues
|
||||
ERROR_file_transfer_server_quota_exceeded =
|
||||
0x0814, ///< Transfer terminated due to server bandwidth quota being
|
||||
///< exceeded. No client can transfer files.
|
||||
ERROR_file_transfer_client_quota_exceeded =
|
||||
0x0815, ///< Attempt to transfer more data than allowed by this clients'
|
||||
///< bandwidth quota. Other clients may continue to transfer
|
||||
///< files.
|
||||
ERROR_file_transfer_reset = 0x0816, // Not used
|
||||
ERROR_file_transfer_limit_reached =
|
||||
0x0817, ///< Too many file transfers are in progress. Try again later
|
||||
ERROR_file_invalid_storage_class =
|
||||
0x0818, // TODO: Invalid storage class for HTTP FileTransfer (what is a
|
||||
// storage class?)
|
||||
ERROR_file_invalid_dimension =
|
||||
0x0819, ///< Avatar image exceeds maximum width or height accepted by
|
||||
///< the server.
|
||||
ERROR_file_transfer_channel_quota_exceeded =
|
||||
0x081a, ///< Transfer failed because the channel quota was exceeded.
|
||||
///< Uploading to this channel is not possible, but other
|
||||
///< channels may be fine.
|
||||
|
||||
//sound
|
||||
ERROR_sound_preprocessor_disabled = 0x0900, ///< Cannot set or query pre processor variables with preprocessing disabled
|
||||
ERROR_sound_internal_preprocessor = 0x0901,
|
||||
ERROR_sound_internal_encoder = 0x0902,
|
||||
ERROR_sound_internal_playback = 0x0903,
|
||||
ERROR_sound_no_capture_device_available = 0x0904, ///< No audio capture devices are available
|
||||
ERROR_sound_no_playback_device_available = 0x0905, ///< No audio playback devices are available
|
||||
ERROR_sound_could_not_open_capture_device = 0x0906, ///< Error accessing audio device, or audio device does not support the requested mode
|
||||
ERROR_sound_could_not_open_playback_device = 0x0907, ///< Error accessing audio device, or audio device does not support the requested mode
|
||||
ERROR_sound_handler_has_device = 0x0908, ///< Attempt to open a sound device on a connection handler which already has an open device. Close the already open device first using \ref ts3client_closeCaptureDevice or \ref ts3client_closePlaybackDevice
|
||||
ERROR_sound_invalid_capture_device = 0x0909, ///< Attempt to use a device for capture that does not support capturing audio
|
||||
ERROR_sound_invalid_playback_device = 0x090a, ///< Attempt to use a device for playback that does not support playback of audio
|
||||
ERROR_sound_invalid_wave = 0x090b, ///< Attempt to use a non WAV file in \ref ts3client_playWaveFile or \ref ts3client_playWaveFileHandle
|
||||
ERROR_sound_unsupported_wave = 0x090c, ///< Unsupported wave file used in \ref ts3client_playWaveFile or \ref ts3client_playWaveFileHandle.
|
||||
ERROR_sound_open_wave = 0x090d, ///< Failure to open the specified sound file
|
||||
ERROR_sound_internal_capture = 0x090e,
|
||||
ERROR_sound_device_in_use = 0x090f, ///< Attempt to unregister a custom device that is being used. Close the device first using \ref ts3client_closeCaptureDevice or \ref ts3client_closePlaybackDevice
|
||||
ERROR_sound_device_already_registerred = 0x0910, ///< Attempt to register a custom device with a device id that has already been used in a previous call. Device ids must be unique.
|
||||
ERROR_sound_unknown_device = 0x0911, ///< Attempt to open, close, unregister or use a device which is not known. Custom devices must be registered before being used (see \ref ts3client_registerCustomDevice)
|
||||
ERROR_sound_unsupported_frequency = 0x0912,
|
||||
ERROR_sound_invalid_channel_count = 0x0913, ///< Invalid device audio channel count, must be > 0
|
||||
ERROR_sound_read_wave = 0x0914, ///< Failure to read sound samples from an opened wave file. Is this a valid wave file?
|
||||
ERROR_sound_need_more_data = 0x0915, // for internal purposes only
|
||||
ERROR_sound_device_busy = 0x0916, // for internal purposes only
|
||||
ERROR_sound_no_data = 0x0917, ///< Indicates there is currently no data for playback, e.g. nobody is speaking right now.
|
||||
ERROR_sound_channel_mask_mismatch = 0x0918, ///< Opening a device with an unsupported channel count
|
||||
// sound
|
||||
ERROR_sound_preprocessor_disabled =
|
||||
0x0900, ///< Cannot set or query pre processor variables with
|
||||
///< preprocessing disabled
|
||||
ERROR_sound_internal_preprocessor = 0x0901,
|
||||
ERROR_sound_internal_encoder = 0x0902,
|
||||
ERROR_sound_internal_playback = 0x0903,
|
||||
ERROR_sound_no_capture_device_available =
|
||||
0x0904, ///< No audio capture devices are available
|
||||
ERROR_sound_no_playback_device_available =
|
||||
0x0905, ///< No audio playback devices are available
|
||||
ERROR_sound_could_not_open_capture_device =
|
||||
0x0906, ///< Error accessing audio device, or audio device does not
|
||||
///< support the requested mode
|
||||
ERROR_sound_could_not_open_playback_device =
|
||||
0x0907, ///< Error accessing audio device, or audio device does not
|
||||
///< support the requested mode
|
||||
ERROR_sound_handler_has_device =
|
||||
0x0908, ///< Attempt to open a sound device on a connection handler
|
||||
///< which already has an open device. Close the already open
|
||||
///< device first using \ref ts3client_closeCaptureDevice or
|
||||
///< \ref ts3client_closePlaybackDevice
|
||||
ERROR_sound_invalid_capture_device =
|
||||
0x0909, ///< Attempt to use a device for capture that does not support
|
||||
///< capturing audio
|
||||
ERROR_sound_invalid_playback_device =
|
||||
0x090a, ///< Attempt to use a device for playback that does not support
|
||||
///< playback of audio
|
||||
ERROR_sound_invalid_wave =
|
||||
0x090b, ///< Attempt to use a non WAV file in \ref
|
||||
///< ts3client_playWaveFile or \ref ts3client_playWaveFileHandle
|
||||
ERROR_sound_unsupported_wave =
|
||||
0x090c, ///< Unsupported wave file used in \ref ts3client_playWaveFile
|
||||
///< or \ref ts3client_playWaveFileHandle.
|
||||
ERROR_sound_open_wave =
|
||||
0x090d, ///< Failure to open the specified sound file
|
||||
ERROR_sound_internal_capture = 0x090e,
|
||||
ERROR_sound_device_in_use =
|
||||
0x090f, ///< Attempt to unregister a custom device that is being used.
|
||||
///< Close the device first using \ref
|
||||
///< ts3client_closeCaptureDevice or \ref
|
||||
///< ts3client_closePlaybackDevice
|
||||
ERROR_sound_device_already_registerred =
|
||||
0x0910, ///< Attempt to register a custom device with a device id that
|
||||
///< has already been used in a previous call. Device ids must
|
||||
///< be unique.
|
||||
ERROR_sound_unknown_device =
|
||||
0x0911, ///< Attempt to open, close, unregister or use a device which is
|
||||
///< not known. Custom devices must be registered before being
|
||||
///< used (see \ref ts3client_registerCustomDevice)
|
||||
ERROR_sound_unsupported_frequency = 0x0912,
|
||||
ERROR_sound_invalid_channel_count =
|
||||
0x0913, ///< Invalid device audio channel count, must be > 0
|
||||
ERROR_sound_read_wave =
|
||||
0x0914, ///< Failure to read sound samples from an opened wave file. Is
|
||||
///< this a valid wave file?
|
||||
ERROR_sound_need_more_data = 0x0915, // for internal purposes only
|
||||
ERROR_sound_device_busy = 0x0916, // for internal purposes only
|
||||
ERROR_sound_no_data =
|
||||
0x0917, ///< Indicates there is currently no data for playback, e.g.
|
||||
///< nobody is speaking right now.
|
||||
ERROR_sound_channel_mask_mismatch =
|
||||
0x0918, ///< Opening a device with an unsupported channel count
|
||||
|
||||
//permissions
|
||||
ERROR_permissions_client_insufficient = 0x0a08, ///< Not enough permissions to perform the requested activity
|
||||
ERROR_permissions = 0x0a0c, ///< Permissions to use sound device not granted by operating system, e.g. Windows denied microphone access.
|
||||
// permissions
|
||||
ERROR_permissions_client_insufficient =
|
||||
0x0a08, ///< Not enough permissions to perform the requested activity
|
||||
ERROR_permissions =
|
||||
0x0a0c, ///< Permissions to use sound device not granted by operating
|
||||
///< system, e.g. Windows denied microphone access.
|
||||
|
||||
//accounting
|
||||
ERROR_accounting_virtualserver_limit_reached = 0x0b00, ///< Attempt to use more virtual servers than allowed by the license
|
||||
ERROR_accounting_slot_limit_reached = 0x0b01, ///< Attempt to set more slots than allowed by the license
|
||||
ERROR_accounting_license_file_not_found = 0x0b02, // Not used
|
||||
ERROR_accounting_license_date_not_ok = 0x0b03, ///< License expired or not valid yet
|
||||
ERROR_accounting_unable_to_connect_to_server = 0x0b04, ///< Failure to communicate with accounting backend
|
||||
ERROR_accounting_unknown_error = 0x0b05, ///< Failure to write update license file
|
||||
ERROR_accounting_server_error = 0x0b06, // Not used
|
||||
ERROR_accounting_instance_limit_reached = 0x0b07, ///< More than one process of the server is running
|
||||
ERROR_accounting_instance_check_error = 0x0b08, ///< Shared memory access failure.
|
||||
ERROR_accounting_license_file_invalid = 0x0b09, ///< License is not a TeamSpeak license
|
||||
ERROR_accounting_running_elsewhere = 0x0b0a, ///< A copy of this server is already running in another instance. Each server may only exist once.
|
||||
ERROR_accounting_instance_duplicated = 0x0b0b, ///< A copy of this server is running already in this process. Each server may only exist once.
|
||||
ERROR_accounting_already_started = 0x0b0c, ///< Attempt to start a server that is already running
|
||||
ERROR_accounting_not_started = 0x0b0d,
|
||||
ERROR_accounting_to_many_starts = 0x0b0e, ///< Starting instance / virtual servers too often in too short a time period
|
||||
// accounting
|
||||
ERROR_accounting_virtualserver_limit_reached =
|
||||
0x0b00, ///< Attempt to use more virtual servers than allowed by the
|
||||
///< license
|
||||
ERROR_accounting_slot_limit_reached =
|
||||
0x0b01, ///< Attempt to set more slots than allowed by the license
|
||||
ERROR_accounting_license_file_not_found = 0x0b02, // Not used
|
||||
ERROR_accounting_license_date_not_ok =
|
||||
0x0b03, ///< License expired or not valid yet
|
||||
ERROR_accounting_unable_to_connect_to_server =
|
||||
0x0b04, ///< Failure to communicate with accounting backend
|
||||
ERROR_accounting_unknown_error =
|
||||
0x0b05, ///< Failure to write update license file
|
||||
ERROR_accounting_server_error = 0x0b06, // Not used
|
||||
ERROR_accounting_instance_limit_reached =
|
||||
0x0b07, ///< More than one process of the server is running
|
||||
ERROR_accounting_instance_check_error =
|
||||
0x0b08, ///< Shared memory access failure.
|
||||
ERROR_accounting_license_file_invalid =
|
||||
0x0b09, ///< License is not a TeamSpeak license
|
||||
ERROR_accounting_running_elsewhere =
|
||||
0x0b0a, ///< A copy of this server is already running in another
|
||||
///< instance. Each server may only exist once.
|
||||
ERROR_accounting_instance_duplicated =
|
||||
0x0b0b, ///< A copy of this server is running already in this process.
|
||||
///< Each server may only exist once.
|
||||
ERROR_accounting_already_started =
|
||||
0x0b0c, ///< Attempt to start a server that is already running
|
||||
ERROR_accounting_not_started = 0x0b0d,
|
||||
ERROR_accounting_to_many_starts =
|
||||
0x0b0e, ///< Starting instance / virtual servers too often in too short
|
||||
///< a time period
|
||||
|
||||
//provisioning server
|
||||
/// @cond HAS_PROVISIONING
|
||||
ERROR_provisioning_invalid_password = 0x1100,
|
||||
ERROR_provisioning_invalid_request = 0x1101,
|
||||
ERROR_provisioning_no_slots_available = 0x1102,
|
||||
ERROR_provisioning_pool_missing = 0x1103,
|
||||
ERROR_provisioning_pool_unknown = 0x1104,
|
||||
ERROR_provisioning_unknown_ip_location = 0x1105,
|
||||
ERROR_provisioning_internal_tries_exceeded = 0x1106,
|
||||
ERROR_provisioning_too_many_slots_requested = 0x1107,
|
||||
ERROR_provisioning_too_many_reserved = 0x1108,
|
||||
ERROR_provisioning_could_not_connect = 0x1109,
|
||||
ERROR_provisioning_auth_server_not_connected = 0x1110,
|
||||
ERROR_provisioning_auth_data_too_large = 0x1111,
|
||||
ERROR_provisioning_already_initialized = 0x1112,
|
||||
ERROR_provisioning_not_initialized = 0x1113,
|
||||
ERROR_provisioning_connecting = 0x1114,
|
||||
ERROR_provisioning_already_connected = 0x1115,
|
||||
ERROR_provisioning_not_connected = 0x1116,
|
||||
ERROR_provisioning_io_error = 0x1117,
|
||||
ERROR_provisioning_invalid_timeout = 0x1118,
|
||||
ERROR_provisioning_ts3server_not_found = 0x1119,
|
||||
ERROR_provisioning_no_permission = 0x111A,
|
||||
/// @endcond
|
||||
// provisioning server
|
||||
/// @cond HAS_PROVISIONING
|
||||
ERROR_provisioning_invalid_password = 0x1100,
|
||||
ERROR_provisioning_invalid_request = 0x1101,
|
||||
ERROR_provisioning_no_slots_available = 0x1102,
|
||||
ERROR_provisioning_pool_missing = 0x1103,
|
||||
ERROR_provisioning_pool_unknown = 0x1104,
|
||||
ERROR_provisioning_unknown_ip_location = 0x1105,
|
||||
ERROR_provisioning_internal_tries_exceeded = 0x1106,
|
||||
ERROR_provisioning_too_many_slots_requested = 0x1107,
|
||||
ERROR_provisioning_too_many_reserved = 0x1108,
|
||||
ERROR_provisioning_could_not_connect = 0x1109,
|
||||
ERROR_provisioning_auth_server_not_connected = 0x1110,
|
||||
ERROR_provisioning_auth_data_too_large = 0x1111,
|
||||
ERROR_provisioning_already_initialized = 0x1112,
|
||||
ERROR_provisioning_not_initialized = 0x1113,
|
||||
ERROR_provisioning_connecting = 0x1114,
|
||||
ERROR_provisioning_already_connected = 0x1115,
|
||||
ERROR_provisioning_not_connected = 0x1116,
|
||||
ERROR_provisioning_io_error = 0x1117,
|
||||
ERROR_provisioning_invalid_timeout = 0x1118,
|
||||
ERROR_provisioning_ts3server_not_found = 0x1119,
|
||||
ERROR_provisioning_no_permission = 0x111A,
|
||||
/// @endcond
|
||||
};
|
||||
#endif
|
||||
@@ -1,108 +1,109 @@
|
||||
#ifndef PUBLIC_ERRORS__RARE_H
|
||||
#define PUBLIC_ERRORS__RARE_H
|
||||
|
||||
//The idea here is: the values are 2 bytes wide, the first byte identifies the group, the second the count within that group
|
||||
// The idea here is: the values are 2 bytes wide, the first byte identifies the
|
||||
// group, the second the count within that group
|
||||
|
||||
enum Ts3RareErrorType {
|
||||
//client
|
||||
ERROR_client_too_many_clones_connected = 0x0209,
|
||||
ERROR_client_is_online = 0x020b,
|
||||
// client
|
||||
ERROR_client_too_many_clones_connected = 0x0209,
|
||||
ERROR_client_is_online = 0x020b,
|
||||
|
||||
//channel
|
||||
ERROR_channel_is_private_channel = 0x030e,
|
||||
//note 0x030f is defined in public_errors;
|
||||
// channel
|
||||
ERROR_channel_is_private_channel = 0x030e,
|
||||
// note 0x030f is defined in public_errors;
|
||||
|
||||
//database
|
||||
ERROR_database = 0x0500,
|
||||
ERROR_database_empty_result = 0x0501,
|
||||
ERROR_database_duplicate_entry = 0x0502,
|
||||
ERROR_database_no_modifications = 0x0503,
|
||||
ERROR_database_constraint = 0x0504,
|
||||
ERROR_database_reinvoke = 0x0505,
|
||||
// database
|
||||
ERROR_database = 0x0500,
|
||||
ERROR_database_empty_result = 0x0501,
|
||||
ERROR_database_duplicate_entry = 0x0502,
|
||||
ERROR_database_no_modifications = 0x0503,
|
||||
ERROR_database_constraint = 0x0504,
|
||||
ERROR_database_reinvoke = 0x0505,
|
||||
|
||||
//permissions
|
||||
ERROR_permission_invalid_group_id = 0x0a00,
|
||||
ERROR_permission_duplicate_entry = 0x0a01,
|
||||
ERROR_permission_invalid_perm_id = 0x0a02,
|
||||
ERROR_permission_empty_result = 0x0a03,
|
||||
ERROR_permission_default_group_forbidden = 0x0a04,
|
||||
ERROR_permission_invalid_size = 0x0a05,
|
||||
ERROR_permission_invalid_value = 0x0a06,
|
||||
ERROR_permissions_group_not_empty = 0x0a07,
|
||||
ERROR_permissions_insufficient_group_power = 0x0a09,
|
||||
ERROR_permissions_insufficient_permission_power = 0x0a0a,
|
||||
ERROR_permission_template_group_is_used = 0x0a0b,
|
||||
//0x0a0c is in public_errors.h
|
||||
ERROR_permission_used_by_integration = 0x0a0d,
|
||||
// permissions
|
||||
ERROR_permission_invalid_group_id = 0x0a00,
|
||||
ERROR_permission_duplicate_entry = 0x0a01,
|
||||
ERROR_permission_invalid_perm_id = 0x0a02,
|
||||
ERROR_permission_empty_result = 0x0a03,
|
||||
ERROR_permission_default_group_forbidden = 0x0a04,
|
||||
ERROR_permission_invalid_size = 0x0a05,
|
||||
ERROR_permission_invalid_value = 0x0a06,
|
||||
ERROR_permissions_group_not_empty = 0x0a07,
|
||||
ERROR_permissions_insufficient_group_power = 0x0a09,
|
||||
ERROR_permissions_insufficient_permission_power = 0x0a0a,
|
||||
ERROR_permission_template_group_is_used = 0x0a0b,
|
||||
// 0x0a0c is in public_errors.h
|
||||
ERROR_permission_used_by_integration = 0x0a0d,
|
||||
|
||||
//server
|
||||
ERROR_server_deployment_active = 0x0405,
|
||||
ERROR_server_unable_to_stop_own_server = 0x0406,
|
||||
ERROR_server_wrong_machineid = 0x0408,
|
||||
ERROR_server_modal_quit = 0x040c,
|
||||
ERROR_server_time_difference_too_large = 0x040f,
|
||||
ERROR_server_blacklisted = 0x0410,
|
||||
ERROR_server_shutdown = 0x0411,
|
||||
// server
|
||||
ERROR_server_deployment_active = 0x0405,
|
||||
ERROR_server_unable_to_stop_own_server = 0x0406,
|
||||
ERROR_server_wrong_machineid = 0x0408,
|
||||
ERROR_server_modal_quit = 0x040c,
|
||||
ERROR_server_time_difference_too_large = 0x040f,
|
||||
ERROR_server_blacklisted = 0x0410,
|
||||
ERROR_server_shutdown = 0x0411,
|
||||
|
||||
//messages
|
||||
ERROR_message_invalid_id = 0x0c00,
|
||||
// messages
|
||||
ERROR_message_invalid_id = 0x0c00,
|
||||
|
||||
//ban
|
||||
ERROR_ban_invalid_id = 0x0d00,
|
||||
ERROR_connect_failed_banned = 0x0d01,
|
||||
ERROR_rename_failed_banned = 0x0d02,
|
||||
ERROR_ban_flooding = 0x0d03,
|
||||
// ban
|
||||
ERROR_ban_invalid_id = 0x0d00,
|
||||
ERROR_connect_failed_banned = 0x0d01,
|
||||
ERROR_rename_failed_banned = 0x0d02,
|
||||
ERROR_ban_flooding = 0x0d03,
|
||||
|
||||
//tts
|
||||
ERROR_tts_unable_to_initialize = 0x0e00,
|
||||
// tts
|
||||
ERROR_tts_unable_to_initialize = 0x0e00,
|
||||
|
||||
//privilege key
|
||||
ERROR_privilege_key_invalid = 0x0f00,
|
||||
// privilege key
|
||||
ERROR_privilege_key_invalid = 0x0f00,
|
||||
|
||||
//voip
|
||||
ERROR_voip_pjsua = 0x1000,
|
||||
ERROR_voip_already_initialized = 0x1001,
|
||||
ERROR_voip_too_many_accounts = 0x1002,
|
||||
ERROR_voip_invalid_account = 0x1003,
|
||||
ERROR_voip_internal_error = 0x1004,
|
||||
ERROR_voip_invalid_connectionId = 0x1005,
|
||||
ERROR_voip_cannot_answer_initiated_call = 0x1006,
|
||||
ERROR_voip_not_initialized = 0x1007,
|
||||
// voip
|
||||
ERROR_voip_pjsua = 0x1000,
|
||||
ERROR_voip_already_initialized = 0x1001,
|
||||
ERROR_voip_too_many_accounts = 0x1002,
|
||||
ERROR_voip_invalid_account = 0x1003,
|
||||
ERROR_voip_internal_error = 0x1004,
|
||||
ERROR_voip_invalid_connectionId = 0x1005,
|
||||
ERROR_voip_cannot_answer_initiated_call = 0x1006,
|
||||
ERROR_voip_not_initialized = 0x1007,
|
||||
|
||||
//mytsid - client
|
||||
ERROR_invalid_mytsid_data = 0x1200,
|
||||
ERROR_invalid_integration = 0x1201,
|
||||
ERROR_mytsid_needed = 0x1202,
|
||||
// mytsid - client
|
||||
ERROR_invalid_mytsid_data = 0x1200,
|
||||
ERROR_invalid_integration = 0x1201,
|
||||
ERROR_mytsid_needed = 0x1202,
|
||||
|
||||
//ed25519
|
||||
ERROR_ed25519_rng_fail = 0x1300,
|
||||
ERROR_ed25519_signature_invalid = 0x1301,
|
||||
ERROR_ed25519_invalid_key = 0x1302,
|
||||
ERROR_ed25519_unable_to_create_valid_key = 0x1303,
|
||||
ERROR_ed25519_out_of_memory = 0x1304,
|
||||
ERROR_ed25519_exists = 0x1305,
|
||||
ERROR_ed25519_read_beyond_eof = 0x1306,
|
||||
ERROR_ed25519_write_beyond_eof = 0x1307,
|
||||
ERROR_ed25519_version = 0x1308,
|
||||
ERROR_ed25519_invalid = 0x1309,
|
||||
ERROR_ed25519_invalid_date = 0x130A,
|
||||
ERROR_ed25519_unauthorized = 0x130B,
|
||||
ERROR_ed25519_invalid_type = 0x130C,
|
||||
ERROR_ed25519_address_nomatch = 0x130D,
|
||||
ERROR_ed25519_not_valid_yet = 0x130E,
|
||||
ERROR_ed25519_expired = 0x130F,
|
||||
ERROR_ed25519_index_out_of_range = 0x1310,
|
||||
ERROR_ed25519_invalid_size = 0x1311,
|
||||
// ed25519
|
||||
ERROR_ed25519_rng_fail = 0x1300,
|
||||
ERROR_ed25519_signature_invalid = 0x1301,
|
||||
ERROR_ed25519_invalid_key = 0x1302,
|
||||
ERROR_ed25519_unable_to_create_valid_key = 0x1303,
|
||||
ERROR_ed25519_out_of_memory = 0x1304,
|
||||
ERROR_ed25519_exists = 0x1305,
|
||||
ERROR_ed25519_read_beyond_eof = 0x1306,
|
||||
ERROR_ed25519_write_beyond_eof = 0x1307,
|
||||
ERROR_ed25519_version = 0x1308,
|
||||
ERROR_ed25519_invalid = 0x1309,
|
||||
ERROR_ed25519_invalid_date = 0x130A,
|
||||
ERROR_ed25519_unauthorized = 0x130B,
|
||||
ERROR_ed25519_invalid_type = 0x130C,
|
||||
ERROR_ed25519_address_nomatch = 0x130D,
|
||||
ERROR_ed25519_not_valid_yet = 0x130E,
|
||||
ERROR_ed25519_expired = 0x130F,
|
||||
ERROR_ed25519_index_out_of_range = 0x1310,
|
||||
ERROR_ed25519_invalid_size = 0x1311,
|
||||
|
||||
//api key
|
||||
ERROR_apikey_outofscope = 0x1400,
|
||||
ERROR_apikey_crypto_error = 0x1401,
|
||||
ERROR_apikey_invalid = 0x1402,
|
||||
ERROR_apikey_invalid_id = 0x1403,
|
||||
ERROR_apikey_missing = 0x1404,
|
||||
// api key
|
||||
ERROR_apikey_outofscope = 0x1400,
|
||||
ERROR_apikey_crypto_error = 0x1401,
|
||||
ERROR_apikey_invalid = 0x1402,
|
||||
ERROR_apikey_invalid_id = 0x1403,
|
||||
ERROR_apikey_missing = 0x1404,
|
||||
|
||||
//homebase
|
||||
ERROR_homebase_no_slots_available = 0x1500,
|
||||
// homebase
|
||||
ERROR_homebase_no_slots_available = 0x1500,
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "public_definitions.h"
|
||||
|
||||
//limited length, measured in characters
|
||||
// limited length, measured in characters
|
||||
#define TS3_MAX_SIZE_CLIENT_NICKNAME_NONSDK 30
|
||||
#define TS3_MIN_SIZE_CLIENT_NICKNAME_NONSDK 3
|
||||
#define TS3_MAX_SIZE_AWAY_MESSAGE 80
|
||||
@@ -18,351 +18,507 @@
|
||||
#define TS3_MAX_SIZE_OFFLINE_MESSAGE_SUBJECT 200
|
||||
#define TS3_MAX_SIZE_USER_TAG 100
|
||||
|
||||
//limited length, measured in bytes (utf8 encoded)
|
||||
// limited length, measured in bytes (utf8 encoded)
|
||||
#define TS3_MAX_SIZE_PLUGIN_COMMAND 1024 * 8
|
||||
#define TS3_MAX_SIZE_VIRTUALSERVER_HOSTBANNER_GFX_URL 2000
|
||||
|
||||
enum GroupShowNameTreeMode {
|
||||
GroupShowNameTreeMode_NONE = 0, //dont group show name
|
||||
GroupShowNameTreeMode_BEFORE, //show group name before client name
|
||||
GroupShowNameTreeMode_BEHIND //show group name behind client name
|
||||
GroupShowNameTreeMode_NONE = 0, // dont group show name
|
||||
GroupShowNameTreeMode_BEFORE, // show group name before client name
|
||||
GroupShowNameTreeMode_BEHIND // show group name behind client name
|
||||
};
|
||||
|
||||
enum PluginTargetMode {
|
||||
PluginCommandTarget_CURRENT_CHANNEL = 0, //send plugincmd to all clients in current channel
|
||||
PluginCommandTarget_SERVER, //send plugincmd to all clients on server
|
||||
PluginCommandTarget_CLIENT, //send plugincmd to all given client ids
|
||||
PluginCommandTarget_CURRENT_CHANNEL_SUBSCRIBED_CLIENTS, //send plugincmd to all subscribed clients in current channel
|
||||
PluginCommandTarget_MAX
|
||||
PluginCommandTarget_CURRENT_CHANNEL =
|
||||
0, // send plugincmd to all clients in current channel
|
||||
PluginCommandTarget_SERVER, // send plugincmd to all clients on server
|
||||
PluginCommandTarget_CLIENT, // send plugincmd to all given client ids
|
||||
PluginCommandTarget_CURRENT_CHANNEL_SUBSCRIBED_CLIENTS, // send plugincmd to
|
||||
// all subscribed
|
||||
// clients in
|
||||
// current channel
|
||||
PluginCommandTarget_MAX
|
||||
};
|
||||
|
||||
enum {
|
||||
SERVER_BINDING_VIRTUALSERVER = 0,
|
||||
SERVER_BINDING_SERVERQUERY = 1,
|
||||
SERVER_BINDING_FILETRANSFER = 2,
|
||||
SERVER_BINDING_VIRTUALSERVER = 0,
|
||||
SERVER_BINDING_SERVERQUERY = 1,
|
||||
SERVER_BINDING_FILETRANSFER = 2,
|
||||
};
|
||||
|
||||
enum HostMessageMode {
|
||||
HostMessageMode_NONE = 0, //dont display anything
|
||||
HostMessageMode_LOG, //display message inside log
|
||||
HostMessageMode_MODAL, //display message inside a modal dialog
|
||||
HostMessageMode_MODALQUIT //display message inside a modal dialog and quit/close server/connection
|
||||
HostMessageMode_NONE = 0, // dont display anything
|
||||
HostMessageMode_LOG, // display message inside log
|
||||
HostMessageMode_MODAL, // display message inside a modal dialog
|
||||
HostMessageMode_MODALQUIT // display message inside a modal dialog and
|
||||
// quit/close server/connection
|
||||
};
|
||||
|
||||
enum HostBannerMode {
|
||||
HostBannerMode_NO_ADJUST = 0, //Do not adjust
|
||||
HostBannerMode_ADJUST_IGNORE_ASPECT, //Adjust but ignore aspect ratio
|
||||
HostBannerMode_ADJUST_KEEP_ASPECT, //Adjust and keep aspect ratio
|
||||
HostBannerMode_NO_ADJUST = 0, // Do not adjust
|
||||
HostBannerMode_ADJUST_IGNORE_ASPECT, // Adjust but ignore aspect ratio
|
||||
HostBannerMode_ADJUST_KEEP_ASPECT, // Adjust and keep aspect ratio
|
||||
};
|
||||
|
||||
enum ClientType {
|
||||
ClientType_NORMAL = 0,
|
||||
ClientType_SERVERQUERY,
|
||||
ClientType_NORMAL = 0,
|
||||
ClientType_SERVERQUERY,
|
||||
};
|
||||
|
||||
enum AwayStatus {
|
||||
AWAY_NONE = 0,
|
||||
AWAY_ZZZ,
|
||||
AWAY_NONE = 0,
|
||||
AWAY_ZZZ,
|
||||
};
|
||||
|
||||
enum CommandLinePropertiesRare {
|
||||
#ifdef SERVER
|
||||
COMMANDLINE_CREATE_DEFAULT_VIRTUALSERVER = 0, //create default virtualserver
|
||||
COMMANDLINE_MACHINE_ID, //machine id (starts only virtualserver with given machineID
|
||||
COMMANDLINE_DEFAULT_VOICE_PORT,
|
||||
COMMANDLINE_VOICE_IP,
|
||||
COMMANDLINE_THREADS_VOICE_UDP,
|
||||
COMMANDLINE_LICENSEPATH,
|
||||
COMMANDLINE_YAMLFILE,
|
||||
COMMANDLINE_CREATE_DEFAULT_VIRTUALSERVER =
|
||||
0, // create default virtualserver
|
||||
COMMANDLINE_MACHINE_ID, // machine id (starts only virtualserver with given
|
||||
// machineID
|
||||
COMMANDLINE_DEFAULT_VOICE_PORT,
|
||||
COMMANDLINE_VOICE_IP,
|
||||
COMMANDLINE_THREADS_VOICE_UDP,
|
||||
COMMANDLINE_LICENSEPATH,
|
||||
COMMANDLINE_YAMLFILE,
|
||||
#ifndef TEAMSPEAK_SDK
|
||||
COMMANDLINE_FILETRANSFER_PORT,
|
||||
COMMANDLINE_FILETRANSFER_IP,
|
||||
COMMANDLINE_QUERY_PORT,
|
||||
COMMANDLINE_QUERY_IP,
|
||||
COMMANDLINE_QUERY_IP_ALLOWLIST,
|
||||
COMMANDLINE_QUERY_IP_DENYLIST,
|
||||
COMMANDLINE_CLEAR_DATABASE,
|
||||
COMMANDLINE_SERVERADMIN_PASSWORD,
|
||||
COMMANDLINE_DBPLUGIN,
|
||||
COMMANDLINE_DBPLUGINPARAMETER,
|
||||
COMMANDLINE_DBSQLPATH,
|
||||
COMMANDLINE_DBSQLCREATEPATH,
|
||||
COMMANDLINE_DBCONNECTIONS,
|
||||
COMMANDLINE_LOGPATH,
|
||||
COMMANDLINE_CREATEINIFILE,
|
||||
COMMANDLINE_INIFILE,
|
||||
COMMANDLINE_LOGQUERYCOMMANDS,
|
||||
COMMANDLINE_DBCLIENTKEEPDAYS,
|
||||
COMMANDLINE_NO_PERMISSION_UPDATE,
|
||||
COMMANDLINE_OPEN_WIN_CONSOLE,
|
||||
COMMANDLINE_NO_PASSWORD_DIALOG,
|
||||
COMMANDLINE_LOGAPPEND,
|
||||
COMMANDLINE_QUERY_SKIPBRUTEFORCECHECK,
|
||||
COMMANDLINE_QUERY_BUFFER_MB,
|
||||
COMMANDLINE_FILETRANSFER_PORT,
|
||||
COMMANDLINE_FILETRANSFER_IP,
|
||||
COMMANDLINE_QUERY_PORT,
|
||||
COMMANDLINE_QUERY_IP,
|
||||
COMMANDLINE_QUERY_IP_ALLOWLIST,
|
||||
COMMANDLINE_QUERY_IP_DENYLIST,
|
||||
COMMANDLINE_CLEAR_DATABASE,
|
||||
COMMANDLINE_SERVERADMIN_PASSWORD,
|
||||
COMMANDLINE_DBPLUGIN,
|
||||
COMMANDLINE_DBPLUGINPARAMETER,
|
||||
COMMANDLINE_DBSQLPATH,
|
||||
COMMANDLINE_DBSQLCREATEPATH,
|
||||
COMMANDLINE_DBCONNECTIONS,
|
||||
COMMANDLINE_LOGPATH,
|
||||
COMMANDLINE_CREATEINIFILE,
|
||||
COMMANDLINE_INIFILE,
|
||||
COMMANDLINE_LOGQUERYCOMMANDS,
|
||||
COMMANDLINE_DBCLIENTKEEPDAYS,
|
||||
COMMANDLINE_NO_PERMISSION_UPDATE,
|
||||
COMMANDLINE_OPEN_WIN_CONSOLE,
|
||||
COMMANDLINE_NO_PASSWORD_DIALOG,
|
||||
COMMANDLINE_LOGAPPEND,
|
||||
COMMANDLINE_QUERY_SKIPBRUTEFORCECHECK,
|
||||
COMMANDLINE_QUERY_BUFFER_MB,
|
||||
#endif
|
||||
COMMANDLINE_HTTP_PROXY,
|
||||
COMMANDLINE_HTTP_PROXY,
|
||||
#ifndef TEAMSPEAK_SDK
|
||||
COMMANDLINE_LICENSE_ACCEPTED,
|
||||
COMMANDLINE_SERVERQUERYDOCS_PATH,
|
||||
COMMANDLINE_QUERY_SSH_IP,
|
||||
COMMANDLINE_QUERY_SSH_PORT,
|
||||
COMMANDLINE_QUERY_PROTOCOLS,
|
||||
COMMANDLINE_QUERY_SSH_RSA_HOST_KEY,
|
||||
COMMANDLINE_QUERY_TIMEOUT,
|
||||
COMMANDLINE_VERSION,
|
||||
COMMANDLINE_CRASHDUMPSPATH,
|
||||
COMMANDLINE_DAEMON,
|
||||
COMMANDLINE_PID_FILE,
|
||||
COMMANDLINE_HINTS_ENABLED,
|
||||
COMMANDLINE_QUERY_HTTP_IP,
|
||||
COMMANDLINE_QUERY_HTTP_PORT,
|
||||
COMMANDLINE_QUERY_HTTPS_IP,
|
||||
COMMANDLINE_QUERY_HTTPS_PORT,
|
||||
COMMANDLINE_QUERY_HTTPS_CERTIFICATE_FILE,
|
||||
COMMANDLINE_QUERY_HTTPS_PRIVATE_KEY_FILE,
|
||||
COMMANDLINE_QUERY_POOL_SIZE,
|
||||
COMMANDLINE_MMDBPATH,
|
||||
COMMANDLINE_LOGQUERYTIMINGINTERVAL,
|
||||
COMMANDLINE_EVENT_TO_DB_LOGGING,
|
||||
COMMANDLINE_ADMINISTRATIVE_DOMAIN,
|
||||
COMMANDLINE_LICENSE_ACCEPTED,
|
||||
COMMANDLINE_SERVERQUERYDOCS_PATH,
|
||||
COMMANDLINE_QUERY_SSH_IP,
|
||||
COMMANDLINE_QUERY_SSH_PORT,
|
||||
COMMANDLINE_QUERY_PROTOCOLS,
|
||||
COMMANDLINE_QUERY_SSH_RSA_HOST_KEY,
|
||||
COMMANDLINE_QUERY_TIMEOUT,
|
||||
COMMANDLINE_VERSION,
|
||||
COMMANDLINE_CRASHDUMPSPATH,
|
||||
COMMANDLINE_DAEMON,
|
||||
COMMANDLINE_PID_FILE,
|
||||
COMMANDLINE_HINTS_ENABLED,
|
||||
COMMANDLINE_QUERY_HTTP_IP,
|
||||
COMMANDLINE_QUERY_HTTP_PORT,
|
||||
COMMANDLINE_QUERY_HTTPS_IP,
|
||||
COMMANDLINE_QUERY_HTTPS_PORT,
|
||||
COMMANDLINE_QUERY_HTTPS_CERTIFICATE_FILE,
|
||||
COMMANDLINE_QUERY_HTTPS_PRIVATE_KEY_FILE,
|
||||
COMMANDLINE_QUERY_POOL_SIZE,
|
||||
COMMANDLINE_MMDBPATH,
|
||||
COMMANDLINE_LOGQUERYTIMINGINTERVAL,
|
||||
COMMANDLINE_EVENT_TO_DB_LOGGING,
|
||||
COMMANDLINE_ADMINISTRATIVE_DOMAIN,
|
||||
#endif
|
||||
COMMANDLINE_WEBRTC_SERVER_ENABLED,
|
||||
COMMANDLINE_WEBRTC_SERVER_ENABLED,
|
||||
#else
|
||||
COMMANDLINE_NOTHING = 0,
|
||||
COMMANDLINE_NOTHING = 0,
|
||||
#endif
|
||||
COMMANDLINE_ENDMARKER_RARE,
|
||||
COMMANDLINE_ENDMARKER_RARE,
|
||||
};
|
||||
|
||||
enum ServerInstancePropertiesRare {
|
||||
SERVERINSTANCE_DATABASE_VERSION = 0,
|
||||
SERVERINSTANCE_FILETRANSFER_PORT,
|
||||
SERVERINSTANCE_SERVER_ENTROPY,
|
||||
SERVERINSTANCE_MONTHLY_TIMESTAMP,
|
||||
SERVERINSTANCE_MAX_DOWNLOAD_TOTAL_BANDWIDTH,
|
||||
SERVERINSTANCE_MAX_UPLOAD_TOTAL_BANDWIDTH,
|
||||
SERVERINSTANCE_GUEST_SERVERQUERY_GROUP,
|
||||
SERVERINSTANCE_SERVERQUERY_FLOOD_COMMANDS, //how many commands we can issue while in the SERVERINSTANCE_SERVERQUERY_FLOOD_TIME window
|
||||
SERVERINSTANCE_SERVERQUERY_FLOOD_TIME, //time window in seconds for max command execution check
|
||||
SERVERINSTANCE_SERVERQUERY_BAN_TIME, //how many seconds someone get banned if he floods
|
||||
SERVERINSTANCE_TEMPLATE_SERVERADMIN_GROUP,
|
||||
SERVERINSTANCE_TEMPLATE_SERVERDEFAULT_GROUP,
|
||||
SERVERINSTANCE_TEMPLATE_CHANNELADMIN_GROUP,
|
||||
SERVERINSTANCE_TEMPLATE_CHANNELDEFAULT_GROUP,
|
||||
SERVERINSTANCE_PERMISSIONS_VERSION,
|
||||
SERVERINSTANCE_PENDING_CONNECTIONS_PER_IP,
|
||||
SERVERINSTANCE_SERVERQUERY_MAX_CONNECTIONS_PER_IP,
|
||||
SERVERINSTANCE_MAX_HOMEBASES, //How many matrix homebase users this instance can have. -1 for no limit
|
||||
SERVERINSTANCE_ENDMARKER_RARE,
|
||||
SERVERINSTANCE_DATABASE_VERSION = 0,
|
||||
SERVERINSTANCE_FILETRANSFER_PORT,
|
||||
SERVERINSTANCE_SERVER_ENTROPY,
|
||||
SERVERINSTANCE_MONTHLY_TIMESTAMP,
|
||||
SERVERINSTANCE_MAX_DOWNLOAD_TOTAL_BANDWIDTH,
|
||||
SERVERINSTANCE_MAX_UPLOAD_TOTAL_BANDWIDTH,
|
||||
SERVERINSTANCE_GUEST_SERVERQUERY_GROUP,
|
||||
SERVERINSTANCE_SERVERQUERY_FLOOD_COMMANDS, // how many commands we can issue
|
||||
// while in the
|
||||
// SERVERINSTANCE_SERVERQUERY_FLOOD_TIME
|
||||
// window
|
||||
SERVERINSTANCE_SERVERQUERY_FLOOD_TIME, // time window in seconds for max
|
||||
// command execution check
|
||||
SERVERINSTANCE_SERVERQUERY_BAN_TIME, // how many seconds someone get banned
|
||||
// if he floods
|
||||
SERVERINSTANCE_TEMPLATE_SERVERADMIN_GROUP,
|
||||
SERVERINSTANCE_TEMPLATE_SERVERDEFAULT_GROUP,
|
||||
SERVERINSTANCE_TEMPLATE_CHANNELADMIN_GROUP,
|
||||
SERVERINSTANCE_TEMPLATE_CHANNELDEFAULT_GROUP,
|
||||
SERVERINSTANCE_PERMISSIONS_VERSION,
|
||||
SERVERINSTANCE_PENDING_CONNECTIONS_PER_IP,
|
||||
SERVERINSTANCE_SERVERQUERY_MAX_CONNECTIONS_PER_IP,
|
||||
SERVERINSTANCE_MAX_HOMEBASES, // How many matrix homebase users this
|
||||
// instance can have. -1 for no limit
|
||||
SERVERINSTANCE_ENDMARKER_RARE,
|
||||
};
|
||||
|
||||
enum VirtualServerPropertiesRare {
|
||||
VIRTUALSERVER_DUMMY_1 = VIRTUALSERVER_ENDMARKER,
|
||||
VIRTUALSERVER_DUMMY_2,
|
||||
VIRTUALSERVER_DUMMY_3,
|
||||
VIRTUALSERVER_DUMMY_4,
|
||||
VIRTUALSERVER_DUMMY_5,
|
||||
VIRTUALSERVER_DUMMY_6,
|
||||
VIRTUALSERVER_DUMMY_7,
|
||||
VIRTUALSERVER_DUMMY_8,
|
||||
VIRTUALSERVER_KEYPAIR, //internal use
|
||||
VIRTUALSERVER_HOSTMESSAGE, //available when connected, not updated while connected
|
||||
VIRTUALSERVER_HOSTMESSAGE_MODE, //available when connected, not updated while connected
|
||||
// VIRTUALSERVER_FILEBASE, // Moved to VirtualServerProperties due to SDK usage
|
||||
VIRTUALSERVER_DEFAULT_SERVER_GROUP = 25, //the client permissions server group that a new client gets assigned
|
||||
VIRTUALSERVER_DEFAULT_CHANNEL_GROUP, //the channel permissions group that a new client gets assigned when joining a channel
|
||||
VIRTUALSERVER_FLAG_PASSWORD, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_DEFAULT_CHANNEL_ADMIN_GROUP, //the channel permissions group that a client gets assigned when creating a channel
|
||||
// VIRTUALSERVER_MAX_DOWNLOAD_TOTAL_BANDWIDTH, // Moved to VirtualServerProperties due to SDK usage
|
||||
// VIRTUALSERVER_MAX_UPLOAD_TOTAL_BANDWIDTH, // Moved to VirtualServerProperties due to SDK usage
|
||||
VIRTUALSERVER_HOSTBANNER_URL = 31, //available when connected, always up-to-date
|
||||
VIRTUALSERVER_HOSTBANNER_GFX_URL, //available when connected, always up-to-date
|
||||
VIRTUALSERVER_HOSTBANNER_GFX_INTERVAL, //available when connected, always up-to-date
|
||||
VIRTUALSERVER_COMPLAIN_AUTOBAN_COUNT, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_COMPLAIN_AUTOBAN_TIME, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_COMPLAIN_REMOVE_TIME, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_MIN_CLIENTS_IN_CHANNEL_BEFORE_FORCED_SILENCE, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_PRIORITY_SPEAKER_DIMM_MODIFICATOR, //available when connected, always up-to-date
|
||||
VIRTUALSERVER_ID, //available when connected
|
||||
VIRTUALSERVER_ANTIFLOOD_POINTS_TICK_REDUCE, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_ANTIFLOOD_POINTS_NEEDED_COMMAND_BLOCK, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_ANTIFLOOD_POINTS_NEEDED_IP_BLOCK, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_CLIENT_CONNECTIONS, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_QUERY_CLIENT_CONNECTIONS, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_HOSTBUTTON_TOOLTIP, //available when connected, always up-to-date
|
||||
VIRTUALSERVER_HOSTBUTTON_URL, //available when connected, always up-to-date
|
||||
VIRTUALSERVER_HOSTBUTTON_GFX_URL, //available when connected, always up-to-date
|
||||
VIRTUALSERVER_QUERYCLIENTS_ONLINE, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_DOWNLOAD_QUOTA, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_UPLOAD_QUOTA, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_MONTH_BYTES_DOWNLOADED, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_MONTH_BYTES_UPLOADED, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_TOTAL_BYTES_DOWNLOADED, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_TOTAL_BYTES_UPLOADED, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_PORT, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_AUTOSTART, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_MACHINE_ID, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_NEEDED_IDENTITY_SECURITY_LEVEL, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_LOG_CLIENT, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_LOG_QUERY, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_LOG_CHANNEL, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_LOG_PERMISSIONS, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_LOG_SERVER, //only available on request (=> requestServerVariables)
|
||||
// VIRTUALSERVER_LOG_FILETRANSFER, // Moved to VirtualServerProperties due to SDK usage
|
||||
VIRTUALSERVER_MIN_CLIENT_VERSION = 65, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_NAME_PHONETIC, //available when connected, always up-to-date
|
||||
VIRTUALSERVER_ICON_ID, //available when connected, always up-to-date
|
||||
VIRTUALSERVER_RESERVED_SLOTS, //available when connected, always up-to-date
|
||||
VIRTUALSERVER_TOTAL_PACKETLOSS_SPEECH, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_TOTAL_PACKETLOSS_KEEPALIVE, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_TOTAL_PACKETLOSS_CONTROL, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_TOTAL_PACKETLOSS_TOTAL, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_TOTAL_PING, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_IP, //internal use | contains comma separated ip list
|
||||
VIRTUALSERVER_WEBLIST_ENABLED, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_AUTOGENERATED_PRIVILEGEKEY, //internal use
|
||||
VIRTUALSERVER_ASK_FOR_PRIVILEGEKEY, //available when connected
|
||||
VIRTUALSERVER_HOSTBANNER_MODE, //available when connected, always up-to-date
|
||||
VIRTUALSERVER_CHANNEL_TEMP_DELETE_DELAY_DEFAULT, //available when connected, always up-to-date
|
||||
VIRTUALSERVER_MIN_ANDROID_VERSION, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_MIN_IOS_VERSION, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_MIN_WINPHONE_VERSION, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_NICKNAME, //available when connected, always up-to-date
|
||||
VIRTUALSERVER_ACCOUNTING_TOKEN, //internal use | contains base64 encoded token data
|
||||
VIRTUALSERVER_PROTOCOL_VERIFY_KEYPAIR, //internal use
|
||||
VIRTUALSERVER_ANTIFLOOD_POINTS_NEEDED_PLUGIN_BLOCK, //only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_CAPABILITY_EXTENSIONS, //available when connected, not updated while connected
|
||||
VIRTUALSERVER_STORAGE_QUOTA, // Allowed filetransfer storage on this server (including chat attachments) in megabytes
|
||||
VIRTUALSERVER_WEBRTC_CERTIFICATE, //internal use
|
||||
VIRTUALSERVER_WEBRTC_PRIVATE_KEY, //internal use
|
||||
VIRTUALSERVER_UUID, //the uuid of the server (uuid v5 of VIRTUALSERVER_UNIQUE_IDENTIFIER)
|
||||
VIRTUALSERVER_ADMINISTRATIVE_DOMAIN, //The domain which is responsible for this teamspeak server (which hosts its .well-known file)
|
||||
VIRTUALSERVER_CANONICAL_NAME, //The canonical name under which the server is reachable
|
||||
VIRTUALSERVER_MYTSID_CONNECT_ONLY, //Only clients that have a valid mytsid can connect
|
||||
VIRTUALSERVER_MAX_HOMEBASES, //How many matrix homebases this virtual server supports. -1 = no limit
|
||||
VIRTUALSERVER_HOMEBASE_STORAGE_QUOTA, // Allowed filetransfer storage for homebase attachments in megabytes
|
||||
VIRTUALSERVER_ENDMARKER_RARE
|
||||
VIRTUALSERVER_DUMMY_1 = VIRTUALSERVER_ENDMARKER,
|
||||
VIRTUALSERVER_DUMMY_2,
|
||||
VIRTUALSERVER_DUMMY_3,
|
||||
VIRTUALSERVER_DUMMY_4,
|
||||
VIRTUALSERVER_DUMMY_5,
|
||||
VIRTUALSERVER_DUMMY_6,
|
||||
VIRTUALSERVER_DUMMY_7,
|
||||
VIRTUALSERVER_DUMMY_8,
|
||||
VIRTUALSERVER_KEYPAIR, // internal use
|
||||
VIRTUALSERVER_HOSTMESSAGE, // available when connected, not updated while
|
||||
// connected
|
||||
VIRTUALSERVER_HOSTMESSAGE_MODE, // available when connected, not updated
|
||||
// while connected VIRTUALSERVER_FILEBASE,
|
||||
//// Moved to VirtualServerProperties due to
|
||||
// SDK usage
|
||||
VIRTUALSERVER_DEFAULT_SERVER_GROUP =
|
||||
25, // the client permissions server group that a new client gets
|
||||
// assigned
|
||||
VIRTUALSERVER_DEFAULT_CHANNEL_GROUP, // the channel permissions group that a
|
||||
// new client gets assigned when
|
||||
// joining a channel
|
||||
VIRTUALSERVER_FLAG_PASSWORD, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_DEFAULT_CHANNEL_ADMIN_GROUP, // the channel permissions group
|
||||
// that a client gets assigned
|
||||
// when creating a channel
|
||||
// VIRTUALSERVER_MAX_DOWNLOAD_TOTAL_BANDWIDTH,
|
||||
//// Moved to
|
||||
// VirtualServerProperties due to
|
||||
// SDK usage
|
||||
// VIRTUALSERVER_MAX_UPLOAD_TOTAL_BANDWIDTH,
|
||||
//// Moved to
|
||||
// VirtualServerProperties due to
|
||||
// SDK usage
|
||||
VIRTUALSERVER_HOSTBANNER_URL =
|
||||
31, // available when connected, always up-to-date
|
||||
VIRTUALSERVER_HOSTBANNER_GFX_URL, // available when connected, always
|
||||
// up-to-date
|
||||
VIRTUALSERVER_HOSTBANNER_GFX_INTERVAL, // available when connected, always
|
||||
// up-to-date
|
||||
VIRTUALSERVER_COMPLAIN_AUTOBAN_COUNT, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_COMPLAIN_AUTOBAN_TIME, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_COMPLAIN_REMOVE_TIME, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_MIN_CLIENTS_IN_CHANNEL_BEFORE_FORCED_SILENCE, // only
|
||||
// available on
|
||||
// request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_PRIORITY_SPEAKER_DIMM_MODIFICATOR, // available when
|
||||
// connected, always
|
||||
// up-to-date
|
||||
VIRTUALSERVER_ID, // available when connected
|
||||
VIRTUALSERVER_ANTIFLOOD_POINTS_TICK_REDUCE, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_ANTIFLOOD_POINTS_NEEDED_COMMAND_BLOCK, // only available on
|
||||
// request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_ANTIFLOOD_POINTS_NEEDED_IP_BLOCK, // only available on request
|
||||
// (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_CLIENT_CONNECTIONS, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_QUERY_CLIENT_CONNECTIONS, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_HOSTBUTTON_TOOLTIP, // available when connected, always
|
||||
// up-to-date
|
||||
VIRTUALSERVER_HOSTBUTTON_URL, // available when connected, always up-to-date
|
||||
VIRTUALSERVER_HOSTBUTTON_GFX_URL, // available when connected, always
|
||||
// up-to-date
|
||||
VIRTUALSERVER_QUERYCLIENTS_ONLINE, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_DOWNLOAD_QUOTA, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_UPLOAD_QUOTA, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_MONTH_BYTES_DOWNLOADED, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_MONTH_BYTES_UPLOADED, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_TOTAL_BYTES_DOWNLOADED, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_TOTAL_BYTES_UPLOADED, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_PORT, // only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_AUTOSTART, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_MACHINE_ID, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_NEEDED_IDENTITY_SECURITY_LEVEL, // only available on request
|
||||
// (=> requestServerVariables)
|
||||
VIRTUALSERVER_LOG_CLIENT, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_LOG_QUERY, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_LOG_CHANNEL, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_LOG_PERMISSIONS, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_LOG_SERVER, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
// VIRTUALSERVER_LOG_FILETRANSFER, // Moved to
|
||||
// VirtualServerProperties due to SDK usage
|
||||
VIRTUALSERVER_MIN_CLIENT_VERSION =
|
||||
65, // only available on request (=> requestServerVariables)
|
||||
VIRTUALSERVER_NAME_PHONETIC, // available when connected, always up-to-date
|
||||
VIRTUALSERVER_ICON_ID, // available when connected, always up-to-date
|
||||
VIRTUALSERVER_RESERVED_SLOTS, // available when connected, always up-to-date
|
||||
VIRTUALSERVER_TOTAL_PACKETLOSS_SPEECH, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_TOTAL_PACKETLOSS_KEEPALIVE, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_TOTAL_PACKETLOSS_CONTROL, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_TOTAL_PACKETLOSS_TOTAL, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_TOTAL_PING, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_IP, // internal use | contains comma separated ip list
|
||||
VIRTUALSERVER_WEBLIST_ENABLED, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_AUTOGENERATED_PRIVILEGEKEY, // internal use
|
||||
VIRTUALSERVER_ASK_FOR_PRIVILEGEKEY, // available when connected
|
||||
VIRTUALSERVER_HOSTBANNER_MODE, // available when connected, always
|
||||
// up-to-date
|
||||
VIRTUALSERVER_CHANNEL_TEMP_DELETE_DELAY_DEFAULT, // available when
|
||||
// connected, always
|
||||
// up-to-date
|
||||
VIRTUALSERVER_MIN_ANDROID_VERSION, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_MIN_IOS_VERSION, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_MIN_WINPHONE_VERSION, // only available on request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_NICKNAME, // available when connected, always up-to-date
|
||||
VIRTUALSERVER_ACCOUNTING_TOKEN, // internal use | contains base64 encoded
|
||||
// token data
|
||||
VIRTUALSERVER_PROTOCOL_VERIFY_KEYPAIR, // internal use
|
||||
VIRTUALSERVER_ANTIFLOOD_POINTS_NEEDED_PLUGIN_BLOCK, // only available on
|
||||
// request (=>
|
||||
// requestServerVariables)
|
||||
VIRTUALSERVER_CAPABILITY_EXTENSIONS, // available when connected, not
|
||||
// updated while connected
|
||||
VIRTUALSERVER_STORAGE_QUOTA, // Allowed filetransfer storage on this server
|
||||
// (including chat attachments) in megabytes
|
||||
VIRTUALSERVER_WEBRTC_CERTIFICATE, // internal use
|
||||
VIRTUALSERVER_WEBRTC_PRIVATE_KEY, // internal use
|
||||
VIRTUALSERVER_UUID, // the uuid of the server (uuid v5 of
|
||||
// VIRTUALSERVER_UNIQUE_IDENTIFIER)
|
||||
VIRTUALSERVER_ADMINISTRATIVE_DOMAIN, // The domain which is responsible for
|
||||
// this teamspeak server (which hosts
|
||||
// its .well-known file)
|
||||
VIRTUALSERVER_CANONICAL_NAME, // The canonical name under which the server
|
||||
// is reachable
|
||||
VIRTUALSERVER_MYTSID_CONNECT_ONLY, // Only clients that have a valid mytsid
|
||||
// can connect
|
||||
VIRTUALSERVER_MAX_HOMEBASES, // How many matrix homebases this virtual
|
||||
// server supports. -1 = no limit
|
||||
VIRTUALSERVER_HOMEBASE_STORAGE_QUOTA, // Allowed filetransfer storage for
|
||||
// homebase attachments in megabytes
|
||||
VIRTUALSERVER_ENDMARKER_RARE
|
||||
};
|
||||
|
||||
enum ChannelPropertiesRare {
|
||||
CHANNEL_DUMMY_3 = CHANNEL_ENDMARKER,
|
||||
CHANNEL_DUMMY_4,
|
||||
CHANNEL_DUMMY_5,
|
||||
CHANNEL_DUMMY_6,
|
||||
CHANNEL_DUMMY_7,
|
||||
CHANNEL_FLAG_MAXCLIENTS_UNLIMITED, //Available for all channels that are "in view", always up-to-date
|
||||
CHANNEL_FLAG_MAXFAMILYCLIENTS_UNLIMITED, //Available for all channels that are "in view", always up-to-date
|
||||
CHANNEL_FLAG_MAXFAMILYCLIENTS_INHERITED, //Available for all channels that are "in view", always up-to-date
|
||||
CHANNEL_FLAG_ARE_SUBSCRIBED, //Only available client side, stores whether we are subscribed to this channel
|
||||
CHANNEL_FILEPATH, //not available client side, the folder used for file-transfers for this channel
|
||||
CHANNEL_NEEDED_TALK_POWER, //Available for all channels that are "in view", always up-to-date
|
||||
CHANNEL_FORCED_SILENCE, //Available for all channels that are "in view", always up-to-date
|
||||
CHANNEL_NAME_PHONETIC, //Available for all channels that are "in view", always up-to-date
|
||||
CHANNEL_ICON_ID, //Available for all channels that are "in view", always up-to-date
|
||||
CHANNEL_BANNER_GFX_URL, //Available for all channels that are "in view", always up-to-date
|
||||
CHANNEL_BANNER_MODE, //Available for all channels that are "in view", always up-to-date
|
||||
CHANNEL_PERMISSION_HINTS,
|
||||
CHANNEL_STORAGE_QUOTA, // Storage space that is allowed to be used by this channels files (in MiB)
|
||||
CHANNEL_ENDMARKER_RARE,
|
||||
CHANNEL_DELETE_DELAY_DEADLINE = 127 //(for clientlibv2) expected delete time in monotonic clock seconds or 0 if nothing is expected
|
||||
CHANNEL_DUMMY_3 = CHANNEL_ENDMARKER,
|
||||
CHANNEL_DUMMY_4,
|
||||
CHANNEL_DUMMY_5,
|
||||
CHANNEL_DUMMY_6,
|
||||
CHANNEL_DUMMY_7,
|
||||
CHANNEL_FLAG_MAXCLIENTS_UNLIMITED, // Available for all channels that are
|
||||
// "in view", always up-to-date
|
||||
CHANNEL_FLAG_MAXFAMILYCLIENTS_UNLIMITED, // Available for all channels that
|
||||
// are "in view", always up-to-date
|
||||
CHANNEL_FLAG_MAXFAMILYCLIENTS_INHERITED, // Available for all channels that
|
||||
// are "in view", always up-to-date
|
||||
CHANNEL_FLAG_ARE_SUBSCRIBED, // Only available client side, stores whether
|
||||
// we are subscribed to this channel
|
||||
CHANNEL_FILEPATH, // not available client side, the folder used for
|
||||
// file-transfers for this channel
|
||||
CHANNEL_NEEDED_TALK_POWER, // Available for all channels that are "in view",
|
||||
// always up-to-date
|
||||
CHANNEL_FORCED_SILENCE, // Available for all channels that are "in view",
|
||||
// always up-to-date
|
||||
CHANNEL_NAME_PHONETIC, // Available for all channels that are "in view",
|
||||
// always up-to-date
|
||||
CHANNEL_ICON_ID, // Available for all channels that are "in view", always
|
||||
// up-to-date
|
||||
CHANNEL_BANNER_GFX_URL, // Available for all channels that are "in view",
|
||||
// always up-to-date
|
||||
CHANNEL_BANNER_MODE, // Available for all channels that are "in view",
|
||||
// always up-to-date
|
||||
CHANNEL_PERMISSION_HINTS,
|
||||
CHANNEL_STORAGE_QUOTA, // Storage space that is allowed to be used by this
|
||||
// channels files (in MiB)
|
||||
CHANNEL_ENDMARKER_RARE,
|
||||
CHANNEL_DELETE_DELAY_DEADLINE =
|
||||
127 //(for clientlibv2) expected delete time in monotonic clock seconds
|
||||
// or 0 if nothing is expected
|
||||
};
|
||||
|
||||
enum ClientPropertiesRare {
|
||||
CLIENT_DUMMY_4 = CLIENT_ENDMARKER,
|
||||
CLIENT_DUMMY_5,
|
||||
CLIENT_DUMMY_6,
|
||||
CLIENT_DUMMY_7,
|
||||
CLIENT_DUMMY_8,
|
||||
CLIENT_DUMMY_9,
|
||||
CLIENT_KEY_OFFSET, //internal use
|
||||
CLIENT_LAST_VAR_REQUEST, //internal use
|
||||
CLIENT_LOGIN_NAME, //used for serverquery clients, makes no sense on normal clients currently
|
||||
CLIENT_LOGIN_PASSWORD, //used for serverquery clients, makes no sense on normal clients currently
|
||||
CLIENT_DATABASE_ID, //automatically up-to-date for any client "in view", only valid with PERMISSION feature, holds database client id
|
||||
CLIENT_CHANNEL_GROUP_ID, //automatically up-to-date for any client "in view", only valid with PERMISSION feature, holds database client id
|
||||
CLIENT_SERVERGROUPS, //automatically up-to-date for any client "in view", only valid with PERMISSION feature, holds all servergroups client belongs too
|
||||
CLIENT_CREATED, //this needs to be requested (=> requestClientVariables), first time this client connected to this server
|
||||
CLIENT_LASTCONNECTED, //this needs to be requested (=> requestClientVariables), last time this client connected to this server
|
||||
CLIENT_TOTALCONNECTIONS, //this needs to be requested (=> requestClientVariables), how many times this client connected to this server
|
||||
CLIENT_AWAY, //automatically up-to-date for any client "in view", this clients away status
|
||||
CLIENT_AWAY_MESSAGE, //automatically up-to-date for any client "in view", this clients away message
|
||||
CLIENT_TYPE, //automatically up-to-date for any client "in view", determines if this is a real client or a server-query connection
|
||||
CLIENT_FLAG_AVATAR, //automatically up-to-date for any client "in view", this client got an avatar
|
||||
CLIENT_TALK_POWER, //automatically up-to-date for any client "in view", only valid with PERMISSION feature, holds database client id
|
||||
CLIENT_TALK_REQUEST, //automatically up-to-date for any client "in view", only valid with PERMISSION feature, holds timestamp where client requested to talk
|
||||
CLIENT_TALK_REQUEST_MSG, //automatically up-to-date for any client "in view", only valid with PERMISSION feature, holds matter for the request
|
||||
CLIENT_DESCRIPTION, //automatically up-to-date for any client "in view"
|
||||
CLIENT_IS_TALKER, //automatically up-to-date for any client "in view"
|
||||
CLIENT_MONTH_BYTES_UPLOADED, //this needs to be requested (=> requestClientVariables)
|
||||
CLIENT_MONTH_BYTES_DOWNLOADED, //this needs to be requested (=> requestClientVariables)
|
||||
CLIENT_TOTAL_BYTES_UPLOADED, //this needs to be requested (=> requestClientVariables)
|
||||
CLIENT_TOTAL_BYTES_DOWNLOADED, //this needs to be requested (=> requestClientVariables)
|
||||
CLIENT_IS_PRIORITY_SPEAKER, //automatically up-to-date for any client "in view"
|
||||
CLIENT_UNREAD_MESSAGES, //automatically up-to-date for any client "in view"
|
||||
CLIENT_NICKNAME_PHONETIC, //automatically up-to-date for any client "in view"
|
||||
CLIENT_NEEDED_SERVERQUERY_VIEW_POWER, //automatically up-to-date for any client "in view"
|
||||
CLIENT_DEFAULT_TOKEN, //only usable for ourself, the default token we used to connect on our last connection attempt
|
||||
CLIENT_ICON_ID, //automatically up-to-date for any client "in view"
|
||||
CLIENT_IS_CHANNEL_COMMANDER, //automatically up-to-date for any client "in view"
|
||||
CLIENT_COUNTRY, //automatically up-to-date for any client "in view"
|
||||
CLIENT_CHANNEL_GROUP_INHERITED_CHANNEL_ID, //automatically up-to-date for any client "in view", only valid with PERMISSION feature, contains channel_id where the channel_group_id is set from
|
||||
CLIENT_BADGES, //automatically up-to-date for any client "in view", stores icons for partner badges
|
||||
CLIENT_MYTEAMSPEAK_ID, //automatically up-to-date for any client "in view", stores myteamspeak id
|
||||
CLIENT_INTEGRATIONS, //automatically up-to-date for any client "in view", stores integrations
|
||||
CLIENT_ACTIVE_INTEGRATIONS_INFO, //stores info from the myts server and contains the subscription info
|
||||
CLIENT_MYTS_AVATAR,
|
||||
CLIENT_SIGNED_BADGES,
|
||||
CLIENT_PERMISSION_HINTS,
|
||||
CLIENT_USER_TAG, //automatically up-to-date for any client "in view", stores public chat user tag
|
||||
CLIENT_ENDMARKER_RARE,
|
||||
CLIENT_HW_ID = 127 //(for clientlibv2) unique hardware id
|
||||
CLIENT_DUMMY_4 = CLIENT_ENDMARKER,
|
||||
CLIENT_DUMMY_5,
|
||||
CLIENT_DUMMY_6,
|
||||
CLIENT_DUMMY_7,
|
||||
CLIENT_DUMMY_8,
|
||||
CLIENT_DUMMY_9,
|
||||
CLIENT_KEY_OFFSET, // internal use
|
||||
CLIENT_LAST_VAR_REQUEST, // internal use
|
||||
CLIENT_LOGIN_NAME, // used for serverquery clients, makes no sense on normal
|
||||
// clients currently
|
||||
CLIENT_LOGIN_PASSWORD, // used for serverquery clients, makes no sense on
|
||||
// normal clients currently
|
||||
CLIENT_DATABASE_ID, // automatically up-to-date for any client "in view",
|
||||
// only valid with PERMISSION feature, holds database
|
||||
// client id
|
||||
CLIENT_CHANNEL_GROUP_ID, // automatically up-to-date for any client "in
|
||||
// view", only valid with PERMISSION feature, holds
|
||||
// database client id
|
||||
CLIENT_SERVERGROUPS, // automatically up-to-date for any client "in view",
|
||||
// only valid with PERMISSION feature, holds all
|
||||
// servergroups client belongs too
|
||||
CLIENT_CREATED, // this needs to be requested (=> requestClientVariables),
|
||||
// first time this client connected to this server
|
||||
CLIENT_LASTCONNECTED, // this needs to be requested (=>
|
||||
// requestClientVariables), last time this client
|
||||
// connected to this server
|
||||
CLIENT_TOTALCONNECTIONS, // this needs to be requested (=>
|
||||
// requestClientVariables), how many times this
|
||||
// client connected to this server
|
||||
CLIENT_AWAY, // automatically up-to-date for any client "in view", this
|
||||
// clients away status
|
||||
CLIENT_AWAY_MESSAGE, // automatically up-to-date for any client "in view",
|
||||
// this clients away message
|
||||
CLIENT_TYPE, // automatically up-to-date for any client "in view",
|
||||
// determines if this is a real client or a server-query
|
||||
// connection
|
||||
CLIENT_FLAG_AVATAR, // automatically up-to-date for any client "in view",
|
||||
// this client got an avatar
|
||||
CLIENT_TALK_POWER, // automatically up-to-date for any client "in view",
|
||||
// only valid with PERMISSION feature, holds database
|
||||
// client id
|
||||
CLIENT_TALK_REQUEST, // automatically up-to-date for any client "in view",
|
||||
// only valid with PERMISSION feature, holds timestamp
|
||||
// where client requested to talk
|
||||
CLIENT_TALK_REQUEST_MSG, // automatically up-to-date for any client "in
|
||||
// view", only valid with PERMISSION feature, holds
|
||||
// matter for the request
|
||||
CLIENT_DESCRIPTION, // automatically up-to-date for any client "in view"
|
||||
CLIENT_IS_TALKER, // automatically up-to-date for any client "in view"
|
||||
CLIENT_MONTH_BYTES_UPLOADED, // this needs to be requested (=>
|
||||
// requestClientVariables)
|
||||
CLIENT_MONTH_BYTES_DOWNLOADED, // this needs to be requested (=>
|
||||
// requestClientVariables)
|
||||
CLIENT_TOTAL_BYTES_UPLOADED, // this needs to be requested (=>
|
||||
// requestClientVariables)
|
||||
CLIENT_TOTAL_BYTES_DOWNLOADED, // this needs to be requested (=>
|
||||
// requestClientVariables)
|
||||
CLIENT_IS_PRIORITY_SPEAKER, // automatically up-to-date for any client "in
|
||||
// view"
|
||||
CLIENT_UNREAD_MESSAGES, // automatically up-to-date for any client "in view"
|
||||
CLIENT_NICKNAME_PHONETIC, // automatically up-to-date for any client "in
|
||||
// view"
|
||||
CLIENT_NEEDED_SERVERQUERY_VIEW_POWER, // automatically up-to-date for any
|
||||
// client "in view"
|
||||
CLIENT_DEFAULT_TOKEN, // only usable for ourself, the default token we used
|
||||
// to connect on our last connection attempt
|
||||
CLIENT_ICON_ID, // automatically up-to-date for any client "in view"
|
||||
CLIENT_IS_CHANNEL_COMMANDER, // automatically up-to-date for any client "in
|
||||
// view"
|
||||
CLIENT_COUNTRY, // automatically up-to-date for any client "in view"
|
||||
CLIENT_CHANNEL_GROUP_INHERITED_CHANNEL_ID, // automatically up-to-date for
|
||||
// any client "in view", only
|
||||
// valid with PERMISSION feature,
|
||||
// contains channel_id where the
|
||||
// channel_group_id is set from
|
||||
CLIENT_BADGES, // automatically up-to-date for any client "in view", stores
|
||||
// icons for partner badges
|
||||
CLIENT_MYTEAMSPEAK_ID, // automatically up-to-date for any client "in view",
|
||||
// stores myteamspeak id
|
||||
CLIENT_INTEGRATIONS, // automatically up-to-date for any client "in view",
|
||||
// stores integrations
|
||||
CLIENT_ACTIVE_INTEGRATIONS_INFO, // stores info from the myts server and
|
||||
// contains the subscription info
|
||||
CLIENT_MYTS_AVATAR,
|
||||
CLIENT_SIGNED_BADGES,
|
||||
CLIENT_PERMISSION_HINTS,
|
||||
CLIENT_USER_TAG, // automatically up-to-date for any client "in view",
|
||||
// stores public chat user tag
|
||||
CLIENT_ENDMARKER_RARE,
|
||||
CLIENT_HW_ID = 127 //(for clientlibv2) unique hardware id
|
||||
};
|
||||
|
||||
enum BBCodeTags {
|
||||
BBCodeTag_B = 0x00000001,
|
||||
BBCodeTag_I = 0x00000002,
|
||||
BBCodeTag_U = 0x00000004,
|
||||
BBCodeTag_S = 0x00000008,
|
||||
BBCodeTag_SUP = 0x00000010,
|
||||
BBCodeTag_SUB = 0x00000020,
|
||||
BBCodeTag_COLOR = 0x00000040,
|
||||
BBCodeTag_SIZE = 0x00000080,
|
||||
BBCodeTag_group_text = 0x000000FF,
|
||||
BBCodeTag_B = 0x00000001,
|
||||
BBCodeTag_I = 0x00000002,
|
||||
BBCodeTag_U = 0x00000004,
|
||||
BBCodeTag_S = 0x00000008,
|
||||
BBCodeTag_SUP = 0x00000010,
|
||||
BBCodeTag_SUB = 0x00000020,
|
||||
BBCodeTag_COLOR = 0x00000040,
|
||||
BBCodeTag_SIZE = 0x00000080,
|
||||
BBCodeTag_group_text = 0x000000FF,
|
||||
|
||||
BBCodeTag_LEFT = 0x00001000,
|
||||
BBCodeTag_RIGHT = 0x00002000,
|
||||
BBCodeTag_CENTER = 0x00004000,
|
||||
BBCodeTag_group_align = 0x00007000,
|
||||
BBCodeTag_LEFT = 0x00001000,
|
||||
BBCodeTag_RIGHT = 0x00002000,
|
||||
BBCodeTag_CENTER = 0x00004000,
|
||||
BBCodeTag_group_align = 0x00007000,
|
||||
|
||||
BBCodeTag_URL = 0x00010000,
|
||||
BBCodeTag_IMAGE = 0x00020000,
|
||||
BBCodeTag_HR = 0x00040000,
|
||||
BBCodeTag_URL = 0x00010000,
|
||||
BBCodeTag_IMAGE = 0x00020000,
|
||||
BBCodeTag_HR = 0x00040000,
|
||||
|
||||
BBCodeTag_LIST = 0x00100000,
|
||||
BBCodeTag_LISTITEM = 0x00200000,
|
||||
BBCodeTag_group_list = 0x00300000,
|
||||
BBCodeTag_LIST = 0x00100000,
|
||||
BBCodeTag_LISTITEM = 0x00200000,
|
||||
BBCodeTag_group_list = 0x00300000,
|
||||
|
||||
BBCodeTag_TABLE = 0x00400000,
|
||||
BBCodeTag_TR = 0x00800000,
|
||||
BBCodeTag_TH = 0x01000000,
|
||||
BBCodeTag_TD = 0x02000000,
|
||||
BBCodeTag_group_table = 0x03C00000,
|
||||
BBCodeTag_TABLE = 0x00400000,
|
||||
BBCodeTag_TR = 0x00800000,
|
||||
BBCodeTag_TH = 0x01000000,
|
||||
BBCodeTag_TD = 0x02000000,
|
||||
BBCodeTag_group_table = 0x03C00000,
|
||||
|
||||
BBCodeTag_def_simple = BBCodeTag_B | BBCodeTag_I | BBCodeTag_U | BBCodeTag_S | BBCodeTag_SUP | BBCodeTag_SUB | BBCodeTag_COLOR | BBCodeTag_URL,
|
||||
BBCodeTag_def_simple_Img = BBCodeTag_def_simple | BBCodeTag_IMAGE,
|
||||
BBCodeTag_def_extended = BBCodeTag_group_text | BBCodeTag_group_align | BBCodeTag_URL | BBCodeTag_IMAGE | BBCodeTag_HR | BBCodeTag_group_list | BBCodeTag_group_table,
|
||||
BBCodeTag_def_simple = BBCodeTag_B | BBCodeTag_I | BBCodeTag_U |
|
||||
BBCodeTag_S | BBCodeTag_SUP | BBCodeTag_SUB |
|
||||
BBCodeTag_COLOR | BBCodeTag_URL,
|
||||
BBCodeTag_def_simple_Img = BBCodeTag_def_simple | BBCodeTag_IMAGE,
|
||||
BBCodeTag_def_extended = BBCodeTag_group_text | BBCodeTag_group_align |
|
||||
BBCodeTag_URL | BBCodeTag_IMAGE | BBCodeTag_HR |
|
||||
BBCodeTag_group_list | BBCodeTag_group_table,
|
||||
};
|
||||
|
||||
enum LicenseIssue { Blacklisted = 0, Greylisted };
|
||||
|
||||
enum MytsDataUnsetFlags {
|
||||
MytsDataUnsetFlag_None = 0,
|
||||
MytsDataUnsetFlag_Badges = 1,
|
||||
MytsDataUnsetFlag_Avatar = 1 << 1,
|
||||
MytsDataUnsetFlag_None = 0,
|
||||
MytsDataUnsetFlag_Badges = 1,
|
||||
MytsDataUnsetFlag_Avatar = 1 << 1,
|
||||
|
||||
MytsDataUnsetFlag_All = MytsDataUnsetFlag_Badges | MytsDataUnsetFlag_Avatar // make sure "all" really contains all flags
|
||||
MytsDataUnsetFlag_All =
|
||||
MytsDataUnsetFlag_Badges |
|
||||
MytsDataUnsetFlag_Avatar // make sure "all" really contains all flags
|
||||
};
|
||||
|
||||
typedef int (*ExtraBBCodeValidator)(void* userparam, const char* tag, const char* paramValue, int paramValueSize, const char* childValue, int childValueSize);
|
||||
typedef const char* (*ExtraBBCodeParamTransform)(void* userparam, const char* tag, const char* paramValue);
|
||||
typedef int (*ExtraBBCodeValidator)(void* userparam, const char* tag,
|
||||
const char* paramValue, int paramValueSize,
|
||||
const char* childValue, int childValueSize);
|
||||
typedef const char* (*ExtraBBCodeParamTransform)(void* userparam,
|
||||
const char* tag,
|
||||
const char* paramValue);
|
||||
|
||||
#endif //PUBLIC_RARE_DEFINITIONS_H
|
||||
#endif // PUBLIC_RARE_DEFINITIONS_H
|
||||
+652
-263
@@ -10,299 +10,688 @@ extern "C" {
|
||||
|
||||
/* Functions exported to plugin from main binary */
|
||||
struct TS3Functions {
|
||||
unsigned int (*getClientLibVersion)(char** result);
|
||||
unsigned int (*getClientLibVersionNumber)(uint64* result);
|
||||
unsigned int (*spawnNewServerConnectionHandler)(int port, uint64* result);
|
||||
unsigned int (*destroyServerConnectionHandler)(uint64 serverConnectionHandlerID);
|
||||
unsigned int (*getClientLibVersion)(char** result);
|
||||
unsigned int (*getClientLibVersionNumber)(uint64* result);
|
||||
unsigned int (*spawnNewServerConnectionHandler)(int port,
|
||||
uint64* result);
|
||||
unsigned int (*destroyServerConnectionHandler)(
|
||||
uint64 serverConnectionHandlerID);
|
||||
|
||||
/* Error handling */
|
||||
unsigned int (*getErrorMessage)(unsigned int errorCode, char** error);
|
||||
/* Error handling */
|
||||
unsigned int (*getErrorMessage)(unsigned int errorCode, char** error);
|
||||
|
||||
/* Memory management */
|
||||
unsigned int (*freeMemory)(void* pointer);
|
||||
/* Memory management */
|
||||
unsigned int (*freeMemory)(void* pointer);
|
||||
|
||||
/* Logging */
|
||||
unsigned int (*logMessage)(const char* logMessage, enum LogLevel severity, const char* channel, uint64 logID);
|
||||
/* Logging */
|
||||
unsigned int (*logMessage)(const char* logMessage,
|
||||
enum LogLevel severity, const char* channel,
|
||||
uint64 logID);
|
||||
|
||||
/* Sound */
|
||||
unsigned int (*getPlaybackDeviceList)(const char* modeID, char**** result);
|
||||
unsigned int (*getPlaybackModeList)(char*** result);
|
||||
unsigned int (*getCaptureDeviceList)(const char* modeID, char**** result);
|
||||
unsigned int (*getCaptureModeList)(char*** result);
|
||||
unsigned int (*getDefaultPlaybackDevice)(const char* modeID, char*** result);
|
||||
unsigned int (*getDefaultPlayBackMode)(char** result);
|
||||
unsigned int (*getDefaultCaptureDevice)(const char* modeID, char*** result);
|
||||
unsigned int (*getDefaultCaptureMode)(char** result);
|
||||
unsigned int (*openPlaybackDevice)(uint64 serverConnectionHandlerID, const char* modeID, const char* playbackDevice);
|
||||
unsigned int (*openCaptureDevice)(uint64 serverConnectionHandlerID, const char* modeID, const char* captureDevice);
|
||||
unsigned int (*getCurrentPlaybackDeviceName)(uint64 serverConnectionHandlerID, char** result, int* isDefault);
|
||||
unsigned int (*getCurrentPlayBackMode)(uint64 serverConnectionHandlerID, char** result);
|
||||
unsigned int (*getCurrentCaptureDeviceName)(uint64 serverConnectionHandlerID, char** result, int* isDefault);
|
||||
unsigned int (*getCurrentCaptureMode)(uint64 serverConnectionHandlerID, char** result);
|
||||
unsigned int (*initiateGracefulPlaybackShutdown)(uint64 serverConnectionHandlerID);
|
||||
unsigned int (*closePlaybackDevice)(uint64 serverConnectionHandlerID);
|
||||
unsigned int (*closeCaptureDevice)(uint64 serverConnectionHandlerID);
|
||||
unsigned int (*activateCaptureDevice)(uint64 serverConnectionHandlerID);
|
||||
unsigned int (*playWaveFileHandle)(uint64 serverConnectionHandlerID, const char* path, int loop, uint64* waveHandle);
|
||||
unsigned int (*pauseWaveFileHandle)(uint64 serverConnectionHandlerID, uint64 waveHandle, int pause);
|
||||
unsigned int (*closeWaveFileHandle)(uint64 serverConnectionHandlerID, uint64 waveHandle);
|
||||
unsigned int (*playWaveFile)(uint64 serverConnectionHandlerID, const char* path);
|
||||
unsigned int (*registerCustomDevice)(const char* deviceID, const char* deviceDisplayName, int capFrequency, int capChannels, int playFrequency, int playChannels);
|
||||
unsigned int (*unregisterCustomDevice)(const char* deviceID);
|
||||
unsigned int (*processCustomCaptureData)(const char* deviceName, const short* buffer, int samples);
|
||||
unsigned int (*acquireCustomPlaybackData)(const char* deviceName, short* buffer, int samples);
|
||||
/* Sound */
|
||||
unsigned int (*getPlaybackDeviceList)(const char* modeID,
|
||||
char**** result);
|
||||
unsigned int (*getPlaybackModeList)(char*** result);
|
||||
unsigned int (*getCaptureDeviceList)(const char* modeID,
|
||||
char**** result);
|
||||
unsigned int (*getCaptureModeList)(char*** result);
|
||||
unsigned int (*getDefaultPlaybackDevice)(const char* modeID,
|
||||
char*** result);
|
||||
unsigned int (*getDefaultPlayBackMode)(char** result);
|
||||
unsigned int (*getDefaultCaptureDevice)(const char* modeID,
|
||||
char*** result);
|
||||
unsigned int (*getDefaultCaptureMode)(char** result);
|
||||
unsigned int (*openPlaybackDevice)(uint64 serverConnectionHandlerID,
|
||||
const char* modeID,
|
||||
const char* playbackDevice);
|
||||
unsigned int (*openCaptureDevice)(uint64 serverConnectionHandlerID,
|
||||
const char* modeID,
|
||||
const char* captureDevice);
|
||||
unsigned int (*getCurrentPlaybackDeviceName)(
|
||||
uint64 serverConnectionHandlerID, char** result, int* isDefault);
|
||||
unsigned int (*getCurrentPlayBackMode)(uint64 serverConnectionHandlerID,
|
||||
char** result);
|
||||
unsigned int (*getCurrentCaptureDeviceName)(
|
||||
uint64 serverConnectionHandlerID, char** result, int* isDefault);
|
||||
unsigned int (*getCurrentCaptureMode)(uint64 serverConnectionHandlerID,
|
||||
char** result);
|
||||
unsigned int (*initiateGracefulPlaybackShutdown)(
|
||||
uint64 serverConnectionHandlerID);
|
||||
unsigned int (*closePlaybackDevice)(uint64 serverConnectionHandlerID);
|
||||
unsigned int (*closeCaptureDevice)(uint64 serverConnectionHandlerID);
|
||||
unsigned int (*activateCaptureDevice)(uint64 serverConnectionHandlerID);
|
||||
unsigned int (*playWaveFileHandle)(uint64 serverConnectionHandlerID,
|
||||
const char* path, int loop,
|
||||
uint64* waveHandle);
|
||||
unsigned int (*pauseWaveFileHandle)(uint64 serverConnectionHandlerID,
|
||||
uint64 waveHandle, int pause);
|
||||
unsigned int (*closeWaveFileHandle)(uint64 serverConnectionHandlerID,
|
||||
uint64 waveHandle);
|
||||
unsigned int (*playWaveFile)(uint64 serverConnectionHandlerID,
|
||||
const char* path);
|
||||
unsigned int (*registerCustomDevice)(const char* deviceID,
|
||||
const char* deviceDisplayName,
|
||||
int capFrequency, int capChannels,
|
||||
int playFrequency,
|
||||
int playChannels);
|
||||
unsigned int (*unregisterCustomDevice)(const char* deviceID);
|
||||
unsigned int (*processCustomCaptureData)(const char* deviceName,
|
||||
const short* buffer,
|
||||
int samples);
|
||||
unsigned int (*acquireCustomPlaybackData)(const char* deviceName,
|
||||
short* buffer, int samples);
|
||||
|
||||
/* Preprocessor */
|
||||
unsigned int (*getPreProcessorInfoValueFloat)(uint64 serverConnectionHandlerID, const char* ident, float* result);
|
||||
unsigned int (*getPreProcessorConfigValue)(uint64 serverConnectionHandlerID, const char* ident, char** result);
|
||||
unsigned int (*setPreProcessorConfigValue)(uint64 serverConnectionHandlerID, const char* ident, const char* value);
|
||||
/* Preprocessor */
|
||||
unsigned int (*getPreProcessorInfoValueFloat)(
|
||||
uint64 serverConnectionHandlerID, const char* ident, float* result);
|
||||
unsigned int (*getPreProcessorConfigValue)(
|
||||
uint64 serverConnectionHandlerID, const char* ident, char** result);
|
||||
unsigned int (*setPreProcessorConfigValue)(
|
||||
uint64 serverConnectionHandlerID, const char* ident,
|
||||
const char* value);
|
||||
|
||||
/* Encoder */
|
||||
unsigned int (*getEncodeConfigValue)(uint64 serverConnectionHandlerID, const char* ident, char** result);
|
||||
/* Encoder */
|
||||
unsigned int (*getEncodeConfigValue)(uint64 serverConnectionHandlerID,
|
||||
const char* ident, char** result);
|
||||
|
||||
/* Playback */
|
||||
unsigned int (*getPlaybackConfigValueAsFloat)(uint64 serverConnectionHandlerID, const char* ident, float* result);
|
||||
unsigned int (*setPlaybackConfigValue)(uint64 serverConnectionHandlerID, const char* ident, const char* value);
|
||||
unsigned int (*setClientVolumeModifier)(uint64 serverConnectionHandlerID, anyID clientID, float value);
|
||||
/* Playback */
|
||||
unsigned int (*getPlaybackConfigValueAsFloat)(
|
||||
uint64 serverConnectionHandlerID, const char* ident, float* result);
|
||||
unsigned int (*setPlaybackConfigValue)(uint64 serverConnectionHandlerID,
|
||||
const char* ident,
|
||||
const char* value);
|
||||
unsigned int (*setClientVolumeModifier)(
|
||||
uint64 serverConnectionHandlerID, anyID clientID, float value);
|
||||
|
||||
/* Recording status */
|
||||
unsigned int (*startVoiceRecording)(uint64 serverConnectionHandlerID);
|
||||
unsigned int (*stopVoiceRecording)(uint64 serverConnectionHandlerID);
|
||||
/* Recording status */
|
||||
unsigned int (*startVoiceRecording)(uint64 serverConnectionHandlerID);
|
||||
unsigned int (*stopVoiceRecording)(uint64 serverConnectionHandlerID);
|
||||
|
||||
/* 3d sound positioning */
|
||||
unsigned int (*systemset3DListenerAttributes)(uint64 serverConnectionHandlerID, const TS3_VECTOR* position, const TS3_VECTOR* forward, const TS3_VECTOR* up);
|
||||
unsigned int (*set3DWaveAttributes)(uint64 serverConnectionHandlerID, uint64 waveHandle, const TS3_VECTOR* position);
|
||||
unsigned int (*systemset3DSettings)(uint64 serverConnectionHandlerID, float distanceFactor, float rolloffScale);
|
||||
unsigned int (*channelset3DAttributes)(uint64 serverConnectionHandlerID, anyID clientID, const TS3_VECTOR* position);
|
||||
/* 3d sound positioning */
|
||||
unsigned int (*systemset3DListenerAttributes)(
|
||||
uint64 serverConnectionHandlerID, const TS3_VECTOR* position,
|
||||
const TS3_VECTOR* forward, const TS3_VECTOR* up);
|
||||
unsigned int (*set3DWaveAttributes)(uint64 serverConnectionHandlerID,
|
||||
uint64 waveHandle,
|
||||
const TS3_VECTOR* position);
|
||||
unsigned int (*systemset3DSettings)(uint64 serverConnectionHandlerID,
|
||||
float distanceFactor,
|
||||
float rolloffScale);
|
||||
unsigned int (*channelset3DAttributes)(uint64 serverConnectionHandlerID,
|
||||
anyID clientID,
|
||||
const TS3_VECTOR* position);
|
||||
|
||||
/* Interaction with the server */
|
||||
unsigned int (*startConnection)(uint64 serverConnectionHandlerID, const char* identity, const char* ip, unsigned int port, const char* nickname, const char** defaultChannelArray, const char* defaultChannelPassword, const char* serverPassword);
|
||||
unsigned int (*stopConnection)(uint64 serverConnectionHandlerID, const char* quitMessage);
|
||||
unsigned int (*requestClientMove)(uint64 serverConnectionHandlerID, anyID clientID, uint64 newChannelID, const char* password, const char* returnCode);
|
||||
unsigned int (*requestClientVariables)(uint64 serverConnectionHandlerID, anyID clientID, const char* returnCode);
|
||||
unsigned int (*requestClientKickFromChannel)(uint64 serverConnectionHandlerID, anyID clientID, const char* kickReason, const char* returnCode);
|
||||
unsigned int (*requestClientKickFromServer)(uint64 serverConnectionHandlerID, anyID clientID, const char* kickReason, const char* returnCode);
|
||||
unsigned int (*requestChannelDelete)(uint64 serverConnectionHandlerID, uint64 channelID, int force, const char* returnCode);
|
||||
unsigned int (*requestChannelMove)(uint64 serverConnectionHandlerID, uint64 channelID, uint64 newChannelParentID, uint64 newChannelOrder, const char* returnCode);
|
||||
unsigned int (*requestSendPrivateTextMsg)(uint64 serverConnectionHandlerID, const char* message, anyID targetClientID, const char* returnCode);
|
||||
unsigned int (*requestSendChannelTextMsg)(uint64 serverConnectionHandlerID, const char* message, uint64 targetChannelID, const char* returnCode);
|
||||
unsigned int (*requestSendServerTextMsg)(uint64 serverConnectionHandlerID, const char* message, const char* returnCode);
|
||||
unsigned int (*requestConnectionInfo)(uint64 serverConnectionHandlerID, anyID clientID, const char* returnCode);
|
||||
unsigned int (*requestClientSetWhisperList)(uint64 serverConnectionHandlerID, anyID clientID, const uint64* targetChannelIDArray, const anyID* targetClientIDArray, const char* returnCode);
|
||||
unsigned int (*requestChannelSubscribe)(uint64 serverConnectionHandlerID, const uint64* channelIDArray, const char* returnCode);
|
||||
unsigned int (*requestChannelSubscribeAll)(uint64 serverConnectionHandlerID, const char* returnCode);
|
||||
unsigned int (*requestChannelUnsubscribe)(uint64 serverConnectionHandlerID, const uint64* channelIDArray, const char* returnCode);
|
||||
unsigned int (*requestChannelUnsubscribeAll)(uint64 serverConnectionHandlerID, const char* returnCode);
|
||||
unsigned int (*requestChannelDescription)(uint64 serverConnectionHandlerID, uint64 channelID, const char* returnCode);
|
||||
unsigned int (*requestMuteClients)(uint64 serverConnectionHandlerID, const anyID* clientIDArray, const char* returnCode);
|
||||
unsigned int (*requestUnmuteClients)(uint64 serverConnectionHandlerID, const anyID* clientIDArray, const char* returnCode);
|
||||
unsigned int (*requestClientPoke)(uint64 serverConnectionHandlerID, anyID clientID, const char* message, const char* returnCode);
|
||||
unsigned int (*requestClientIDs)(uint64 serverConnectionHandlerID, const char* clientUniqueIdentifier, const char* returnCode);
|
||||
unsigned int (*clientChatClosed)(uint64 serverConnectionHandlerID, const char* clientUniqueIdentifier, anyID clientID, const char* returnCode);
|
||||
unsigned int (*clientChatComposing)(uint64 serverConnectionHandlerID, anyID clientID, const char* returnCode);
|
||||
unsigned int (*requestServerTemporaryPasswordAdd)(uint64 serverConnectionHandlerID, const char* password, const char* description, uint64 duration, uint64 targetChannelID, const char* targetChannelPW, const char* returnCode);
|
||||
unsigned int (*requestServerTemporaryPasswordDel)(uint64 serverConnectionHandlerID, const char* password, const char* returnCode);
|
||||
unsigned int (*requestServerTemporaryPasswordList)(uint64 serverConnectionHandlerID, const char* returnCode);
|
||||
/* Interaction with the server */
|
||||
unsigned int (*startConnection)(uint64 serverConnectionHandlerID,
|
||||
const char* identity, const char* ip,
|
||||
unsigned int port, const char* nickname,
|
||||
const char** defaultChannelArray,
|
||||
const char* defaultChannelPassword,
|
||||
const char* serverPassword);
|
||||
unsigned int (*stopConnection)(uint64 serverConnectionHandlerID,
|
||||
const char* quitMessage);
|
||||
unsigned int (*requestClientMove)(uint64 serverConnectionHandlerID,
|
||||
anyID clientID, uint64 newChannelID,
|
||||
const char* password,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestClientVariables)(uint64 serverConnectionHandlerID,
|
||||
anyID clientID,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestClientKickFromChannel)(
|
||||
uint64 serverConnectionHandlerID, anyID clientID,
|
||||
const char* kickReason, const char* returnCode);
|
||||
unsigned int (*requestClientKickFromServer)(
|
||||
uint64 serverConnectionHandlerID, anyID clientID,
|
||||
const char* kickReason, const char* returnCode);
|
||||
unsigned int (*requestChannelDelete)(uint64 serverConnectionHandlerID,
|
||||
uint64 channelID, int force,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestChannelMove)(uint64 serverConnectionHandlerID,
|
||||
uint64 channelID,
|
||||
uint64 newChannelParentID,
|
||||
uint64 newChannelOrder,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestSendPrivateTextMsg)(
|
||||
uint64 serverConnectionHandlerID, const char* message,
|
||||
anyID targetClientID, const char* returnCode);
|
||||
unsigned int (*requestSendChannelTextMsg)(
|
||||
uint64 serverConnectionHandlerID, const char* message,
|
||||
uint64 targetChannelID, const char* returnCode);
|
||||
unsigned int (*requestSendServerTextMsg)(
|
||||
uint64 serverConnectionHandlerID, const char* message,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestConnectionInfo)(uint64 serverConnectionHandlerID,
|
||||
anyID clientID,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestClientSetWhisperList)(
|
||||
uint64 serverConnectionHandlerID, anyID clientID,
|
||||
const uint64* targetChannelIDArray,
|
||||
const anyID* targetClientIDArray, const char* returnCode);
|
||||
unsigned int (*requestChannelSubscribe)(
|
||||
uint64 serverConnectionHandlerID, const uint64* channelIDArray,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestChannelSubscribeAll)(
|
||||
uint64 serverConnectionHandlerID, const char* returnCode);
|
||||
unsigned int (*requestChannelUnsubscribe)(
|
||||
uint64 serverConnectionHandlerID, const uint64* channelIDArray,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestChannelUnsubscribeAll)(
|
||||
uint64 serverConnectionHandlerID, const char* returnCode);
|
||||
unsigned int (*requestChannelDescription)(
|
||||
uint64 serverConnectionHandlerID, uint64 channelID,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestMuteClients)(uint64 serverConnectionHandlerID,
|
||||
const anyID* clientIDArray,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestUnmuteClients)(uint64 serverConnectionHandlerID,
|
||||
const anyID* clientIDArray,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestClientPoke)(uint64 serverConnectionHandlerID,
|
||||
anyID clientID, const char* message,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestClientIDs)(uint64 serverConnectionHandlerID,
|
||||
const char* clientUniqueIdentifier,
|
||||
const char* returnCode);
|
||||
unsigned int (*clientChatClosed)(uint64 serverConnectionHandlerID,
|
||||
const char* clientUniqueIdentifier,
|
||||
anyID clientID,
|
||||
const char* returnCode);
|
||||
unsigned int (*clientChatComposing)(uint64 serverConnectionHandlerID,
|
||||
anyID clientID,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestServerTemporaryPasswordAdd)(
|
||||
uint64 serverConnectionHandlerID, const char* password,
|
||||
const char* description, uint64 duration, uint64 targetChannelID,
|
||||
const char* targetChannelPW, const char* returnCode);
|
||||
unsigned int (*requestServerTemporaryPasswordDel)(
|
||||
uint64 serverConnectionHandlerID, const char* password,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestServerTemporaryPasswordList)(
|
||||
uint64 serverConnectionHandlerID, const char* returnCode);
|
||||
|
||||
/* Access clientlib information */
|
||||
/* Access clientlib information */
|
||||
|
||||
/* Query own client ID */
|
||||
unsigned int (*getClientID)(uint64 serverConnectionHandlerID, anyID* result);
|
||||
/* Query own client ID */
|
||||
unsigned int (*getClientID)(uint64 serverConnectionHandlerID,
|
||||
anyID* result);
|
||||
|
||||
/* Client info */
|
||||
unsigned int (*getClientSelfVariableAsInt)(uint64 serverConnectionHandlerID, size_t flag, int* result);
|
||||
unsigned int (*getClientSelfVariableAsString)(uint64 serverConnectionHandlerID, size_t flag, char** result);
|
||||
unsigned int (*setClientSelfVariableAsInt)(uint64 serverConnectionHandlerID, size_t flag, int value);
|
||||
unsigned int (*setClientSelfVariableAsString)(uint64 serverConnectionHandlerID, size_t flag, const char* value);
|
||||
unsigned int (*flushClientSelfUpdates)(uint64 serverConnectionHandlerID, const char* returnCode);
|
||||
unsigned int (*getClientVariableAsInt)(uint64 serverConnectionHandlerID, anyID clientID, size_t flag, int* result);
|
||||
unsigned int (*getClientVariableAsUInt64)(uint64 serverConnectionHandlerID, anyID clientID, size_t flag, uint64* result);
|
||||
unsigned int (*getClientVariableAsString)(uint64 serverConnectionHandlerID, anyID clientID, size_t flag, char** result);
|
||||
unsigned int (*getClientList)(uint64 serverConnectionHandlerID, anyID** result);
|
||||
unsigned int (*getChannelOfClient)(uint64 serverConnectionHandlerID, anyID clientID, uint64* result);
|
||||
/* Client info */
|
||||
unsigned int (*getClientSelfVariableAsInt)(
|
||||
uint64 serverConnectionHandlerID, size_t flag, int* result);
|
||||
unsigned int (*getClientSelfVariableAsString)(
|
||||
uint64 serverConnectionHandlerID, size_t flag, char** result);
|
||||
unsigned int (*setClientSelfVariableAsInt)(
|
||||
uint64 serverConnectionHandlerID, size_t flag, int value);
|
||||
unsigned int (*setClientSelfVariableAsString)(
|
||||
uint64 serverConnectionHandlerID, size_t flag, const char* value);
|
||||
unsigned int (*flushClientSelfUpdates)(uint64 serverConnectionHandlerID,
|
||||
const char* returnCode);
|
||||
unsigned int (*getClientVariableAsInt)(uint64 serverConnectionHandlerID,
|
||||
anyID clientID, size_t flag,
|
||||
int* result);
|
||||
unsigned int (*getClientVariableAsUInt64)(
|
||||
uint64 serverConnectionHandlerID, anyID clientID, size_t flag,
|
||||
uint64* result);
|
||||
unsigned int (*getClientVariableAsString)(
|
||||
uint64 serverConnectionHandlerID, anyID clientID, size_t flag,
|
||||
char** result);
|
||||
unsigned int (*getClientList)(uint64 serverConnectionHandlerID,
|
||||
anyID** result);
|
||||
unsigned int (*getChannelOfClient)(uint64 serverConnectionHandlerID,
|
||||
anyID clientID, uint64* result);
|
||||
|
||||
/* Channel info */
|
||||
unsigned int (*getChannelVariableAsInt)(uint64 serverConnectionHandlerID, uint64 channelID, size_t flag, int* result);
|
||||
unsigned int (*getChannelVariableAsUInt64)(uint64 serverConnectionHandlerID, uint64 channelID, size_t flag, uint64* result);
|
||||
unsigned int (*getChannelVariableAsString)(uint64 serverConnectionHandlerID, uint64 channelID, size_t flag, char** result);
|
||||
unsigned int (*getChannelIDFromChannelNames)(uint64 serverConnectionHandlerID, char** channelNameArray, uint64* result);
|
||||
unsigned int (*setChannelVariableAsInt)(uint64 serverConnectionHandlerID, uint64 channelID, size_t flag, int value);
|
||||
unsigned int (*setChannelVariableAsUInt64)(uint64 serverConnectionHandlerID, uint64 channelID, size_t flag, uint64 value);
|
||||
unsigned int (*setChannelVariableAsString)(uint64 serverConnectionHandlerID, uint64 channelID, size_t flag, const char* value);
|
||||
unsigned int (*flushChannelUpdates)(uint64 serverConnectionHandlerID, uint64 channelID, const char* returnCode);
|
||||
unsigned int (*flushChannelCreation)(uint64 serverConnectionHandlerID, uint64 channelParentID, const char* returnCode);
|
||||
unsigned int (*getChannelList)(uint64 serverConnectionHandlerID, uint64** result);
|
||||
unsigned int (*getChannelClientList)(uint64 serverConnectionHandlerID, uint64 channelID, anyID** result);
|
||||
unsigned int (*getParentChannelOfChannel)(uint64 serverConnectionHandlerID, uint64 channelID, uint64* result);
|
||||
/* Channel info */
|
||||
unsigned int (*getChannelVariableAsInt)(
|
||||
uint64 serverConnectionHandlerID, uint64 channelID, size_t flag,
|
||||
int* result);
|
||||
unsigned int (*getChannelVariableAsUInt64)(
|
||||
uint64 serverConnectionHandlerID, uint64 channelID, size_t flag,
|
||||
uint64* result);
|
||||
unsigned int (*getChannelVariableAsString)(
|
||||
uint64 serverConnectionHandlerID, uint64 channelID, size_t flag,
|
||||
char** result);
|
||||
unsigned int (*getChannelIDFromChannelNames)(
|
||||
uint64 serverConnectionHandlerID, char** channelNameArray,
|
||||
uint64* result);
|
||||
unsigned int (*setChannelVariableAsInt)(
|
||||
uint64 serverConnectionHandlerID, uint64 channelID, size_t flag,
|
||||
int value);
|
||||
unsigned int (*setChannelVariableAsUInt64)(
|
||||
uint64 serverConnectionHandlerID, uint64 channelID, size_t flag,
|
||||
uint64 value);
|
||||
unsigned int (*setChannelVariableAsString)(
|
||||
uint64 serverConnectionHandlerID, uint64 channelID, size_t flag,
|
||||
const char* value);
|
||||
unsigned int (*flushChannelUpdates)(uint64 serverConnectionHandlerID,
|
||||
uint64 channelID,
|
||||
const char* returnCode);
|
||||
unsigned int (*flushChannelCreation)(uint64 serverConnectionHandlerID,
|
||||
uint64 channelParentID,
|
||||
const char* returnCode);
|
||||
unsigned int (*getChannelList)(uint64 serverConnectionHandlerID,
|
||||
uint64** result);
|
||||
unsigned int (*getChannelClientList)(uint64 serverConnectionHandlerID,
|
||||
uint64 channelID, anyID** result);
|
||||
unsigned int (*getParentChannelOfChannel)(
|
||||
uint64 serverConnectionHandlerID, uint64 channelID, uint64* result);
|
||||
|
||||
/* Server info */
|
||||
unsigned int (*getServerConnectionHandlerList)(uint64** result);
|
||||
unsigned int (*getServerVariableAsInt)(uint64 serverConnectionHandlerID, size_t flag, int* result);
|
||||
unsigned int (*getServerVariableAsUInt64)(uint64 serverConnectionHandlerID, size_t flag, uint64* result);
|
||||
unsigned int (*getServerVariableAsString)(uint64 serverConnectionHandlerID, size_t flag, char** result);
|
||||
unsigned int (*requestServerVariables)(uint64 serverConnectionHandlerID);
|
||||
/* Server info */
|
||||
unsigned int (*getServerConnectionHandlerList)(uint64** result);
|
||||
unsigned int (*getServerVariableAsInt)(uint64 serverConnectionHandlerID,
|
||||
size_t flag, int* result);
|
||||
unsigned int (*getServerVariableAsUInt64)(
|
||||
uint64 serverConnectionHandlerID, size_t flag, uint64* result);
|
||||
unsigned int (*getServerVariableAsString)(
|
||||
uint64 serverConnectionHandlerID, size_t flag, char** result);
|
||||
unsigned int (*requestServerVariables)(
|
||||
uint64 serverConnectionHandlerID);
|
||||
|
||||
/* Connection info */
|
||||
unsigned int (*getConnectionStatus)(uint64 serverConnectionHandlerID, int* result);
|
||||
unsigned int (*getConnectionVariableAsUInt64)(uint64 serverConnectionHandlerID, anyID clientID, size_t flag, uint64* result);
|
||||
unsigned int (*getConnectionVariableAsDouble)(uint64 serverConnectionHandlerID, anyID clientID, size_t flag, double* result);
|
||||
unsigned int (*getConnectionVariableAsString)(uint64 serverConnectionHandlerID, anyID clientID, size_t flag, char** result);
|
||||
unsigned int (*cleanUpConnectionInfo)(uint64 serverConnectionHandlerID, anyID clientID);
|
||||
/* Connection info */
|
||||
unsigned int (*getConnectionStatus)(uint64 serverConnectionHandlerID,
|
||||
int* result);
|
||||
unsigned int (*getConnectionVariableAsUInt64)(
|
||||
uint64 serverConnectionHandlerID, anyID clientID, size_t flag,
|
||||
uint64* result);
|
||||
unsigned int (*getConnectionVariableAsDouble)(
|
||||
uint64 serverConnectionHandlerID, anyID clientID, size_t flag,
|
||||
double* result);
|
||||
unsigned int (*getConnectionVariableAsString)(
|
||||
uint64 serverConnectionHandlerID, anyID clientID, size_t flag,
|
||||
char** result);
|
||||
unsigned int (*cleanUpConnectionInfo)(uint64 serverConnectionHandlerID,
|
||||
anyID clientID);
|
||||
|
||||
/* Client related */
|
||||
unsigned int (*requestClientDBIDfromUID)(uint64 serverConnectionHandlerID, const char* clientUniqueIdentifier, const char* returnCode);
|
||||
unsigned int (*requestClientNamefromUID)(uint64 serverConnectionHandlerID, const char* clientUniqueIdentifier, const char* returnCode);
|
||||
unsigned int (*requestClientNamefromDBID)(uint64 serverConnectionHandlerID, uint64 clientDatabaseID, const char* returnCode);
|
||||
unsigned int (*requestClientEditDescription)(uint64 serverConnectionHandlerID, anyID clientID, const char* clientDescription, const char* returnCode);
|
||||
unsigned int (*requestClientSetIsTalker)(uint64 serverConnectionHandlerID, anyID clientID, int isTalker, const char* returnCode);
|
||||
unsigned int (*requestIsTalker)(uint64 serverConnectionHandlerID, int isTalkerRequest, const char* isTalkerRequestMessage, const char* returnCode);
|
||||
/* Client related */
|
||||
unsigned int (*requestClientDBIDfromUID)(
|
||||
uint64 serverConnectionHandlerID,
|
||||
const char* clientUniqueIdentifier, const char* returnCode);
|
||||
unsigned int (*requestClientNamefromUID)(
|
||||
uint64 serverConnectionHandlerID,
|
||||
const char* clientUniqueIdentifier, const char* returnCode);
|
||||
unsigned int (*requestClientNamefromDBID)(
|
||||
uint64 serverConnectionHandlerID, uint64 clientDatabaseID,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestClientEditDescription)(
|
||||
uint64 serverConnectionHandlerID, anyID clientID,
|
||||
const char* clientDescription, const char* returnCode);
|
||||
unsigned int (*requestClientSetIsTalker)(
|
||||
uint64 serverConnectionHandlerID, anyID clientID, int isTalker,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestIsTalker)(uint64 serverConnectionHandlerID,
|
||||
int isTalkerRequest,
|
||||
const char* isTalkerRequestMessage,
|
||||
const char* returnCode);
|
||||
|
||||
/* Plugin related */
|
||||
unsigned int (*requestSendClientQueryCommand)(uint64 serverConnectionHandlerID, const char* command, const char* returnCode);
|
||||
/* Plugin related */
|
||||
unsigned int (*requestSendClientQueryCommand)(
|
||||
uint64 serverConnectionHandlerID, const char* command,
|
||||
const char* returnCode);
|
||||
|
||||
/* Filetransfer */
|
||||
unsigned int (*getTransferFileName)(anyID transferID, char** result);
|
||||
unsigned int (*getTransferFilePath)(anyID transferID, char** result);
|
||||
unsigned int (*getTransferFileSize)(anyID transferID, uint64* result);
|
||||
unsigned int (*getTransferFileSizeDone)(anyID transferID, uint64* result);
|
||||
unsigned int (*isTransferSender)(anyID transferID, int* result); /* 1 == upload, 0 == download */
|
||||
unsigned int (*getTransferStatus)(anyID transferID, int* result);
|
||||
unsigned int (*getCurrentTransferSpeed)(anyID transferID, float* result);
|
||||
unsigned int (*getAverageTransferSpeed)(anyID transferID, float* result);
|
||||
unsigned int (*getTransferRunTime)(anyID transferID, uint64* result);
|
||||
unsigned int (*sendFile)(uint64 serverConnectionHandlerID, uint64 channelID, const char* channelPW, const char* file, int overwrite, int resume, const char* sourceDirectory, anyID* result, const char* returnCode);
|
||||
unsigned int (*requestFile)(uint64 serverConnectionHandlerID, uint64 channelID, const char* channelPW, const char* file, int overwrite, int resume, const char* destinationDirectory, anyID* result, const char* returnCode);
|
||||
unsigned int (*haltTransfer)(uint64 serverConnectionHandlerID, anyID transferID, int deleteUnfinishedFile, const char* returnCode);
|
||||
unsigned int (*requestFileList)(uint64 serverConnectionHandlerID, uint64 channelID, const char* channelPW, const char* path, const char* returnCode);
|
||||
unsigned int (*requestFileInfo)(uint64 serverConnectionHandlerID, uint64 channelID, const char* channelPW, const char* file, const char* returnCode);
|
||||
unsigned int (*requestDeleteFile)(uint64 serverConnectionHandlerID, uint64 channelID, const char* channelPW, const char** file, const char* returnCode);
|
||||
unsigned int (*requestCreateDirectory)(uint64 serverConnectionHandlerID, uint64 channelID, const char* channelPW, const char* directoryPath, const char* returnCode);
|
||||
unsigned int (*requestRenameFile)(uint64 serverConnectionHandlerID, uint64 fromChannelID, const char* channelPW, uint64 toChannelID, const char* toChannelPW, const char* oldFile, const char* newFile, const char* returnCode);
|
||||
/* Filetransfer */
|
||||
unsigned int (*getTransferFileName)(anyID transferID, char** result);
|
||||
unsigned int (*getTransferFilePath)(anyID transferID, char** result);
|
||||
unsigned int (*getTransferFileSize)(anyID transferID, uint64* result);
|
||||
unsigned int (*getTransferFileSizeDone)(anyID transferID,
|
||||
uint64* result);
|
||||
unsigned int (*isTransferSender)(
|
||||
anyID transferID, int* result); /* 1 == upload, 0 == download */
|
||||
unsigned int (*getTransferStatus)(anyID transferID, int* result);
|
||||
unsigned int (*getCurrentTransferSpeed)(anyID transferID,
|
||||
float* result);
|
||||
unsigned int (*getAverageTransferSpeed)(anyID transferID,
|
||||
float* result);
|
||||
unsigned int (*getTransferRunTime)(anyID transferID, uint64* result);
|
||||
unsigned int (*sendFile)(uint64 serverConnectionHandlerID,
|
||||
uint64 channelID, const char* channelPW,
|
||||
const char* file, int overwrite, int resume,
|
||||
const char* sourceDirectory, anyID* result,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestFile)(uint64 serverConnectionHandlerID,
|
||||
uint64 channelID, const char* channelPW,
|
||||
const char* file, int overwrite, int resume,
|
||||
const char* destinationDirectory,
|
||||
anyID* result, const char* returnCode);
|
||||
unsigned int (*haltTransfer)(uint64 serverConnectionHandlerID,
|
||||
anyID transferID, int deleteUnfinishedFile,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestFileList)(uint64 serverConnectionHandlerID,
|
||||
uint64 channelID, const char* channelPW,
|
||||
const char* path,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestFileInfo)(uint64 serverConnectionHandlerID,
|
||||
uint64 channelID, const char* channelPW,
|
||||
const char* file,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestDeleteFile)(uint64 serverConnectionHandlerID,
|
||||
uint64 channelID,
|
||||
const char* channelPW,
|
||||
const char** file,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestCreateDirectory)(uint64 serverConnectionHandlerID,
|
||||
uint64 channelID,
|
||||
const char* channelPW,
|
||||
const char* directoryPath,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestRenameFile)(
|
||||
uint64 serverConnectionHandlerID, uint64 fromChannelID,
|
||||
const char* channelPW, uint64 toChannelID, const char* toChannelPW,
|
||||
const char* oldFile, const char* newFile, const char* returnCode);
|
||||
|
||||
/* Offline message management */
|
||||
unsigned int (*requestMessageAdd)(uint64 serverConnectionHandlerID, const char* toClientUID, const char* subject, const char* message, const char* returnCode);
|
||||
unsigned int (*requestMessageDel)(uint64 serverConnectionHandlerID, uint64 messageID, const char* returnCode);
|
||||
unsigned int (*requestMessageGet)(uint64 serverConnectionHandlerID, uint64 messageID, const char* returnCode);
|
||||
unsigned int (*requestMessageList)(uint64 serverConnectionHandlerID, const char* returnCode);
|
||||
unsigned int (*requestMessageUpdateFlag)(uint64 serverConnectionHandlerID, uint64 messageID, int flag, const char* returnCode);
|
||||
/* Offline message management */
|
||||
unsigned int (*requestMessageAdd)(uint64 serverConnectionHandlerID,
|
||||
const char* toClientUID,
|
||||
const char* subject,
|
||||
const char* message,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestMessageDel)(uint64 serverConnectionHandlerID,
|
||||
uint64 messageID,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestMessageGet)(uint64 serverConnectionHandlerID,
|
||||
uint64 messageID,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestMessageList)(uint64 serverConnectionHandlerID,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestMessageUpdateFlag)(
|
||||
uint64 serverConnectionHandlerID, uint64 messageID, int flag,
|
||||
const char* returnCode);
|
||||
|
||||
/* Interacting with the server - confirming passwords */
|
||||
unsigned int (*verifyServerPassword)(uint64 serverConnectionHandlerID, const char* serverPassword, const char* returnCode);
|
||||
unsigned int (*verifyChannelPassword)(uint64 serverConnectionHandlerID, uint64 channelID, const char* channelPassword, const char* returnCode);
|
||||
/* Interacting with the server - confirming passwords */
|
||||
unsigned int (*verifyServerPassword)(uint64 serverConnectionHandlerID,
|
||||
const char* serverPassword,
|
||||
const char* returnCode);
|
||||
unsigned int (*verifyChannelPassword)(uint64 serverConnectionHandlerID,
|
||||
uint64 channelID,
|
||||
const char* channelPassword,
|
||||
const char* returnCode);
|
||||
|
||||
/* Interacting with the server - banning */
|
||||
unsigned int (*banclient)(uint64 serverConnectionHandlerID, anyID clientID, uint64 timeInSeconds, const char* banReason, const char* returnCode);
|
||||
unsigned int (*banadd)(uint64 serverConnectionHandlerID, const char* ipRegExp, const char* nameRegexp, const char* uniqueIdentity, const char* mytsID, uint64 timeInSeconds, const char* banReason, const char* returnCode);
|
||||
unsigned int (*banclientdbid)(uint64 serverConnectionHandlerID, uint64 clientDBID, uint64 timeInSeconds, const char* banReason, const char* returnCode);
|
||||
unsigned int (*bandel)(uint64 serverConnectionHandlerID, uint64 banID, const char* returnCode);
|
||||
unsigned int (*bandelall)(uint64 serverConnectionHandlerID, const char* returnCode);
|
||||
unsigned int (*requestBanList)(uint64 serverConnectionHandlerID, uint64 start, unsigned int duration, const char* returnCode);
|
||||
/* Interacting with the server - banning */
|
||||
unsigned int (*banclient)(uint64 serverConnectionHandlerID,
|
||||
anyID clientID, uint64 timeInSeconds,
|
||||
const char* banReason,
|
||||
const char* returnCode);
|
||||
unsigned int (*banadd)(uint64 serverConnectionHandlerID,
|
||||
const char* ipRegExp, const char* nameRegexp,
|
||||
const char* uniqueIdentity, const char* mytsID,
|
||||
uint64 timeInSeconds, const char* banReason,
|
||||
const char* returnCode);
|
||||
unsigned int (*banclientdbid)(uint64 serverConnectionHandlerID,
|
||||
uint64 clientDBID, uint64 timeInSeconds,
|
||||
const char* banReason,
|
||||
const char* returnCode);
|
||||
unsigned int (*bandel)(uint64 serverConnectionHandlerID, uint64 banID,
|
||||
const char* returnCode);
|
||||
unsigned int (*bandelall)(uint64 serverConnectionHandlerID,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestBanList)(uint64 serverConnectionHandlerID,
|
||||
uint64 start, unsigned int duration,
|
||||
const char* returnCode);
|
||||
|
||||
/* Interacting with the server - complain */
|
||||
unsigned int (*requestComplainAdd)(uint64 serverConnectionHandlerID, uint64 targetClientDatabaseID, const char* complainReason, const char* returnCode);
|
||||
unsigned int (*requestComplainDel)(uint64 serverConnectionHandlerID, uint64 targetClientDatabaseID, uint64 fromClientDatabaseID, const char* returnCode);
|
||||
unsigned int (*requestComplainDelAll)(uint64 serverConnectionHandlerID, uint64 targetClientDatabaseID, const char* returnCode);
|
||||
unsigned int (*requestComplainList)(uint64 serverConnectionHandlerID, uint64 targetClientDatabaseID, const char* returnCode);
|
||||
/* Interacting with the server - complain */
|
||||
unsigned int (*requestComplainAdd)(uint64 serverConnectionHandlerID,
|
||||
uint64 targetClientDatabaseID,
|
||||
const char* complainReason,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestComplainDel)(uint64 serverConnectionHandlerID,
|
||||
uint64 targetClientDatabaseID,
|
||||
uint64 fromClientDatabaseID,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestComplainDelAll)(uint64 serverConnectionHandlerID,
|
||||
uint64 targetClientDatabaseID,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestComplainList)(uint64 serverConnectionHandlerID,
|
||||
uint64 targetClientDatabaseID,
|
||||
const char* returnCode);
|
||||
|
||||
/* Permissions */
|
||||
unsigned int (*requestServerGroupList)(uint64 serverConnectionHandlerID, const char* returnCode);
|
||||
unsigned int (*requestServerGroupAdd)(uint64 serverConnectionHandlerID, const char* groupName, int groupType, const char* returnCode);
|
||||
unsigned int (*requestServerGroupDel)(uint64 serverConnectionHandlerID, uint64 serverGroupID, int force, const char* returnCode);
|
||||
unsigned int (*requestServerGroupAddClient)(uint64 serverConnectionHandlerID, uint64 serverGroupID, uint64 clientDatabaseID, const char* returnCode);
|
||||
unsigned int (*requestServerGroupDelClient)(uint64 serverConnectionHandlerID, uint64 serverGroupID, uint64 clientDatabaseID, const char* returnCode);
|
||||
unsigned int (*requestServerGroupsByClientID)(uint64 serverConnectionHandlerID, uint64 clientDatabaseID, const char* returnCode);
|
||||
unsigned int (*requestServerGroupAddPerm)(uint64 serverConnectionHandlerID, uint64 serverGroupID, int continueonerror, const unsigned int* permissionIDArray, const int* permissionValueArray, const int* permissionNegatedArray,
|
||||
const int* permissionSkipArray, int arraySize, const char* returnCode);
|
||||
unsigned int (*requestServerGroupDelPerm)(uint64 serverConnectionHandlerID, uint64 serverGroupID, int continueOnError, const unsigned int* permissionIDArray, int arraySize, const char* returnCode);
|
||||
unsigned int (*requestServerGroupPermList)(uint64 serverConnectionHandlerID, uint64 serverGroupID, const char* returnCode);
|
||||
unsigned int (*requestServerGroupClientList)(uint64 serverConnectionHandlerID, uint64 serverGroupID, int withNames, const char* returnCode);
|
||||
unsigned int (*requestChannelGroupList)(uint64 serverConnectionHandlerID, const char* returnCode);
|
||||
unsigned int (*requestChannelGroupAdd)(uint64 serverConnectionHandlerID, const char* groupName, int groupType, const char* returnCode);
|
||||
unsigned int (*requestChannelGroupDel)(uint64 serverConnectionHandlerID, uint64 channelGroupID, int force, const char* returnCode);
|
||||
unsigned int (*requestChannelGroupAddPerm)(uint64 serverConnectionHandlerID, uint64 channelGroupID, int continueonerror, const unsigned int* permissionIDArray, const int* permissionValueArray, int arraySize, const char* returnCode);
|
||||
unsigned int (*requestChannelGroupDelPerm)(uint64 serverConnectionHandlerID, uint64 channelGroupID, int continueOnError, const unsigned int* permissionIDArray, int arraySize, const char* returnCode);
|
||||
unsigned int (*requestChannelGroupPermList)(uint64 serverConnectionHandlerID, uint64 channelGroupID, const char* returnCode);
|
||||
unsigned int (*requestSetClientChannelGroup)(uint64 serverConnectionHandlerID, const uint64* channelGroupIDArray, const uint64* channelIDArray, const uint64* clientDatabaseIDArray, int arraySize, const char* returnCode);
|
||||
unsigned int (*requestChannelAddPerm)(uint64 serverConnectionHandlerID, uint64 channelID, const unsigned int* permissionIDArray, const int* permissionValueArray, int arraySize, const char* returnCode);
|
||||
unsigned int (*requestChannelDelPerm)(uint64 serverConnectionHandlerID, uint64 channelID, const unsigned int* permissionIDArray, int arraySize, const char* returnCode);
|
||||
unsigned int (*requestChannelPermList)(uint64 serverConnectionHandlerID, uint64 channelID, const char* returnCode);
|
||||
unsigned int (*requestClientAddPerm)(uint64 serverConnectionHandlerID, uint64 clientDatabaseID, const unsigned int* permissionIDArray, const int* permissionValueArray, const int* permissionSkipArray, int arraySize, const char* returnCode);
|
||||
unsigned int (*requestClientDelPerm)(uint64 serverConnectionHandlerID, uint64 clientDatabaseID, const unsigned int* permissionIDArray, int arraySize, const char* returnCode);
|
||||
unsigned int (*requestClientPermList)(uint64 serverConnectionHandlerID, uint64 clientDatabaseID, const char* returnCode);
|
||||
unsigned int (*requestChannelClientAddPerm)(uint64 serverConnectionHandlerID, uint64 channelID, uint64 clientDatabaseID, const unsigned int* permissionIDArray, const int* permissionValueArray, int arraySize, const char* returnCode);
|
||||
unsigned int (*requestChannelClientDelPerm)(uint64 serverConnectionHandlerID, uint64 channelID, uint64 clientDatabaseID, const unsigned int* permissionIDArray, int arraySize, const char* returnCode);
|
||||
unsigned int (*requestChannelClientPermList)(uint64 serverConnectionHandlerID, uint64 channelID, uint64 clientDatabaseID, const char* returnCode);
|
||||
unsigned int (*privilegeKeyUse)(uint64 serverConnectionHandler, const char* tokenKey, const char* returnCode);
|
||||
unsigned int (*requestPermissionList)(uint64 serverConnectionHandler, const char* returnCode);
|
||||
unsigned int (*requestPermissionOverview)(uint64 serverConnectionHandler, uint64 clientDBID, uint64 channelID, const char* returnCode);
|
||||
/* Permissions */
|
||||
unsigned int (*requestServerGroupList)(uint64 serverConnectionHandlerID,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestServerGroupAdd)(uint64 serverConnectionHandlerID,
|
||||
const char* groupName,
|
||||
int groupType,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestServerGroupDel)(uint64 serverConnectionHandlerID,
|
||||
uint64 serverGroupID, int force,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestServerGroupAddClient)(
|
||||
uint64 serverConnectionHandlerID, uint64 serverGroupID,
|
||||
uint64 clientDatabaseID, const char* returnCode);
|
||||
unsigned int (*requestServerGroupDelClient)(
|
||||
uint64 serverConnectionHandlerID, uint64 serverGroupID,
|
||||
uint64 clientDatabaseID, const char* returnCode);
|
||||
unsigned int (*requestServerGroupsByClientID)(
|
||||
uint64 serverConnectionHandlerID, uint64 clientDatabaseID,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestServerGroupAddPerm)(
|
||||
uint64 serverConnectionHandlerID, uint64 serverGroupID,
|
||||
int continueonerror, const unsigned int* permissionIDArray,
|
||||
const int* permissionValueArray, const int* permissionNegatedArray,
|
||||
const int* permissionSkipArray, int arraySize,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestServerGroupDelPerm)(
|
||||
uint64 serverConnectionHandlerID, uint64 serverGroupID,
|
||||
int continueOnError, const unsigned int* permissionIDArray,
|
||||
int arraySize, const char* returnCode);
|
||||
unsigned int (*requestServerGroupPermList)(
|
||||
uint64 serverConnectionHandlerID, uint64 serverGroupID,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestServerGroupClientList)(
|
||||
uint64 serverConnectionHandlerID, uint64 serverGroupID,
|
||||
int withNames, const char* returnCode);
|
||||
unsigned int (*requestChannelGroupList)(
|
||||
uint64 serverConnectionHandlerID, const char* returnCode);
|
||||
unsigned int (*requestChannelGroupAdd)(uint64 serverConnectionHandlerID,
|
||||
const char* groupName,
|
||||
int groupType,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestChannelGroupDel)(uint64 serverConnectionHandlerID,
|
||||
uint64 channelGroupID, int force,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestChannelGroupAddPerm)(
|
||||
uint64 serverConnectionHandlerID, uint64 channelGroupID,
|
||||
int continueonerror, const unsigned int* permissionIDArray,
|
||||
const int* permissionValueArray, int arraySize,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestChannelGroupDelPerm)(
|
||||
uint64 serverConnectionHandlerID, uint64 channelGroupID,
|
||||
int continueOnError, const unsigned int* permissionIDArray,
|
||||
int arraySize, const char* returnCode);
|
||||
unsigned int (*requestChannelGroupPermList)(
|
||||
uint64 serverConnectionHandlerID, uint64 channelGroupID,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestSetClientChannelGroup)(
|
||||
uint64 serverConnectionHandlerID, const uint64* channelGroupIDArray,
|
||||
const uint64* channelIDArray, const uint64* clientDatabaseIDArray,
|
||||
int arraySize, const char* returnCode);
|
||||
unsigned int (*requestChannelAddPerm)(
|
||||
uint64 serverConnectionHandlerID, uint64 channelID,
|
||||
const unsigned int* permissionIDArray,
|
||||
const int* permissionValueArray, int arraySize,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestChannelDelPerm)(
|
||||
uint64 serverConnectionHandlerID, uint64 channelID,
|
||||
const unsigned int* permissionIDArray, int arraySize,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestChannelPermList)(uint64 serverConnectionHandlerID,
|
||||
uint64 channelID,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestClientAddPerm)(
|
||||
uint64 serverConnectionHandlerID, uint64 clientDatabaseID,
|
||||
const unsigned int* permissionIDArray,
|
||||
const int* permissionValueArray, const int* permissionSkipArray,
|
||||
int arraySize, const char* returnCode);
|
||||
unsigned int (*requestClientDelPerm)(
|
||||
uint64 serverConnectionHandlerID, uint64 clientDatabaseID,
|
||||
const unsigned int* permissionIDArray, int arraySize,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestClientPermList)(uint64 serverConnectionHandlerID,
|
||||
uint64 clientDatabaseID,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestChannelClientAddPerm)(
|
||||
uint64 serverConnectionHandlerID, uint64 channelID,
|
||||
uint64 clientDatabaseID, const unsigned int* permissionIDArray,
|
||||
const int* permissionValueArray, int arraySize,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestChannelClientDelPerm)(
|
||||
uint64 serverConnectionHandlerID, uint64 channelID,
|
||||
uint64 clientDatabaseID, const unsigned int* permissionIDArray,
|
||||
int arraySize, const char* returnCode);
|
||||
unsigned int (*requestChannelClientPermList)(
|
||||
uint64 serverConnectionHandlerID, uint64 channelID,
|
||||
uint64 clientDatabaseID, const char* returnCode);
|
||||
unsigned int (*privilegeKeyUse)(uint64 serverConnectionHandler,
|
||||
const char* tokenKey,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestPermissionList)(uint64 serverConnectionHandler,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestPermissionOverview)(
|
||||
uint64 serverConnectionHandler, uint64 clientDBID, uint64 channelID,
|
||||
const char* returnCode);
|
||||
|
||||
/* Helper Functions */
|
||||
unsigned int (*clientPropertyStringToFlag)(const char* clientPropertyString, size_t* resultFlag);
|
||||
unsigned int (*channelPropertyStringToFlag)(const char* channelPropertyString, size_t* resultFlag);
|
||||
unsigned int (*serverPropertyStringToFlag)(const char* serverPropertyString, size_t* resultFlag);
|
||||
/* Helper Functions */
|
||||
unsigned int (*clientPropertyStringToFlag)(
|
||||
const char* clientPropertyString, size_t* resultFlag);
|
||||
unsigned int (*channelPropertyStringToFlag)(
|
||||
const char* channelPropertyString, size_t* resultFlag);
|
||||
unsigned int (*serverPropertyStringToFlag)(
|
||||
const char* serverPropertyString, size_t* resultFlag);
|
||||
|
||||
/* Client functions */
|
||||
void (*getAppPath)(char* path, size_t maxLen);
|
||||
void (*getResourcesPath)(char* path, size_t maxLen);
|
||||
void (*getConfigPath)(char* path, size_t maxLen);
|
||||
void (*getPluginPath)(char* path, size_t maxLen, const char* pluginID);
|
||||
uint64 (*getCurrentServerConnectionHandlerID)(void);
|
||||
void (*printMessage)(uint64 serverConnectionHandlerID, const char* message, enum PluginMessageTarget messageTarget);
|
||||
void (*printMessageToCurrentTab)(const char* message);
|
||||
void (*urlsToBB)(const char* text, char* result, size_t maxLen);
|
||||
void (*sendPluginCommand)(uint64 serverConnectionHandlerID, const char* pluginID, const char* command, int targetMode, const anyID* targetIDs, const char* returnCode);
|
||||
void (*getDirectories)(const char* path, char* result, size_t maxLen);
|
||||
unsigned int (*getServerConnectInfo)(uint64 scHandlerID, char* host, unsigned short* port, char* password, size_t maxLen);
|
||||
unsigned int (*getChannelConnectInfo)(uint64 scHandlerID, uint64 channelID, char* path, char* password, size_t maxLen);
|
||||
void (*createReturnCode)(const char* pluginID, char* returnCode, size_t maxLen);
|
||||
unsigned int (*requestInfoUpdate)(uint64 scHandlerID, enum PluginItemType itemType, uint64 itemID);
|
||||
uint64 (*getServerVersion)(uint64 scHandlerID);
|
||||
unsigned int (*isWhispering)(uint64 scHandlerID, anyID clientID, int* result);
|
||||
unsigned int (*isReceivingWhisper)(uint64 scHandlerID, anyID clientID, int* result);
|
||||
unsigned int (*getAvatar)(uint64 scHandlerID, anyID clientID, char* result, size_t maxLen);
|
||||
void (*setPluginMenuEnabled)(const char* pluginID, int menuID, int enabled);
|
||||
void (*showHotkeySetup)(void);
|
||||
void (*requestHotkeyInputDialog)(const char* pluginID, const char* keyword, int isDown, void* qParentWindow);
|
||||
unsigned int (*getHotkeyFromKeyword)(const char* pluginID, const char** keywords, char** hotkeys, size_t arrayLen, size_t hotkeyBufSize);
|
||||
unsigned int (*getClientDisplayName)(uint64 scHandlerID, anyID clientID, char* result, size_t maxLen);
|
||||
unsigned int (*getBookmarkList)(struct PluginBookmarkList** list);
|
||||
unsigned int (*getProfileList)(enum PluginGuiProfile profile, int* defaultProfileIdx, char*** result);
|
||||
unsigned int (*guiConnect)(enum PluginConnectTab connectTab, const char* serverLabel, const char* serverAddress, const char* serverPassword, const char* nickname, const char* channel, const char* channelPassword, const char* captureProfile,
|
||||
const char* playbackProfile, const char* hotkeyProfile, const char* soundProfile, const char* userIdentity, const char* oneTimeKey, const char* phoneticName, uint64* scHandlerID);
|
||||
unsigned int (*guiConnectBookmark)(enum PluginConnectTab connectTab, const char* bookmarkuuid, uint64* scHandlerID);
|
||||
unsigned int (*createBookmark)(const char* bookmarkuuid, const char* serverLabel, const char* serverAddress, const char* serverPassword, const char* nickname, const char* channel, const char* channelPassword, const char* captureProfile,
|
||||
const char* playbackProfile, const char* hotkeyProfile, const char* soundProfile, const char* uniqueUserId, const char* oneTimeKey, const char* phoneticName);
|
||||
unsigned int (*getPermissionIDByName)(uint64 serverConnectionHandlerID, const char* permissionName, unsigned int* result);
|
||||
unsigned int (*getClientNeededPermission)(uint64 serverConnectionHandlerID, const char* permissionName, int* result);
|
||||
void (*notifyKeyEvent)(const char* pluginID, const char* keyIdentifier, int up_down);
|
||||
/* Client functions */
|
||||
void (*getAppPath)(char* path, size_t maxLen);
|
||||
void (*getResourcesPath)(char* path, size_t maxLen);
|
||||
void (*getConfigPath)(char* path, size_t maxLen);
|
||||
void (*getPluginPath)(char* path, size_t maxLen, const char* pluginID);
|
||||
uint64 (*getCurrentServerConnectionHandlerID)(void);
|
||||
void (*printMessage)(uint64 serverConnectionHandlerID,
|
||||
const char* message,
|
||||
enum PluginMessageTarget messageTarget);
|
||||
void (*printMessageToCurrentTab)(const char* message);
|
||||
void (*urlsToBB)(const char* text, char* result, size_t maxLen);
|
||||
void (*sendPluginCommand)(uint64 serverConnectionHandlerID,
|
||||
const char* pluginID, const char* command,
|
||||
int targetMode, const anyID* targetIDs,
|
||||
const char* returnCode);
|
||||
void (*getDirectories)(const char* path, char* result, size_t maxLen);
|
||||
unsigned int (*getServerConnectInfo)(uint64 scHandlerID, char* host,
|
||||
unsigned short* port,
|
||||
char* password, size_t maxLen);
|
||||
unsigned int (*getChannelConnectInfo)(uint64 scHandlerID,
|
||||
uint64 channelID, char* path,
|
||||
char* password, size_t maxLen);
|
||||
void (*createReturnCode)(const char* pluginID, char* returnCode,
|
||||
size_t maxLen);
|
||||
unsigned int (*requestInfoUpdate)(uint64 scHandlerID,
|
||||
enum PluginItemType itemType,
|
||||
uint64 itemID);
|
||||
uint64 (*getServerVersion)(uint64 scHandlerID);
|
||||
unsigned int (*isWhispering)(uint64 scHandlerID, anyID clientID,
|
||||
int* result);
|
||||
unsigned int (*isReceivingWhisper)(uint64 scHandlerID, anyID clientID,
|
||||
int* result);
|
||||
unsigned int (*getAvatar)(uint64 scHandlerID, anyID clientID,
|
||||
char* result, size_t maxLen);
|
||||
void (*setPluginMenuEnabled)(const char* pluginID, int menuID,
|
||||
int enabled);
|
||||
void (*showHotkeySetup)(void);
|
||||
void (*requestHotkeyInputDialog)(const char* pluginID,
|
||||
const char* keyword, int isDown,
|
||||
void* qParentWindow);
|
||||
unsigned int (*getHotkeyFromKeyword)(const char* pluginID,
|
||||
const char** keywords,
|
||||
char** hotkeys, size_t arrayLen,
|
||||
size_t hotkeyBufSize);
|
||||
unsigned int (*getClientDisplayName)(uint64 scHandlerID, anyID clientID,
|
||||
char* result, size_t maxLen);
|
||||
unsigned int (*getBookmarkList)(struct PluginBookmarkList** list);
|
||||
unsigned int (*getProfileList)(enum PluginGuiProfile profile,
|
||||
int* defaultProfileIdx, char*** result);
|
||||
unsigned int (*guiConnect)(
|
||||
enum PluginConnectTab connectTab, const char* serverLabel,
|
||||
const char* serverAddress, const char* serverPassword,
|
||||
const char* nickname, const char* channel,
|
||||
const char* channelPassword, const char* captureProfile,
|
||||
const char* playbackProfile, const char* hotkeyProfile,
|
||||
const char* soundProfile, const char* userIdentity,
|
||||
const char* oneTimeKey, const char* phoneticName,
|
||||
uint64* scHandlerID);
|
||||
unsigned int (*guiConnectBookmark)(enum PluginConnectTab connectTab,
|
||||
const char* bookmarkuuid,
|
||||
uint64* scHandlerID);
|
||||
unsigned int (*createBookmark)(
|
||||
const char* bookmarkuuid, const char* serverLabel,
|
||||
const char* serverAddress, const char* serverPassword,
|
||||
const char* nickname, const char* channel,
|
||||
const char* channelPassword, const char* captureProfile,
|
||||
const char* playbackProfile, const char* hotkeyProfile,
|
||||
const char* soundProfile, const char* uniqueUserId,
|
||||
const char* oneTimeKey, const char* phoneticName);
|
||||
unsigned int (*getPermissionIDByName)(uint64 serverConnectionHandlerID,
|
||||
const char* permissionName,
|
||||
unsigned int* result);
|
||||
unsigned int (*getClientNeededPermission)(
|
||||
uint64 serverConnectionHandlerID, const char* permissionName,
|
||||
int* result);
|
||||
void (*notifyKeyEvent)(const char* pluginID, const char* keyIdentifier,
|
||||
int up_down);
|
||||
|
||||
/* Single-Track/Multi-Track recording */
|
||||
unsigned int (*startRecording)(uint64 serverConnectionHandlerID, int multitrack, int noFileSelector, const char* path);
|
||||
unsigned int (*stopRecording)(uint64 serverConnectionHandlerID);
|
||||
/* Single-Track/Multi-Track recording */
|
||||
unsigned int (*startRecording)(uint64 serverConnectionHandlerID,
|
||||
int multitrack, int noFileSelector,
|
||||
const char* path);
|
||||
unsigned int (*stopRecording)(uint64 serverConnectionHandlerID);
|
||||
|
||||
/* Convenience functions */
|
||||
unsigned int (*requestClientsMove)(uint64 serverConnectionHandlerID, const anyID* clientIDArray, uint64 newChannelID, const char* password, const char* returnCode);
|
||||
unsigned int (*requestClientsKickFromChannel)(uint64 serverConnectionHandlerID, const anyID* clientIDArray, const char* kickReason, const char* returnCode);
|
||||
unsigned int (*requestClientsKickFromServer)(uint64 serverConnectionHandlerID, const anyID* clientIDArray, const char* kickReason, const char* returnCode);
|
||||
unsigned int (*requestMuteClientsTemporary)(uint64 serverConnectionHandlerID, const anyID* clientIDArray, const char* returnCode);
|
||||
unsigned int (*requestUnmuteClientsTemporary)(uint64 serverConnectionHandlerID, const anyID* clientIDArray, const char* returnCode);
|
||||
unsigned int (*getPermissionNameByID)(uint64 scHandlerID, unsigned int permissionID, char* result, size_t max_len);
|
||||
unsigned int (*clientPropertyFlagToString)(size_t clientPropertyFlag, char** resultString);
|
||||
unsigned int (*channelPropertyFlagToString)(size_t channelPropertyFlag, char** resultString);
|
||||
unsigned int (*serverPropertyFlagToString)(size_t serverPropertyFlag, char** resultString);
|
||||
/* Convenience functions */
|
||||
unsigned int (*requestClientsMove)(uint64 serverConnectionHandlerID,
|
||||
const anyID* clientIDArray,
|
||||
uint64 newChannelID,
|
||||
const char* password,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestClientsKickFromChannel)(
|
||||
uint64 serverConnectionHandlerID, const anyID* clientIDArray,
|
||||
const char* kickReason, const char* returnCode);
|
||||
unsigned int (*requestClientsKickFromServer)(
|
||||
uint64 serverConnectionHandlerID, const anyID* clientIDArray,
|
||||
const char* kickReason, const char* returnCode);
|
||||
unsigned int (*requestMuteClientsTemporary)(
|
||||
uint64 serverConnectionHandlerID, const anyID* clientIDArray,
|
||||
const char* returnCode);
|
||||
unsigned int (*requestUnmuteClientsTemporary)(
|
||||
uint64 serverConnectionHandlerID, const anyID* clientIDArray,
|
||||
const char* returnCode);
|
||||
unsigned int (*getPermissionNameByID)(uint64 scHandlerID,
|
||||
unsigned int permissionID,
|
||||
char* result, size_t max_len);
|
||||
unsigned int (*clientPropertyFlagToString)(size_t clientPropertyFlag,
|
||||
char** resultString);
|
||||
unsigned int (*channelPropertyFlagToString)(size_t channelPropertyFlag,
|
||||
char** resultString);
|
||||
unsigned int (*serverPropertyFlagToString)(size_t serverPropertyFlag,
|
||||
char** resultString);
|
||||
|
||||
/* Server editing */
|
||||
unsigned int (*setServerVariableAsInt)(uint64 serverConnectionHandlerID, size_t flag, int value);
|
||||
unsigned int (*setServerVariableAsUInt64)(uint64 serverConnectionHandlerID, size_t flag, uint64 value);
|
||||
unsigned int (*setServerVariableAsDouble)(uint64 serverConnectionHandlerID, size_t flag, double value);
|
||||
unsigned int (*setServerVariableAsString)(uint64 serverConnectionHandlerID, size_t flag, const char* value);
|
||||
unsigned int (*flushServerUpdates)(uint64 serverConnectionHandlerID, const char* returnCode);
|
||||
/* Server editing */
|
||||
unsigned int (*setServerVariableAsInt)(uint64 serverConnectionHandlerID,
|
||||
size_t flag, int value);
|
||||
unsigned int (*setServerVariableAsUInt64)(
|
||||
uint64 serverConnectionHandlerID, size_t flag, uint64 value);
|
||||
unsigned int (*setServerVariableAsDouble)(
|
||||
uint64 serverConnectionHandlerID, size_t flag, double value);
|
||||
unsigned int (*setServerVariableAsString)(
|
||||
uint64 serverConnectionHandlerID, size_t flag, const char* value);
|
||||
unsigned int (*flushServerUpdates)(uint64 serverConnectionHandlerID,
|
||||
const char* returnCode);
|
||||
|
||||
/* Server/Channel group helper functions */
|
||||
unsigned int (*getServerGroupIDByName)(uint64 serverConnectionHandlerID, const char* groupName, unsigned int* result);
|
||||
unsigned int (*getServerGroupNameByID)(uint64 scHandlerID, unsigned int groupID, char* result, size_t max_len);
|
||||
unsigned int (*getChannelGroupIDByName)(uint64 serverConnectionHandlerID, const char* groupName, unsigned int* result);
|
||||
unsigned int (*getChannelGroupNameByID)(uint64 scHandlerID, unsigned int groupID, char* result, size_t max_len);
|
||||
/* Server/Channel group helper functions */
|
||||
unsigned int (*getServerGroupIDByName)(uint64 serverConnectionHandlerID,
|
||||
const char* groupName,
|
||||
unsigned int* result);
|
||||
unsigned int (*getServerGroupNameByID)(uint64 scHandlerID,
|
||||
unsigned int groupID,
|
||||
char* result, size_t max_len);
|
||||
unsigned int (*getChannelGroupIDByName)(
|
||||
uint64 serverConnectionHandlerID, const char* groupName,
|
||||
unsigned int* result);
|
||||
unsigned int (*getChannelGroupNameByID)(uint64 scHandlerID,
|
||||
unsigned int groupID,
|
||||
char* result, size_t max_len);
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in new issue
Block a user