Subversion Repositories Okuu

Rev

Rev 3 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3 Rev 5
Line 1... Line 1...
1
/* $Id: ok_news.h 3 2024-09-10 19:21:48Z nishi $ */
1
/* $Id: ok_news.h 5 2024-09-11 00:26:25Z nishi $ */
2
 
2
 
3
#ifndef __OK_NEWS_H__
3
#ifndef __OK_NEWS_H__
4
#define __OK_NEWS_H__
4
#define __OK_NEWS_H__
5
 
5
 
6
struct news_entry {
6
struct news_entry {
Line 8... Line 8...
8
	char* content;
8
	char* content;
9
};
9
};
10
 
10
 
11
void ok_news_init(void);
11
void ok_news_init(void);
12
int ok_news_read(const char* path);
12
int ok_news_read(const char* path);
-
 
13
int ok_news_write(const char* nick, const char* message);
13
 
14
 
14
#ifndef OK_NEWS_SRC
15
#ifndef OK_NEWS_SRC
15
extern struct news_entry news_entry;
16
extern struct news_entry news_entry;
16
#endif
17
#endif
17
 
18