diff options
author | Frederic Culot <calcurse@culot.org> | 2006-08-16 20:13:39 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2006-08-16 20:13:39 +0000 |
commit | 75545a75517367eb70605aa25e42afff3a8a1c6b (patch) | |
tree | cffeafb9a540f08254fc70e823302c99adbd02d4 | |
parent | bbfc1fb245c339a9ee4e47b1c86518e9601f8a08 (diff) | |
download | calcurse-75545a75517367eb70605aa25e42afff3a8a1c6b.zip |
recur_exc_scan() added
-rwxr-xr-x | src/recur.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/recur.h b/src/recur.h index 9cdfa3c..8af8310 100755 --- a/src/recur.h +++ b/src/recur.h @@ -1,4 +1,4 @@ -/* $calcurse: recur.h,v 1.3 2006/08/06 14:35:22 culot Exp $ */ +/* $calcurse: recur.h,v 1.4 2006/08/16 20:13:39 culot Exp $ */ /* * Calcurse - text-based organizer @@ -68,18 +68,19 @@ extern struct recur_apoint_s *recur_alist; extern struct recur_event_s *recur_elist; struct recur_apoint_s *recur_apoint_new(char *mesg, long start, long duration, - int type, int freq, long until); + int type, int freq, long until, struct days_s *except); struct recur_event_s *recur_event_new(char *mesg, long day, int id, - int type, int freq, long until); + int type, int freq, long until, struct days_s *except); 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, - struct tm end, char type, int freq, struct tm until); + struct tm end, char type, int freq, + struct tm until, struct days_s *exc); struct recur_event_s *recur_event_scan(FILE * f, struct tm start, int id, - char type, int freq, struct tm until); + char type, int freq, struct tm until, struct days_s *exc); void recur_save_data(FILE *f); unsigned recur_item_inday(long item_start, struct days_s *item_exc, int rpt_type, int rpt_freq, long rpt_until, long day_start); @@ -88,5 +89,6 @@ void recur_event_erase(long start, unsigned num, unsigned delete_whole); void recur_apoint_erase(long start, unsigned num, unsigned delete_whole); void recur_repeat_item(int sel_year, int sel_month, int sel_day, int item_nb, int colr); +struct days_s *recur_exc_scan(FILE *data_file); #endif /* CALCURSE_RECUR_H */ |