diff options
Diffstat (limited to 'src/rexmpp_console.h')
-rw-r--r-- | src/rexmpp_console.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/rexmpp_console.h b/src/rexmpp_console.h new file mode 100644 index 0000000..a7841a5 --- /dev/null +++ b/src/rexmpp_console.h @@ -0,0 +1,18 @@ +/** + @file rexmpp_console.h + @brief A console module + @author defanor <defanor@uberspace.net> + @date 2020 + @copyright MIT license. +*/ + +#ifndef REXMPP_CONSOLE_H +#define REXMPP_CONSOLE_H + +#include "rexmpp.h" + +void rexmpp_console_on_send (rexmpp_t *s, xmlNodePtr node); +void rexmpp_console_on_recv (rexmpp_t *s, xmlNodePtr node); +void rexmpp_console_feed (rexmpp_t *s, char *str, ssize_t str_len); + +#endif |