summaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2008-01-20 10:45:38 +0000
committerFrederic Culot <calcurse@culot.org>2008-01-20 10:45:38 +0000
commit407a262938a3aafb3be7d3077b4bf3c0656f4abe (patch)
tree9ee22bc3c73ad1070bb270b41e9bce0ae04eadbe /src/utils.h
parent54c2b6004102de55c8ebed7d9ce5f1ece7eeb449 (diff)
downloadcalcurse-407a262938a3aafb3be7d3077b4bf3c0656f4abe.zip
Code parts related to item update rewritten
Diffstat (limited to 'src/utils.h')
-rwxr-xr-xsrc/utils.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/utils.h b/src/utils.h
index 69b2d09..a52deb8 100755
--- a/src/utils.h
+++ b/src/utils.h
@@ -1,4 +1,4 @@
-/* $calcurse: utils.h,v 1.25 2008/01/13 12:40:45 culot Exp $ */
+/* $calcurse: utils.h,v 1.26 2008/01/20 10:45:39 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -61,6 +61,13 @@ typedef enum {
IERROR_WARN
} ierror_sev_e;
+typedef enum {
+ ERASE_DONT_FORCE,
+ ERASE_FORCE,
+ ERASE_FORCE_KEEP_NOTE,
+ ERASE_FORCE_ONLY_NOTE
+} erase_flag_e;
+
void exit_calcurse(int);
void ierror(const char *, ierror_sev_e);
void aerror(const char *, int, const char *);
@@ -93,6 +100,6 @@ char *mycpy(const char *);
long mystrtol(const char *);
void print_option_incolor(WINDOW *, bool, int, int);
char *new_tempfile(const char *, int);
-void erase_note(char **);
+void erase_note(char **, erase_flag_e);
#endif /* CALCURSE_UTILS_H */