Subversion Repositories Okuu

Rev

Rev 3 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

/* $Id: ok_news.h 5 2024-09-11 00:26:25Z nishi $ */

#ifndef __OK_NEWS_H__
#define __OK_NEWS_H__

struct news_entry {
        char* from;
        char* content;
};

void ok_news_init(void);
int ok_news_read(const char* path);
int ok_news_write(const char* nick, const char* message);

#ifndef OK_NEWS_SRC
extern struct news_entry news_entry;
#endif

#endif