summaryrefslogtreecommitdiffstats
path: root/motd.h
diff options
context:
space:
mode:
authorArtur Artamonov <freeartman@wechall.net>2014-08-17 19:40:06 +0100
committerArtur Artamonov <freeartman@wechall.net>2014-08-17 19:40:06 +0100
commitaca4b1ad122434458125b4f25ea2d99a80370ee4 (patch)
tree7664e9e1f454e702c5ad2f557c06882a12ab42de /motd.h
downloadmicrobbs-aca4b1ad122434458125b4f25ea2d99a80370ee4.tar.gz
microbbs-aca4b1ad122434458125b4f25ea2d99a80370ee4.zip
Initial commit
Diffstat (limited to 'motd.h')
-rw-r--r--motd.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/motd.h b/motd.h
new file mode 100644
index 0000000..f3dfd63
--- /dev/null
+++ b/motd.h
@@ -0,0 +1,16 @@
+#ifndef __MICROBBS_MOTD_H
+#define __MICROBBS_MOTD_H
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include "libterm/print_utils.h"
+#include "libterm/term.h"
+
+//get file name
+//calculate current termsize and then print motd in da middle
+int bbs_motd( term_screen*, const char* );
+
+#endif
+