diff options
Diffstat (limited to 'src/ioline.h')
-rw-r--r-- | src/ioline.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ioline.h b/src/ioline.h new file mode 100644 index 00000000..55d7d4a3 --- /dev/null +++ b/src/ioline.h @@ -0,0 +1,14 @@ +#ifndef fooiolinehfoo +#define fooiolinehfoo + +#include "iochannel.h" + +struct ioline; + +struct ioline* ioline_new(struct iochannel *io); +void ioline_free(struct ioline *l); + +void ioline_puts(struct ioline *s, const char *c); +void ioline_set_callback(struct ioline*io, void (*callback)(struct ioline*io, const char *s, void *userdata), void *userdata); + +#endif |