blob: 71c112dfb9bc9e23dc1bd31c61fa7d421b256cfc (
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/ctimelinerc"
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 */
|