summaryrefslogtreecommitdiffstats
path: root/logs.h
blob: 0c1fff411b20cbce7243f2467ecfb0aceefc938e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef __MICROBBS_LOGS_H
#define __MICROBBS_LOGS_H

#include <stdlib.h>
#include <stdio.h>
#include <syslog.h>
#include <unistd.h>

#include "buildinfo.h"

#define BBS_DEFAULT_SYSLOG "microbbs"

int bbs_log_main( const char* );
int bbs_log_article( const char* );
int bbs_log_article_list( const char* );
int bbs_log_captcha( const char* );
int bbs_log_motd( const char* );
int bbs_log_quit( const char* );

int bbs_log( const char*, const char* );

#endif