TeamTalk 5 C-API DLL
Version 5.11A
|
Notification events for server changes. More...
Typedefs | |
typedef void | UserConnectedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpUser) |
Callback when a new user is connecting to the server. More... | |
typedef void | UserLoggedInCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpUser) |
Callback when a user has logged in. More... | |
typedef void | UserLoggedOutCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpUser) |
Callback when a user has logged out. More... | |
typedef void | UserDisconnectedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpUser) |
Callback when user has disconnected. More... | |
typedef void | UserTimedoutCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpUser) |
Callback when a user's connection has timed out. More... | |
typedef void | UserKickedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpKicker, IN const User *lpKickee, IN const Channel *lpChannel) |
Callback when a user has been kicked. More... | |
typedef void | UserBannedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpBanner, IN const User *lpBanee, IN const Channel *lpChannel) |
Callback when a user has been banned. More... | |
typedef void | UserUnbannedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpUnbanner, IN const TTCHAR *szIPAddress) |
Callback when a ban is removed. More... | |
typedef void | UserUpdatedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpUser) |
Callback when a user's properties are being updated. More... | |
typedef void | UserJoinedChannelCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpUser, IN const Channel *lpChannel) |
Callback when a user has joined a channel. More... | |
typedef void | UserLeftChannelCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpUser, IN const Channel *lpChannel) |
Callback when a user has left a channel. More... | |
typedef void | UserMovedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpMover, IN const User *lpMovee) |
Callback when a user has been moved. More... | |
typedef void | UserTextMessageCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpUser, IN const TextMessage *lpTextMessage) |
Callback when a user is sending a text message. More... | |
typedef void | ChannelCreatedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const Channel *lpChannel, IN const User *lpUser) |
Callback when a new channel has been created. More... | |
typedef void | ChannelUpdatedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const Channel *lpChannel, IN const User *lpUser) |
Callback when a channel has been updated. More... | |
typedef void | ChannelRemovedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const Channel *lpChannel, IN const User *lpUser) |
Callback when channel has been removed. More... | |
typedef void | FileUploadedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const RemoteFile *lpRemoteFile, IN const User *lpUser) |
Callback when a new file has been uploaded to a channel. More... | |
typedef void | FileDownloadedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const RemoteFile *lpRemoteFile, IN const User *lpUser) |
Callback when a user has downloaded a file. More... | |
typedef void | FileDeletedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const RemoteFile *lpRemoteFile, IN const User *lpUser) |
Callback when a user has deleted a file. More... | |
typedef void | ServerUpdatedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const ServerProperties *lpServerProperties, IN const User *lpUser) |
Callback when a user has updated the server properties. More... | |
typedef void | SaveServerConfigCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpUser) |
Callback when a user has reguested to save the server configuration. More... | |
Functions | |
TEAMTALKDLL_API TTBOOL | TTS_RegisterUserConnectedCallback (IN TTSInstance *lpTTSInstance, IN UserConnectedCallback *lpCallback, IN VOID *lpUserData, IN TTBOOL bEnable) |
Register a callback when a user connects to the server. More... | |
TEAMTALKDLL_API TTBOOL | TTS_RegisterUserLoggedInCallback (IN TTSInstance *lpTTSInstance, IN UserLoggedInCallback *lpCallback, IN VOID *lpUserData, IN TTBOOL bEnable) |
Register a callback when a user logs on to the server. More... | |
TEAMTALKDLL_API TTBOOL | TTS_RegisterUserLoggedOutCallback (IN TTSInstance *lpTTSInstance, IN UserLoggedOutCallback *lpCallback, IN VOID *lpUserData, IN TTBOOL bEnable) |
Register a callback when a user logs out of the server. More... | |
TEAMTALKDLL_API TTBOOL | TTS_RegisterUserDisconnectedCallback (IN TTSInstance *lpTTSInstance, IN UserDisconnectedCallback *lpCallback, IN VOID *lpUserData, IN TTBOOL bEnable) |
Register a callback when a user disconnects from the server. More... | |
TEAMTALKDLL_API TTBOOL | TTS_RegisterUserTimedoutCallback (IN TTSInstance *lpTTSInstance, IN UserTimedoutCallback *lpCallback, IN VOID *lpUserData, IN TTBOOL bEnable) |
Register a callback when a user is dropped because of inactivity. More... | |
TEAMTALKDLL_API TTBOOL | TTS_RegisterUserKickedCallback (IN TTSInstance *lpTTSInstance, IN UserKickedCallback *lpCallback, IN VOID *lpUserData, IN TTBOOL bEnable) |
Register a callback when a user is kicked from the server. More... | |
TEAMTALKDLL_API TTBOOL | TTS_RegisterUserBannedCallback (IN TTSInstance *lpTTSInstance, IN UserBannedCallback *lpCallback, IN VOID *lpUserData, IN TTBOOL bEnable) |
Register a callback when a user is banned from the server. More... | |
TEAMTALKDLL_API TTBOOL | TTS_RegisterUserUnbannedCallback (IN TTSInstance *lpTTSInstance, IN UserUnbannedCallback *lpCallback, IN VOID *lpUserData, IN TTBOOL bEnable) |
Register a callback when an IP-address is unbanned from the server. More... | |
TEAMTALKDLL_API TTBOOL | TTS_RegisterUserUpdatedCallback (IN TTSInstance *lpTTSInstance, IN UserUpdatedCallback *lpCallback, IN VOID *lpUserData, IN TTBOOL bEnable) |
Register a callback when an user's properties are updated. More... | |
TEAMTALKDLL_API TTBOOL | TTS_RegisterUserJoinedChannelCallback (IN TTSInstance *lpTTSInstance, IN UserJoinedChannelCallback *lpCallback, IN VOID *lpUserData, IN TTBOOL bEnable) |
Register a callback when an user joins a channel. More... | |
TEAMTALKDLL_API TTBOOL | TTS_RegisterUserLeftChannelCallback (IN TTSInstance *lpTTSInstance, IN UserLeftChannelCallback *lpCallback, IN VOID *lpUserData, IN TTBOOL bEnable) |
Register a callback when an user leaves a channel. More... | |
TEAMTALKDLL_API TTBOOL | TTS_RegisterUserMovedCallback (IN TTSInstance *lpTTSInstance, IN UserMovedCallback *lpCallback, IN VOID *lpUserData, IN TTBOOL bEnable) |
Register a callback when a user is moved. More... | |
TEAMTALKDLL_API TTBOOL | TTS_RegisterUserTextMessageCallback (IN TTSInstance *lpTTSInstance, IN UserTextMessageCallback *lpCallback, IN VOID *lpUserData, IN TTBOOL bEnable) |
Register a callback when a user send a text message. More... | |
TEAMTALKDLL_API TTBOOL | TTS_RegisterChannelCreatedCallback (IN TTSInstance *lpTTSInstance, IN ChannelCreatedCallback *lpCallback, IN VOID *lpUserData, IN TTBOOL bEnable) |
Register a callback when a channel is created. More... | |
TEAMTALKDLL_API TTBOOL | TTS_RegisterChannelUpdatedCallback (IN TTSInstance *lpTTSInstance, IN ChannelUpdatedCallback *lpCallback, IN VOID *lpUserData, IN TTBOOL bEnable) |
Register a callback when a channel is updated. More... | |
TEAMTALKDLL_API TTBOOL | TTS_RegisterChannelRemovedCallback (IN TTSInstance *lpTTSInstance, IN ChannelRemovedCallback *lpCallback, IN VOID *lpUserData, IN TTBOOL bEnable) |
Register a callback when a channel is removed. More... | |
TEAMTALKDLL_API TTBOOL | TTS_RegisterFileUploadedCallback (IN TTSInstance *lpTTSInstance, IN FileUploadedCallback *lpCallback, IN VOID *lpUserData, IN TTBOOL bEnable) |
Register a callback when a file is uploaded. More... | |
TEAMTALKDLL_API TTBOOL | TTS_RegisterFileDownloadedCallback (IN TTSInstance *lpTTSInstance, IN FileDownloadedCallback *lpCallback, IN VOID *lpUserData, IN TTBOOL bEnable) |
Register a callback when a file is downloaded. More... | |
TEAMTALKDLL_API TTBOOL | TTS_RegisterFileDeletedCallback (IN TTSInstance *lpTTSInstance, IN FileDeletedCallback *lpCallback, IN VOID *lpUserData, IN TTBOOL bEnable) |
Register a callback when a file is deleted. More... | |
TEAMTALKDLL_API TTBOOL | TTS_RegisterServerUpdatedCallback (IN TTSInstance *lpTTSInstance, IN ServerUpdatedCallback *lpCallback, IN VOID *lpUserData, IN TTBOOL bEnable) |
Register a callback when a server's properties has been updated. More... | |
TEAMTALKDLL_API TTBOOL | TTS_RegisterSaveServerConfigCallback (IN TTSInstance *lpTTSInstance, IN SaveServerConfigCallback *lpCallback, IN VOID *lpUserData, IN TTBOOL bEnable) |
Register a callback when a user requests the server to save its configuration. More... | |
Notification events for server changes.
Callbacks of this type are mainly meant for logging so it's possible to see what is going on the server. Examples of logging events are when a user is dropped due to connection timeout.
typedef void UserConnectedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpUser) |
Callback when a new user is connecting to the server.
Register using TTS_RegisterUserConnectedCallback().
lpTTSInstance | The server instance where the event is occurring. |
lpUserData | The user data supplied to register-callback function. |
lpUser | The user properties gathered so far. |
Definition at line 203 of file TeamTalkSrv.h.
typedef void UserLoggedInCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpUser) |
Callback when a user has logged in.
This callback occurs in the context of TT_DoLogin() and if UserLoginCallback returned CMDERR_SUCCESS.
Register using TTS_RegisterUserLoggedInCallback().
lpTTSInstance | The server instance where the event is occurring. |
lpUserData | The user data supplied to register-callback function. |
lpUser | The user properties of the user who logged in. |
Definition at line 216 of file TeamTalkSrv.h.
typedef void UserLoggedOutCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpUser) |
Callback when a user has logged out.
Register using TTS_RegisterUserLoggedInCallback().
lpTTSInstance | The server instance where the event is occurring. |
lpUserData | The user data supplied to register-callback function. |
lpUser | The properties of the user. |
Definition at line 226 of file TeamTalkSrv.h.
typedef void UserDisconnectedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpUser) |
Callback when user has disconnected.
Register using TTS_RegisterUserDisconnectedCallback().
lpTTSInstance | The server instance where the event is occurring. |
lpUserData | The user data supplied to register-callback function. |
lpUser | The properties of the user. |
Definition at line 236 of file TeamTalkSrv.h.
typedef void UserTimedoutCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpUser) |
Callback when a user's connection has timed out.
Register using TTS_RegisterUserTimedoutCallback().
lpTTSInstance | The server instance where the event is occurring. |
lpUserData | The user data supplied to register-callback function. |
lpUser | The properties of the user. |
Definition at line 246 of file TeamTalkSrv.h.
typedef void UserKickedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpKicker, IN const User *lpKickee, IN const Channel *lpChannel) |
Callback when a user has been kicked.
Register using TTS_RegisterUserKickedCallback().
lpTTSInstance | The server instance where the event is occurring. |
lpUserData | The user data supplied to register-callback function. |
lpKicker | The user who had initiated the kick. This can be 0. |
lpKickee | The user who has been kicked. |
lpChannel | The channel where the user is kicked from. The can be 0. |
Definition at line 258 of file TeamTalkSrv.h.
typedef void UserBannedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpBanner, IN const User *lpBanee, IN const Channel *lpChannel) |
Callback when a user has been banned.
Register using TTS_RegisterUserBannedCallback().
lpTTSInstance | The server instance where the event is occurring. |
lpUserData | The user data supplied to register-callback function. |
lpBanner | The user who had initiated the ban. This can be 0. |
lpBanee | The user who has been banned. This may only contain an IP-address. |
lpChannel | The channel where the user is banned from. The can be 0. |
Definition at line 272 of file TeamTalkSrv.h.
typedef void UserUnbannedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpUnbanner, IN const TTCHAR *szIPAddress) |
Callback when a ban is removed.
This callback occurs in the contect of TT_DoUnBanUser().
Register using TTS_RegisterUserUnbannedCallback().
lpTTSInstance | The server instance where the event is occurring. |
lpUserData | The user data supplied to register-callback function. |
lpUnbanner | The user removing the ban. |
szIPAddress | The IP-address which is unbanned. |
Definition at line 286 of file TeamTalkSrv.h.
typedef void UserUpdatedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpUser) |
Callback when a user's properties are being updated.
Register using TTS_RegisterUserUpdatedCallback().
lpTTSInstance | The server instance where the event is occurring. |
lpUserData | The user data supplied to register-callback function. |
lpUser | The properties of the user. |
Definition at line 297 of file TeamTalkSrv.h.
typedef void UserJoinedChannelCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpUser, IN const Channel *lpChannel) |
Callback when a user has joined a channel.
Register using TTS_RegisterUserJoinedChannelCallback().
lpTTSInstance | The server instance where the event is occurring. |
lpUserData | The user data supplied to register-callback function. |
lpUser | The properties of the user. |
lpChannel | The properties of the channel being joined. |
Definition at line 308 of file TeamTalkSrv.h.
typedef void UserLeftChannelCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpUser, IN const Channel *lpChannel) |
Callback when a user has left a channel.
Register using TTS_RegisterUserLeftChannelCallback().
lpTTSInstance | The server instance where the event is occurring. |
lpUserData | The user data supplied to register-callback function. |
lpUser | The properties of the user. |
lpChannel | The properties of the channel being left. |
Definition at line 320 of file TeamTalkSrv.h.
typedef void UserMovedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpMover, IN const User *lpMovee) |
Callback when a user has been moved.
This callback occurs in the context of TT_DoMoveUser().
Register using TTS_RegisterUserMovedCallback().
lpTTSInstance | The server instance where the event is occurring. |
lpUserData | The user data supplied to register-callback function. |
lpMover | The user who initiated the move. |
lpMovee | The user who has been moved. |
Definition at line 334 of file TeamTalkSrv.h.
typedef void UserTextMessageCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpUser, IN const TextMessage *lpTextMessage) |
Callback when a user is sending a text message.
This callback occurs in the context of TT_DoTextMessage().
Register using TTS_RegisterUserTextMessageCallback().
lpTTSInstance | The server instance where the event is occurring. |
lpUserData | The user data supplied to register-callback function. |
lpUser | The properties of the user. |
lpTextMessage | The text message being sent. |
Definition at line 348 of file TeamTalkSrv.h.
typedef void ChannelCreatedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const Channel *lpChannel, IN const User *lpUser) |
Callback when a new channel has been created.
This callback occurs in the context of TT_DoMakeChannel() or TT_DoJoinChannel().
Register using TTS_RegisterChannelCreatedCallback().
lpTTSInstance | The server instance where the event is occurring. |
lpUserData | The user data supplied to register-callback function. |
lpChannel | The channel which has been created. |
lpUser | The user who created the channel. This can be 0. |
Definition at line 363 of file TeamTalkSrv.h.
typedef void ChannelUpdatedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const Channel *lpChannel, IN const User *lpUser) |
Callback when a channel has been updated.
This callback occurs in the context of TT_DoUpdateChannel().
Register using TTS_RegisterChannelUpdatedCallback().
lpTTSInstance | The server instance where the event is occurring. |
lpUserData | The user data supplied to register-callback function. |
lpChannel | The new properties of the channel. |
lpUser | The user who initiated the update. This can be 0. |
Definition at line 377 of file TeamTalkSrv.h.
typedef void ChannelRemovedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const Channel *lpChannel, IN const User *lpUser) |
Callback when channel has been removed.
Register using TTS_RegisterChannelRemovedCallback().
lpTTSInstance | The server instance where the event is occurring. |
lpUserData | The user data supplied to register-callback function. |
lpChannel | The properties of the channel which has been removed. |
lpUser | The properties of the who initiated the removal. This can be 0. |
Definition at line 390 of file TeamTalkSrv.h.
typedef void FileUploadedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const RemoteFile *lpRemoteFile, IN const User *lpUser) |
Callback when a new file has been uploaded to a channel.
Register using TTS_RegisterFileUploadedCallback().
lpTTSInstance | The server instance where the event is occurring. |
lpUserData | The user data supplied to register-callback function. |
lpRemoteFile | The properties of the file. |
lpUser | The properties of the user who uploaded the file. |
Definition at line 402 of file TeamTalkSrv.h.
typedef void FileDownloadedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const RemoteFile *lpRemoteFile, IN const User *lpUser) |
Callback when a user has downloaded a file.
Register using TTS_RegisterFileDownloadedCallback().
lpTTSInstance | The server instance where the event is occurring. |
lpUserData | The user data supplied to register-callback function. |
lpRemoteFile | The properties of the file. |
lpUser | The properties of the user who downloaded the file. |
Definition at line 415 of file TeamTalkSrv.h.
typedef void FileDeletedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const RemoteFile *lpRemoteFile, IN const User *lpUser) |
Callback when a user has deleted a file.
Register using TTS_RegisterFileDeletedCallback().
lpTTSInstance | The server instance where the event is occurring. |
lpUserData | The user data supplied to register-callback function. |
lpRemoteFile | The properties of the file. |
lpUser | The properties of the user who deleted the file. |
Definition at line 428 of file TeamTalkSrv.h.
typedef void ServerUpdatedCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const ServerProperties *lpServerProperties, IN const User *lpUser) |
Callback when a user has updated the server properties.
This callback occurs in the context of TT_DoUpdateServer().
Register using TTS_RegisterServerUpdatedCallback().
lpTTSInstance | The server instance where the event is occurring. |
lpUserData | The user data supplied to register-callback function. |
lpServerProperties | The properties of the server. |
lpUser | The user who initiated the server update. |
Definition at line 443 of file TeamTalkSrv.h.
typedef void SaveServerConfigCallback(IN TTSInstance *lpTTSInstance, IN VOID *lpUserData, IN const User *lpUser) |
Callback when a user has reguested to save the server configuration.
Register using TTS_RegisterSaveServerConfigCallback().
lpTTSInstance | The server instance where the event is occurring. |
lpUserData | The user data supplied to register-callback function. |
lpUser | The properties of the user who requested to save the server configuration. This can be 0. |
Definition at line 457 of file TeamTalkSrv.h.
TEAMTALKDLL_API TTBOOL TTS_RegisterUserConnectedCallback | ( | IN TTSInstance * | lpTTSInstance, |
IN UserConnectedCallback * | lpCallback, | ||
IN VOID * | lpUserData, | ||
IN TTBOOL | bEnable | ||
) |
Register a callback when a user connects to the server.
lpTTSInstance | Pointer to the server instance created by TTS_InitTeamTalk(). |
lpCallback | Pointer to a function which will handle the callback. |
lpUserData | A pointer which will be passed to the callback function. |
bEnable | Whether to register or unregister the callback. |
TEAMTALKDLL_API TTBOOL TTS_RegisterUserLoggedInCallback | ( | IN TTSInstance * | lpTTSInstance, |
IN UserLoggedInCallback * | lpCallback, | ||
IN VOID * | lpUserData, | ||
IN TTBOOL | bEnable | ||
) |
Register a callback when a user logs on to the server.
lpTTSInstance | Pointer to the server instance created by TTS_InitTeamTalk(). |
lpCallback | Pointer to a function which will handle the callback. |
lpUserData | A pointer which will be passed to the callback function. |
bEnable | Whether to register or unregister the callback. |
TEAMTALKDLL_API TTBOOL TTS_RegisterUserLoggedOutCallback | ( | IN TTSInstance * | lpTTSInstance, |
IN UserLoggedOutCallback * | lpCallback, | ||
IN VOID * | lpUserData, | ||
IN TTBOOL | bEnable | ||
) |
Register a callback when a user logs out of the server.
lpTTSInstance | Pointer to the server instance created by TTS_InitTeamTalk(). |
lpCallback | Pointer to a function which will handle the callback. |
lpUserData | A pointer which will be passed to the callback function. |
bEnable | Whether to register or unregister the callback. |
TEAMTALKDLL_API TTBOOL TTS_RegisterUserDisconnectedCallback | ( | IN TTSInstance * | lpTTSInstance, |
IN UserDisconnectedCallback * | lpCallback, | ||
IN VOID * | lpUserData, | ||
IN TTBOOL | bEnable | ||
) |
Register a callback when a user disconnects from the server.
lpTTSInstance | Pointer to the server instance created by TTS_InitTeamTalk(). |
lpCallback | Pointer to a function which will handle the callback. |
lpUserData | A pointer which will be passed to the callback function. |
bEnable | Whether to register or unregister the callback. |
TEAMTALKDLL_API TTBOOL TTS_RegisterUserTimedoutCallback | ( | IN TTSInstance * | lpTTSInstance, |
IN UserTimedoutCallback * | lpCallback, | ||
IN VOID * | lpUserData, | ||
IN TTBOOL | bEnable | ||
) |
Register a callback when a user is dropped because of inactivity.
See nUserTimeout
in ServerProperties.
lpTTSInstance | Pointer to the server instance created by TTS_InitTeamTalk(). |
lpCallback | Pointer to a function which will handle the callback. |
lpUserData | A pointer which will be passed to the callback function. |
bEnable | Whether to register or unregister the callback. |
TEAMTALKDLL_API TTBOOL TTS_RegisterUserKickedCallback | ( | IN TTSInstance * | lpTTSInstance, |
IN UserKickedCallback * | lpCallback, | ||
IN VOID * | lpUserData, | ||
IN TTBOOL | bEnable | ||
) |
Register a callback when a user is kicked from the server.
lpTTSInstance | Pointer to the server instance created by TTS_InitTeamTalk(). |
lpCallback | Pointer to a function which will handle the callback. |
lpUserData | A pointer which will be passed to the callback function. |
bEnable | Whether to register or unregister the callback. |
TEAMTALKDLL_API TTBOOL TTS_RegisterUserBannedCallback | ( | IN TTSInstance * | lpTTSInstance, |
IN UserBannedCallback * | lpCallback, | ||
IN VOID * | lpUserData, | ||
IN TTBOOL | bEnable | ||
) |
Register a callback when a user is banned from the server.
lpTTSInstance | Pointer to the server instance created by TTS_InitTeamTalk(). |
lpCallback | Pointer to a function which will handle the callback. |
lpUserData | A pointer which will be passed to the callback function. |
bEnable | Whether to register or unregister the callback. |
TEAMTALKDLL_API TTBOOL TTS_RegisterUserUnbannedCallback | ( | IN TTSInstance * | lpTTSInstance, |
IN UserUnbannedCallback * | lpCallback, | ||
IN VOID * | lpUserData, | ||
IN TTBOOL | bEnable | ||
) |
Register a callback when an IP-address is unbanned from the server.
lpTTSInstance | Pointer to the server instance created by TTS_InitTeamTalk(). |
lpCallback | Pointer to a function which will handle the callback. |
lpUserData | A pointer which will be passed to the callback function. |
bEnable | Whether to register or unregister the callback. |
TEAMTALKDLL_API TTBOOL TTS_RegisterUserUpdatedCallback | ( | IN TTSInstance * | lpTTSInstance, |
IN UserUpdatedCallback * | lpCallback, | ||
IN VOID * | lpUserData, | ||
IN TTBOOL | bEnable | ||
) |
Register a callback when an user's properties are updated.
lpTTSInstance | Pointer to the server instance created by TTS_InitTeamTalk(). |
lpCallback | Pointer to a function which will handle the callback. |
lpUserData | A pointer which will be passed to the callback function. |
bEnable | Whether to register or unregister the callback. |
TEAMTALKDLL_API TTBOOL TTS_RegisterUserJoinedChannelCallback | ( | IN TTSInstance * | lpTTSInstance, |
IN UserJoinedChannelCallback * | lpCallback, | ||
IN VOID * | lpUserData, | ||
IN TTBOOL | bEnable | ||
) |
Register a callback when an user joins a channel.
lpTTSInstance | Pointer to the server instance created by TTS_InitTeamTalk(). |
lpCallback | Pointer to a function which will handle the callback. |
lpUserData | A pointer which will be passed to the callback function. |
bEnable | Whether to register or unregister the callback. |
TEAMTALKDLL_API TTBOOL TTS_RegisterUserLeftChannelCallback | ( | IN TTSInstance * | lpTTSInstance, |
IN UserLeftChannelCallback * | lpCallback, | ||
IN VOID * | lpUserData, | ||
IN TTBOOL | bEnable | ||
) |
Register a callback when an user leaves a channel.
lpTTSInstance | Pointer to the server instance created by TTS_InitTeamTalk(). |
lpCallback | Pointer to a function which will handle the callback. |
lpUserData | A pointer which will be passed to the callback function. |
bEnable | Whether to register or unregister the callback. |
TEAMTALKDLL_API TTBOOL TTS_RegisterUserMovedCallback | ( | IN TTSInstance * | lpTTSInstance, |
IN UserMovedCallback * | lpCallback, | ||
IN VOID * | lpUserData, | ||
IN TTBOOL | bEnable | ||
) |
Register a callback when a user is moved.
lpTTSInstance | Pointer to the server instance created by TTS_InitTeamTalk(). |
lpCallback | Pointer to a function which will handle the callback. |
lpUserData | A pointer which will be passed to the callback function. |
bEnable | Whether to register or unregister the callback. |
TEAMTALKDLL_API TTBOOL TTS_RegisterUserTextMessageCallback | ( | IN TTSInstance * | lpTTSInstance, |
IN UserTextMessageCallback * | lpCallback, | ||
IN VOID * | lpUserData, | ||
IN TTBOOL | bEnable | ||
) |
Register a callback when a user send a text message.
lpTTSInstance | Pointer to the server instance created by TTS_InitTeamTalk(). |
lpCallback | Pointer to a function which will handle the callback. |
lpUserData | A pointer which will be passed to the callback function. |
bEnable | Whether to register or unregister the callback. |
TEAMTALKDLL_API TTBOOL TTS_RegisterChannelCreatedCallback | ( | IN TTSInstance * | lpTTSInstance, |
IN ChannelCreatedCallback * | lpCallback, | ||
IN VOID * | lpUserData, | ||
IN TTBOOL | bEnable | ||
) |
Register a callback when a channel is created.
lpTTSInstance | Pointer to the server instance created by TTS_InitTeamTalk(). |
lpCallback | Pointer to a function which will handle the callback. |
lpUserData | A pointer which will be passed to the callback function. |
bEnable | Whether to register or unregister the callback. |
TEAMTALKDLL_API TTBOOL TTS_RegisterChannelUpdatedCallback | ( | IN TTSInstance * | lpTTSInstance, |
IN ChannelUpdatedCallback * | lpCallback, | ||
IN VOID * | lpUserData, | ||
IN TTBOOL | bEnable | ||
) |
Register a callback when a channel is updated.
lpTTSInstance | Pointer to the server instance created by TTS_InitTeamTalk(). |
lpCallback | Pointer to a function which will handle the callback. |
lpUserData | A pointer which will be passed to the callback function. |
bEnable | Whether to register or unregister the callback. |
TEAMTALKDLL_API TTBOOL TTS_RegisterChannelRemovedCallback | ( | IN TTSInstance * | lpTTSInstance, |
IN ChannelRemovedCallback * | lpCallback, | ||
IN VOID * | lpUserData, | ||
IN TTBOOL | bEnable | ||
) |
Register a callback when a channel is removed.
lpTTSInstance | Pointer to the server instance created by TTS_InitTeamTalk(). |
lpCallback | Pointer to a function which will handle the callback. |
lpUserData | A pointer which will be passed to the callback function. |
bEnable | Whether to register or unregister the callback. |
TEAMTALKDLL_API TTBOOL TTS_RegisterFileUploadedCallback | ( | IN TTSInstance * | lpTTSInstance, |
IN FileUploadedCallback * | lpCallback, | ||
IN VOID * | lpUserData, | ||
IN TTBOOL | bEnable | ||
) |
Register a callback when a file is uploaded.
lpTTSInstance | Pointer to the server instance created by TTS_InitTeamTalk(). |
lpCallback | Pointer to a function which will handle the callback. |
lpUserData | A pointer which will be passed to the callback function. |
bEnable | Whether to register or unregister the callback. |
TEAMTALKDLL_API TTBOOL TTS_RegisterFileDownloadedCallback | ( | IN TTSInstance * | lpTTSInstance, |
IN FileDownloadedCallback * | lpCallback, | ||
IN VOID * | lpUserData, | ||
IN TTBOOL | bEnable | ||
) |
Register a callback when a file is downloaded.
lpTTSInstance | Pointer to the server instance created by TTS_InitTeamTalk(). |
lpCallback | Pointer to a function which will handle the callback. |
lpUserData | A pointer which will be passed to the callback function. |
bEnable | Whether to register or unregister the callback. |
TEAMTALKDLL_API TTBOOL TTS_RegisterFileDeletedCallback | ( | IN TTSInstance * | lpTTSInstance, |
IN FileDeletedCallback * | lpCallback, | ||
IN VOID * | lpUserData, | ||
IN TTBOOL | bEnable | ||
) |
Register a callback when a file is deleted.
lpTTSInstance | Pointer to the server instance created by TTS_InitTeamTalk(). |
lpCallback | Pointer to a function which will handle the callback. |
lpUserData | A pointer which will be passed to the callback function. |
bEnable | Whether to register or unregister the callback. |
TEAMTALKDLL_API TTBOOL TTS_RegisterServerUpdatedCallback | ( | IN TTSInstance * | lpTTSInstance, |
IN ServerUpdatedCallback * | lpCallback, | ||
IN VOID * | lpUserData, | ||
IN TTBOOL | bEnable | ||
) |
Register a callback when a server's properties has been updated.
lpTTSInstance | Pointer to the server instance created by TTS_InitTeamTalk(). |
lpCallback | Pointer to a function which will handle the callback. |
lpUserData | A pointer which will be passed to the callback function. |
bEnable | Whether to register or unregister the callback. |
TEAMTALKDLL_API TTBOOL TTS_RegisterSaveServerConfigCallback | ( | IN TTSInstance * | lpTTSInstance, |
IN SaveServerConfigCallback * | lpCallback, | ||
IN VOID * | lpUserData, | ||
IN TTBOOL | bEnable | ||
) |
Register a callback when a user requests the server to save its configuration.
lpTTSInstance | Pointer to the server instance created by TTS_InitTeamTalk(). |
lpCallback | Pointer to a function which will handle the callback. |
lpUserData | A pointer which will be passed to the callback function. |
bEnable | Whether to register or unregister the callback. |