summaryrefslogtreecommitdiffstats
path: root/twit.h
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2015-06-09 17:51:57 +0300
committerFreeArtMan <dos21h@gmail.com>2015-06-09 17:51:57 +0300
commit712439932ce9ac04fa6354cd4603046232121974 (patch)
tree26b9db563fd09d353add5ea4abdddd0d3b1edacb /twit.h
parent5e5e5b1cbcb98eda7e0c52a367c66b944b480eda (diff)
downloadmicrobbs-712439932ce9ac04fa6354cd4603046232121974.tar.gz
microbbs-712439932ce9ac04fa6354cd4603046232121974.zip
Added twitting messages
Diffstat (limited to 'twit.h')
-rw-r--r--twit.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/twit.h b/twit.h
new file mode 100644
index 0000000..34aef0b
--- /dev/null
+++ b/twit.h
@@ -0,0 +1,20 @@
+#ifndef __MICROBBS_TWIT_H
+#define __MICROBBS_TWIT_H
+
+#include "libterm/term.h"
+#include "libterm/term_io.h"
+#include "logs.h"
+#include "file_use.h"
+#include "list.h"
+
+#include "kconfig.h"
+
+//maybe move to Kconf
+#define TWIT_MAX_MESSAGES 10
+
+int bbs_twit( term_screen *, char *);
+int bbs_twit_add( term_screen *ts, List *twit, const char *fname);
+int bbs_twit_save( const char *fname, List *twit );
+
+
+#endif \ No newline at end of file