aboutsummaryrefslogtreecommitdiff
path: root/cgit.h
diff refs
from:
to:
flip
diff options
context:
space:
mode:
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/cgit.h b/cgit.h
index e2b8cbc..7d7ece7 100644
--- a/cgit.h
+++ b/cgit.h
@@ -63,7 +63,7 @@ typedef enum {
} diff_type;
typedef enum {
- ABOUT, COMMIT, SOURCE, EMAIL, AUTH, OWNER, CI
+ ABOUT, COMMIT, SOURCE, EMAIL, AUTH, OWNER
} filter_type;
struct cgit_filter {
@@ -90,9 +90,6 @@ struct cgit_repo {
char *extra_head_content;
char *owner;
char *homepage;
- char *ci_url;
- char *ci_branch_url;
- char *ci_tag_url;
char *defbranch;
char *module_link;
struct string_list readme;
@@ -119,7 +116,6 @@ struct cgit_repo {
struct cgit_filter *source_filter;
struct cgit_filter *email_filter;
struct cgit_filter *owner_filter;
- struct cgit_filter *ci_filter;
struct string_list submodules;
int hide;
int ignore;
@@ -200,12 +196,9 @@ struct cgit_query {
struct cgit_config {
char *agefile;
char *cache_root;
- char *ci_url;
- char *ci_branch_url;
- char *ci_tag_url;
char *clone_prefix;
char *clone_url;
- struct string_list favicon;
+ char *favicon;
char *footer;
char *head_include;
char *header;
@@ -281,7 +274,6 @@ struct cgit_config {
struct cgit_filter *email_filter;
struct cgit_filter *owner_filter;
struct cgit_filter *auth_filter;
- struct cgit_filter *ci_filter;
};
struct cgit_page {
@@ -342,8 +334,6 @@ extern struct cgit_repo *cgit_get_repoinfo(const char *url);
extern void cgit_repo_config(struct cgit_repo *repo, const char *name,
const char *value);
-extern int cgit_have_repository(void);
-
extern int chk_zero(int result, char *msg);
extern int chk_positive(int result, char *msg);
extern int chk_non_negative(int result, char *msg);