summaryrefslogtreecommitdiff
path: root/src/io.h
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2009-06-28 09:53:16 +0000
committerFrederic Culot <calcurse@culot.org>2009-06-28 09:53:16 +0000
commit6d67689b4ffc33454f8126d5f056906d43e085b5 (patch)
tree4618f5bf2092b9096589c682412d1bcfefd1b80c /src/io.h
parent68381c95dfcdc627491e74e4430cc8afb1578c45 (diff)
downloadcalcurse-6d67689b4ffc33454f8126d5f056906d43e085b5.zip
Simplified the way data are loaded and saved.
Diffstat (limited to 'src/io.h')
-rwxr-xr-xsrc/io.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/io.h b/src/io.h
index edaec47..d6ab005 100755
--- a/src/io.h
+++ b/src/io.h
@@ -1,8 +1,8 @@
-/* $calcurse: io.h,v 1.19 2009/06/21 18:16:22 culot Exp $ */
+/* $calcurse: io.h,v 1.20 2009/06/28 09:53:17 culot Exp $ */
/*
* Calcurse - text-based organizer
- * Copyright (c) 2004-2008 Frederic Culot
+ * Copyright (c) 2004-2009 Frederic Culot
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -53,10 +53,15 @@ typedef struct {
void io_init (char *, char *);
void io_extract_data (char *, const char *, int);
+unsigned io_save_conf (conf_t *);
+unsigned io_save_apts (void);
+unsigned io_save_todo (void);
+unsigned io_save_keys (void);
void io_save_cal (conf_t *, io_save_display_t);
void io_load_app (void);
void io_load_todo (void);
void io_load_keys (char *);
+void io_check_file (char *, int *);
int io_check_data_files (void);
void io_startup_screen (bool, int);
void io_export_data (export_type_t, conf_t *);