2
* Pilot Datebook processing utility
3
* Matthias Hessler <pilot-datebook@mhessler.de> December 2000
5
* This is free software, licensed under the GNU Public License V2.
6
* See the file COPYING for details.
10
#ifndef _PILOT_DATEBOOK_REMIND
11
#define _PILOT_DATEBOOK_REMIND
14
#include "pilot-datebook-data.h"
21
struct remind_file_data {
29
int num_recs; /* number of records in file */
30
int next_rec; /* record number of next record (record number starts with 0)
31
(before reading first record: next_rec = 0) */
43
/* Function definitions */
48
int remind_init_write (struct remind_file_data * in_file);
49
void remind_exit_write (struct remind_file_data * out_file);
50
int remind_set_write_option (struct remind_file_data * out_file, char opt, char * opt_arg);
52
/* For opening & closing */
53
void remind_open_write (struct remind_file_data * out_file, struct header_data * header);
54
void remind_close_write (struct remind_file_data * out_file, struct header_data * header);
55
void remind_abort_write (struct remind_file_data * out_file);
58
void remind_write_row (struct remind_file_data * out_file, struct header_data * header, struct row_data * row);
61
void remind_show_write_statistics (struct remind_file_data * out_file);
65
void remind_write_header (struct remind_file_data * out_file, struct header_data * header);
68
void remind_write_str (struct remind_file_data * out_file, const char * out_string);
69
void remind_write (struct remind_file_data * out_file, const char * format, ...);