log.h

pdirt/drv/include/log.h · 564 B

From the archive pDirt-1_tar.gz

Download the archive   « Back to the archive contents

#ifndef PDIRT_SYSLOG_H_
#define PDIRT_SYSLOG_H_

#include <stdio.h>
#include <stdarg.h>

#define MUDLOG	0
#define BUGLOG	1
#define TYPOLOG	2
#define SUGGLOG	3
#define ABERLOG 4

int openMudSyslog(char *fn,char *mode,int which);
void closeMudSyslog(void);
void mudSyslog(int which,char *pattern,...);

void mudlog(char *format,...);
void buglog(char *format,...);
void suggestlog(char *format,...);
void aberlog(char *format,...);

void progerror(char *name);
void close_logfile(void);
int  open_logfile(char *fn, Boolean clear_log);
void fwerror(char *fn);
#endif

Site Stats

Snippets: 1791
Codebases: 571