summaryrefslogtreecommitdiff
path: root/include/logFile.h
blob: 12f5606d73a0ad4c6b71b0733b11e5d7e53a53fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

#ifndef LOGFILE_H

#define LOGFILE_H

#include "main.h"

typedef struct logFile_struct
{
	char *name;
	FILE *file;
} logFile_t;

extern logFile_t* newLogFile(char *s);
extern int writeLog(logFile_t *p, char *s);
extern void destroyLogFile(logFile_t *p);

#endif