summaryrefslogtreecommitdiff
path: root/articles.h
blob: a0ad530df8f4e9463f4a2b8b869d23157907bc25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef __MICROBBS_ARTICLES_H
#define __MICROBBS_ARTICLES_H

#define _XOPEN_SOURCE 500

#ifndef _BSD_SOURCE
	#define _BSD_SOURCE
#endif

#define _POSIX_C_SOURCE 200809L

#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <dirent.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h> 

#include "kconfig.h"

//part of libterm
#include "libterm/term.h"
#include "libterm/term_io.h"
#include "logs.h"

#include "sds.h" 


//part of libadt
#include "list.h"

#define WORKING_DIR "article"

int bbs_article( term_screen*, const char* );
int bbs_article_list( term_screen*, const char* );

#endif