#define IS_AUTH(_a_) ((_a_)->authenticated)
+struct channel;
+
typedef struct {
int tcpfd;
SSL_handle_t *ssl;
struct dlist node;
struct dlist txMsgQueue;
int txQueueCount;
- void *channel; /* Ugly... */
+ struct channel *channel;
char *context;
struct dlist chan_node;
struct dlist voicetargets;
void Client_codec_free(client_t *client);
codec_t *Client_codec_iterate(client_t *client, codec_t **codec_itr);
void Client_textmessage(client_t *client, char *text);
+bool_t Client_token_match(client_t *client, char const *str);
+void Client_token_free(client_t *client);
+void Client_token_add(client_t *client, char *token_string);
#endif