17 lines
328 B
C
17 lines
328 B
C
#ifndef __JOURNAL_H__
|
|
#define __JOURNAL_H__
|
|
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
|
|
#define JOURNAL_VERSION "0.0.1"
|
|
|
|
#define STREQ(a, b) strcmp(a, b) == 0
|
|
|
|
FILE *journal_open(char *topic);
|
|
void journal_write(FILE*, char* message);
|
|
void journal_write_topic(FILE*, char *topic, char *message);
|
|
void journal_close(FILE*);
|
|
|
|
#endif
|