summaryrefslogtreecommitdiffstats
path: root/ini/ini_comment.h
diff options
context:
space:
mode:
Diffstat (limited to 'ini/ini_comment.h')
-rw-r--r--ini/ini_comment.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/ini/ini_comment.h b/ini/ini_comment.h
index 947209c..dfb2639 100644
--- a/ini/ini_comment.h
+++ b/ini/ini_comment.h
@@ -24,6 +24,7 @@
#include <stdint.h>
#include <stdio.h>
+#include "simplebuffer.h"
#ifndef EOK
#define EOK 0
@@ -131,6 +132,18 @@ int ini_comment_copy(struct ini_comment *ic,
struct ini_comment **ic_copy);
/**
+ * Add one comment to another
+ */
+int ini_comment_add(struct ini_comment *ic_to_add,
+ struct ini_comment *ic);
+
+/**
+ * Serialize comment
+ */
+int ini_comment_serialize(struct ini_comment *ic,
+ struct simplebuffer *sbobj);
+
+/**
* Internal function to print comment
*/
void ini_comment_print(struct ini_comment *ic, FILE *file);