projects
/
cascardo
/
sgp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Channel structure should be public for implementations.
[cascardo/sgp.git]
/
include
/
sgp
/
channel.h
diff --git
a/include/sgp/channel.h
b/include/sgp/channel.h
index
8fe64c8
..
b8f30ef
100644
(file)
--- a/
include/sgp/channel.h
+++ b/
include/sgp/channel.h
@@
-21,7
+21,10
@@
#include <sgp/msg.h>
-struct sgp_channel;
+struct sgp_channel {
+ int (*send) (void *, struct sgp_msg *);
+ void * data;
+};
int sgp_channel_send(struct sgp_channel *, struct sgp_msg *);