]> andersk Git - moira.git/blobdiff - backup/dump_db.h
Command line printer manipulation client, and build goo.
[moira.git] / backup / dump_db.h
index 945850ecd957a5db7c396b9af074ab5b9f931d21..c249eb5f1d60f731e5be222e6e50fb807a7c5b84 100644 (file)
@@ -1,7 +1,26 @@
-/* $Header$ */
+/* $Id$ */
 
-#define SEP_CHAR       ('|')
+#include <stdio.h>
+#include <moira.h>
 
+#define SEP_CHAR ('|')
+
+void do_backups(char *prefix);
+void do_restores(char *prefix);
+
+void dump_int(FILE *f, int n);
+void dump_str(FILE *f, char *str);
 #define dump_nl(f) { if (putc('\n', f) < 0) wpunt(); }
 #define dump_sep(f) { if (putc(SEP_CHAR, f) < 0) wpunt(); }
-                          
+
+int parse_int(FILE *f);
+void parse_str(FILE *f, char *buf, int maxlen);
+void parse_sep(FILE *f);
+void parse_nl(FILE *f);
+
+void wpunt(void);
+void punt(char *msg);
+void dbmserr(void);
+void safe_close(FILE *stream);
+FILE *open_file(char *prefix, char *suffix);
+char *endtrim(char *save);
This page took 1.150421 seconds and 4 git commands to generate.