summaryrefslogtreecommitdiff
path: root/src/recur.h
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2006-08-02 21:19:49 +0000
committerFrederic Culot <calcurse@culot.org>2006-08-02 21:19:49 +0000
commit489df669eb87515206874c5ffc1429ef26bda5e6 (patch)
treeaed4168da738abc09973a9da1691f1a9ea90f871 /src/recur.h
parentbc75d301614658a98571a039673a597624b85a1a (diff)
downloadcalcurse-489df669eb87515206874c5ffc1429ef26bda5e6.zip
recur_event_erase(), recur_apoint_erase() and recur_write_exc() added
Diffstat (limited to 'src/recur.h')
-rwxr-xr-xsrc/recur.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/recur.h b/src/recur.h
index 611197c..44dbc00 100755
--- a/src/recur.h
+++ b/src/recur.h
@@ -1,4 +1,4 @@
-/* $calcurse: recur.h,v 1.1 2006/07/31 21:00:03 culot Exp $ */
+/* $calcurse: recur.h,v 1.2 2006/08/02 21:19:49 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -73,6 +73,7 @@ struct recur_event_s *recur_event_new(char *mesg, long day, int id,
int type, int freq, long until);
char recur_def2char(int define);
int recur_char2def(char type);
+void recur_write_exc(struct days_s *exc, FILE * f);
void recur_apoint_write(struct recur_apoint_s *o, FILE * f);
void recur_event_write(struct recur_event_s *o, FILE * f);
struct recur_apoint_s *recur_apoint_scan(FILE * f, struct tm start,
@@ -83,5 +84,7 @@ void recur_save_data(FILE *f);
unsigned recur_item_inday(long item_start, int rpt_type, int rpt_freq,
long rpt_until, long day_start);
struct apoint_s *recur_apoint_s2apoint_s(struct recur_apoint_s *p);
+void recur_event_erase(long start, unsigned num, unsigned delete_whole);
+void recur_apoint_erase(long start, unsigned num, unsigned delete_whole);
#endif /* CALCURSE_RECUR_H */