X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fsgp.git;a=blobdiff_plain;f=include%2Fsgp%2Fchannel.h;h=b8f30ef06b6cfb80f4923af8d113bf4f00e81673;hp=8fe64c8cce660438afb1e4bfebb75c06656bd048;hb=b6e274e6ea10779cccaf46974d2898318e9a3136;hpb=f0257343c7bfbb6532178b8624dd402775373bd7 diff --git a/include/sgp/channel.h b/include/sgp/channel.h index 8fe64c8..b8f30ef 100644 --- a/include/sgp/channel.h +++ b/include/sgp/channel.h @@ -21,7 +21,10 @@ #include -struct sgp_channel; +struct sgp_channel { + int (*send) (void *, struct sgp_msg *); + void * data; +}; int sgp_channel_send(struct sgp_channel *, struct sgp_msg *);