aboutsummaryrefslogtreecommitdiff
path: root/weekly.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2022-06-17 23:25:01 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2022-06-17 23:25:01 -0400
commitbb7501fc2b1fcdeba80c611bbc587ca9b26c3e4e (patch)
treeb241c38d17a1433c09a9dca189d61d9a56ed05a4 /weekly.h
parent66394b7f028c887dc0bbf853183fa55f83e4b342 (diff)
downloadweekly-bb7501fc2b1fcdeba80c611bbc587ca9b26c3e4e.tar.gz
Add --all/-a to dump all records. Output is affected by --dump-* argumentsHEADmaster
Diffstat (limited to 'weekly.h')
-rw-r--r--weekly.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/weekly.h b/weekly.h
index 6c5d4cd..e834606 100644
--- a/weekly.h
+++ b/weekly.h
@@ -3,6 +3,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <ctype.h>
#include <time.h>
#if defined(_WIN32) || defined(_WIN64)
@@ -71,6 +72,7 @@
#define RECORD_STYLE_LONG 1
#define RECORD_STYLE_CSV 2
#define RECORD_STYLE_DICT 3
+#define WEEK_MAX 54
struct Record {
char *date;