blob: 28bed280082d373945360ecb013cd17f74048bd0 (
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
|
#ifndef CTIMELINE_H
#define CTIMELINE_H
#include "xstring.h"
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 {
char *head_title;
char *css;
// char *favicon;
char *header_title;
char *header_desc;
struct ctimeline_branch_list branches;
struct ctimeline_branch *cur_branch;
};
extern struct ctimeline_context ctx;
#endif /* CTIMELINE_H */
|