Make logging more uniform. Fix copyright year
[umurmur.git] / src / client.h
index 358993e0e77d6850cc60add09284bdb6be1fcbeb..82792e9924312f9edb17b0065d0dbdadc7b0a54a 100644 (file)
@@ -1,5 +1,5 @@
-/* Copyright (C) 2009, Martin Johansson <martin@fatbob.nu>
-   Copyright (C) 2005-2009, Thorvald Natvig <thorvald@natvig.com>
+/* Copyright (C) 2009-2010, Martin Johansson <martin@fatbob.nu>
+   Copyright (C) 2005-2010, Thorvald Natvig <thorvald@natvig.com>
 
    All rights reserved.
 
@@ -69,8 +69,7 @@ typedef struct {
        uint32_t rxcount, msgsize, drainleft, txcount, txsize;
        int sessionId;
        uint64_t key;
-       char playerName[MAX_TEXT];
-       int playerId;
+       char *playerName;
        bool_t authenticated, deaf, mute;
        char *os, *release;
        uint32_t version;
@@ -81,9 +80,10 @@ typedef struct {
        struct dlist node;
        struct dlist txMsgQueue;
        int txQueueCount;
-       /* Channel */
-       void *channel; /*Ugly... */
+       void *channel; /* Ugly... */
+       char *context;
        struct dlist chan_node;
+       struct dlist voicetargets;
 } client_t;