summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2007-03-11 15:23:14 +0000
committerFrederic Culot <calcurse@culot.org>2007-03-11 15:23:14 +0000
commit6f9fd359d190dec5d31d91c5c6ff3a2368a8802b (patch)
treed15cb76e82846db5ca2b7c03527278f46499d7ce
parent151f4996c21a9830f9e13b1de0f31287b81b697f (diff)
downloadcalcurse-6f9fd359d190dec5d31d91c5c6ff3a2368a8802b.zip
io_export_data() prototype added
export_mode_t type added
-rwxr-xr-xsrc/io.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/io.h b/src/io.h
index 64eaaba..381bc1d 100755
--- a/src/io.h
+++ b/src/io.h
@@ -1,4 +1,4 @@
-/* $calcurse: io.h,v 1.2 2007/03/10 15:56:56 culot Exp $ */
+/* $calcurse: io.h,v 1.3 2007/03/11 15:23:14 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -27,6 +27,12 @@
#ifndef CALCURSE_IO_H
#define CALCURSE_IO_H
+typedef enum {
+ IO_EXPORT_NONINTERACTIVE,
+ IO_EXPORT_INTERACTIVE,
+ IO_EXPORT_NBMODES
+} export_mode_t;
+
void io_init(char *cfile);
void extract_data(char *dst_data, const char *org, int len);
void save_cal(bool auto_save, bool confirm_quit, bool confirm_delete,
@@ -37,5 +43,6 @@ int load_todo(void);
int check_data_files(void);
void startup_screen(bool skip_dialogs, int no_data_file);
void progress_bar(bool save, int progress);
+void io_export_data(export_mode_t mode);
#endif /* CALCURSE_IO_H */