-.TH "MYMAIL" "0.9.7" "March 2013" "Francois Fleuret" "User Commands"
+.TH "MYMAIL" "0.9.8" "March 2013" "Francois Fleuret" "User Commands"
\" This man page was written by Francois Fleuret <francois@fleuret.org>
\" and is distributed under a Creative Commons Attribution-Share Alike
#include <time.h>
#define MYMAIL_DB_MAGIC_TOKEN "mymail_index_file"
-#define VERSION "0.9.7"
+#define MYMAIL_VERSION "0.9.8"
+
+#define MYMAIL_DB_FORMAT_VERSION 1
#define MAX_NB_SEARCH_CONDITIONS 32
/*********************************************************************/
void print_version(FILE *out) {
- fprintf(out, "mymail version %s (%s)\n", VERSION, UNAME);
+ fprintf(out, "mymail version %s (%s)\n", MYMAIL_VERSION, UNAME);
}
void print_usage(FILE *out) {
}
}
- fprintf(db_file, "%s version_%s raw\n", MYMAIL_DB_MAGIC_TOKEN, VERSION);
+ fprintf(db_file, "%s version_%s format_%d raw\n", MYMAIL_DB_MAGIC_TOKEN, MYMAIL_VERSION, MYMAIL_DB_FORMAT_VERSION);
while(optind < argc) {
recursive_index_mbox(db_file,