summaryrefslogtreecommitdiff
path: root/logs.h
blob: 4387abea7e18cfe12afc4e1bf29e20fa96da188b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef __MICROBBS_LOGS_H
#define __MICROBBS_LOGS_H

#include <stdlib.h>
#include <stdio.h>
#include <syslog.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