summaryrefslogtreecommitdiff
path: root/motd.h
diff options
context:
space:
mode:
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
+