... | ... |
@@ -11,7 +11,7 @@ |
11 | 11 |
|
12 | 12 |
#include "kakumei.h" |
13 | 13 |
|
14 |
-int post_new(kakumei *ka, char *user, char *text); |
|
14 |
+int post_new(kakumei *ka, char *user, char *title, char *text); |
|
15 | 15 |
int post_last(kakumei *ka); |
16 | 16 |
int post_get(kakumei *ka, int postnum, char *filename, int filenamesize); |
17 | 17 |
int post_addcomment(kakumei *ka, int postnum, char *user, char *text); |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,18 @@ |
1 |
+/* |
|
2 |
+ * kakumei_posts.h |
|
3 |
+ * |
|
4 |
+ * Posts management |
|
5 |
+ * |
|
6 |
+ * Header file |
|
7 |
+ * |
|
8 |
+ * Author: Dario Rodriguez dario@softhome.net |
|
9 |
+ * This progran is licensed under the terms of the Affero GPL v1+ |
|
10 |
+ */ |
|
11 |
+ |
|
12 |
+#include "kakumei.h" |
|
13 |
+ |
|
14 |
+int post_new(kakumei *ka, char *user, char *text); |
|
15 |
+int post_last(kakumei *ka); |
|
16 |
+int post_get(kakumei *ka, int postnum, char *filename, int filenamesize); |
|
17 |
+int post_addcomment(kakumei *ka, int postnum, char *user, char *text); |
|
18 |
+ |