projects
/
umurmur.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update CMake environment and add new tool
[umurmur.git]
/
src
/
voicetarget.h
diff --git
a/src/voicetarget.h
b/src/voicetarget.h
index fa8af04c33ce3316c5f42bd15235fd9c55a70461..8c911e56a318810f5d9a803d60d0aba7d22bef2d 100644
(file)
--- a/
src/voicetarget.h
+++ b/
src/voicetarget.h
@@
-1,5
+1,5
@@
-/* Copyright (C) 2009, Martin Johansson <martin@fatbob.nu>
- Copyright (C) 2005-20
09
, Thorvald Natvig <thorvald@natvig.com>
+/* Copyright (C) 2009
-2014
, Martin Johansson <martin@fatbob.nu>
+ Copyright (C) 2005-20
14
, Thorvald Natvig <thorvald@natvig.com>
All rights reserved.
All rights reserved.
@@
-28,6
+28,7
@@
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
#ifndef VOICETARGET_H_98762439875
#define VOICETARGET_H_98762439875
#ifndef VOICETARGET_H_98762439875
#define VOICETARGET_H_98762439875
@@
-37,9
+38,15
@@
#define TARGET_MAX_CHANNELS 16
#define TARGET_MAX_SESSIONS 32
#define TARGET_MAX_CHANNELS 16
#define TARGET_MAX_SESSIONS 32
+typedef struct {
+ int channel;
+ bool_t linked;
+ bool_t children;
+} channeltarget_t;
+
typedef struct {
int id;
typedef struct {
int id;
-
in
t channels[TARGET_MAX_CHANNELS];
+
channeltarget_
t channels[TARGET_MAX_CHANNELS];
int sessions[TARGET_MAX_SESSIONS];
struct dlist node;
} voicetarget_t;
int sessions[TARGET_MAX_SESSIONS];
struct dlist node;
} voicetarget_t;
@@
-48,7
+55,8
@@
void Voicetarget_add_id(client_t *client, int targetId);
void Voicetarget_del_id(client_t *client, int targetId);
void Voicetarget_add_session(client_t *client, int targetId, int sessionId);
void Voicetarget_del_id(client_t *client, int targetId);
void Voicetarget_add_session(client_t *client, int targetId, int sessionId);
-void Voicetarget_add_channel(client_t *client, int targetId, int channelId);
+void Voicetarget_add_channel(client_t *client, int targetId, int channelId,
+ bool_t linked, bool_t children);
voicetarget_t *Voicetarget_get_id(client_t *client, int targetId);
void Voicetarget_free_all(client_t *client);
voicetarget_t *Voicetarget_get_id(client_t *client, int targetId);
void Voicetarget_free_all(client_t *client);