summaryrefslogtreecommitdiff
path: root/motd.h
blob: 638612b8f830a2d835396a034cbfc6997f10c7cc (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/term_io.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