lunabot/src/journal/journal.h

17 lines
320 B
C
Raw Normal View History

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
int journal_open(char *topic);
void journal_write(int, char* message);
void journal_write_topic(int, char *topic, char *message);
void journal_close(int);
2019-04-29 03:42:44 +00:00
#endif