Browse code

fix typo in comments

Dario Rodriguez authored on 23/07/2014 16:48:27
Showing 1 changed files
... ...
@@ -6,7 +6,7 @@
6 6
  * Header file
7 7
  *
8 8
  * Author: Dario Rodriguez dario@softhome.net
9
- * This progran is licensed under the terms of the Affero GPL v1+
9
+ * This program is licensed under the terms of the Affero GPL v1+
10 10
  */
11 11
 
12 12
 #include "kakumei.h"
Browse code

Add titles to the posts

Dario Rodriguez authored on 08/07/2014 11:34:03
Showing 1 changed files
... ...
@@ -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);
Browse code

add the editor and the posts part

Dario Rodriguez authored on 26/06/2014 22:41:33
Showing 1 changed files
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
+