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

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