1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,25 @@ |
1 |
+/* |
|
2 |
+ * rec_config.h |
|
3 |
+ * |
|
4 |
+ * Configuration load/save for recremote |
|
5 |
+ * |
|
6 |
+ * Header file |
|
7 |
+ * |
|
8 |
+ * Author: Dario Rodriguez dario@softhome.net |
|
9 |
+ * This program is licensed under the terms of the Affero GPL v1+ |
|
10 |
+ */ |
|
11 |
+ |
|
12 |
+#ifndef NEWSL_CONFIG_H |
|
13 |
+#define NEWSL_CONFIG_H |
|
14 |
+ |
|
15 |
+typedef struct recconfig { |
|
16 |
+ char *logfile; |
|
17 |
+} recconfig; |
|
18 |
+ |
|
19 |
+recconfig *recconfig_init(char *configfile); |
|
20 |
+void recconfig_free(recconfig *config); |
|
21 |
+ |
|
22 |
+int recconfig_exists(char *configfile); |
|
23 |
+int recconfig_write(char *configfile,char *logfile); |
|
24 |
+ |
|
25 |
+#endif |