summaryrefslogtreecommitdiff
path: root/motd.h
blob: 58376450122dc041c7361eca98bf332ff61c8d6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef __MICROBBS_MOTD_H
#define __MICROBBS_MOTD_H

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include "kconfig.h"

#include "libterm/print_utils.h"
#include "libterm/term.h"

#include "logs.h"

//get file name
//calculate current termsize and then print motd in da middle
int bbs_login_motd( term_screen*, const char* );
int bbs_quit_motd( term_screen*, const char* );

#endif