From 378cae639849ba9f020666d1cf6dad6e08bfaf0e Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Fri, 22 Dec 2006 00:56:02 +0100 Subject: Add missing ttl-options in config Signed-off-by: Lars Hjemli --- shared.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/shared.c b/shared.c index 762eb38..18b795b 100644 --- a/shared.c +++ b/shared.c @@ -60,6 +60,14 @@ void cgit_global_config_cb(const char *name, const char *value) cgit_nocache = atoi(value); else if (!strcmp(name, "cache-root")) cgit_cache_root = xstrdup(value); + else if (!strcmp(name, "cache-root-ttl")) + cgit_cache_root_ttl = atoi(value); + else if (!strcmp(name, "cache-repo-ttl")) + cgit_cache_repo_ttl = atoi(value); + else if (!strcmp(name, "cache-static-ttl")) + cgit_cache_static_ttl = atoi(value); + else if (!strcmp(name, "cache-dynamic-ttl")) + cgit_cache_dynamic_ttl = atoi(value); } void cgit_repo_config_cb(const char *name, const char *value) -- cgit v1.2.3-54-g00ecf lue='BaseApp-class' selected='selected'>BaseApp-class An 128×64 OLED watch based on Raspberry Pi Pico.ConfuSomu
summaryrefslogtreecommitdiffstats
path: root/apps/main_clock.cpp
blob: 24a4dfb68da7639062317871803836b5c0ca8720 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96