blob: 36564dc1ac8cca27df7dd04a6f26c42e21f3b24f (
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
|
#ifndef CTIMELINE_H
#define CTIMELINE_H
#include "xstring.h"
#define CTIMELINE_VERSION "1.0"
#define CTIMELINE_CONFIG "/etc/ctimelines"
struct ctimeline_branch {
string *name;
int age_from;
int age_to;
string *desc;
};
struct ctimeline_branch_list {
struct ctimeline_branch *list;
int count;
int capacity;
};
struct ctimeline_context {
string *head_title;
string *css;
// char *favicon;
string *header_title;
string *header_desc;
struct ctimeline_branch_list branches;
struct ctimeline_branch *cur_branch;
};
extern struct ctimeline_context ctx;
#endif /* CTIMELINE_H */
|