2019-04-29 03:42:44 +00:00
|
|
|
#ifndef __JOURNAL_H__
|
|
|
|
#define __JOURNAL_H__
|
|
|
|
|
|
|
|
#include <stdio.h>
|
2019-04-30 05:38:01 +00:00
|
|
|
#include <string.h>
|
|
|
|
|
|
|
|
#define JOURNAL_VERSION "0.0.1"
|
|
|
|
|
|
|
|
#define STREQ(a, b) strcmp(a, b) == 0
|
2019-04-29 03:42:44 +00:00
|
|
|
|
|
|
|
FILE *journal_open(char *topic);
|
|
|
|
void journal_write(FILE*, char* message);
|
2019-04-30 05:16:19 +00:00
|
|
|
void journal_write_topic(FILE*, char *topic, char *message);
|
2019-04-29 03:42:44 +00:00
|
|
|
void journal_close(FILE*);
|
|
|
|
|
|
|
|
#endif
|