summaryrefslogtreecommitdiff
path: root/src/rexmpp_console.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rexmpp_console.h')
-rw-r--r--src/rexmpp_console.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/rexmpp_console.h b/src/rexmpp_console.h
new file mode 100644
index 0000000..bb2aed7
--- /dev/null
+++ b/src/rexmpp_console.h
@@ -0,0 +1,19 @@
+/**
+ @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, rexmpp_xml_t *node);
+void rexmpp_console_on_recv (rexmpp_t *s, rexmpp_xml_t *node);
+void rexmpp_console_on_run (rexmpp_t *s, rexmpp_err_t result);
+void rexmpp_console_feed (rexmpp_t *s, char *str, ssize_t str_len);
+
+#endif