projects
/
umurmur.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21ed599
)
Declare client_t::channel as struct channel for better type safety.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Thu, 28 Dec 2017 11:34:22 +0000
(12:34 +0100)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Thu, 28 Dec 2017 11:34:22 +0000
(12:34 +0100)
src/client.h
patch
|
blob
|
history
diff --git
a/src/client.h
b/src/client.h
index e7373bdfe148a2aca7ca136242c6dcb2ddeb3e50..f5346bf8b68d858d220fcdb2bd539fd7db22327b 100644
(file)
--- a/
src/client.h
+++ b/
src/client.h
@@
-59,6
+59,8
@@
#define IS_AUTH(_a_) ((_a_)->authenticated)
+struct channel;
+
typedef struct {
int tcpfd;
SSL_handle_t *ssl;
@@
-83,7
+85,7
@@
typedef struct {
struct dlist node;
struct dlist txMsgQueue;
int txQueueCount;
- void *channel; /* Ugly... */
+ struct channel *channel;
char *context;
struct dlist chan_node;
struct dlist voicetargets;