Channel structure should be public for implementations.
[cascardo/sgp.git] / include / sgp / channel.h
index 8fe64c8..b8f30ef 100644 (file)
 
 #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 *);