mirror of
https://git.zx2c4.com/cgit
synced 2025-08-03 01:25:34 +02:00
Move non-generic functions from shared.c to cgit.c
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
a4d1ca1dc6
commit
163037e79c
3 changed files with 155 additions and 157 deletions
4
cgit.h
4
cgit.h
|
@ -191,11 +191,9 @@ extern struct cgit_context ctx;
|
|||
extern const struct cgit_snapshot_format cgit_snapshot_formats[];
|
||||
extern int cgit_cmd;
|
||||
|
||||
extern void cgit_prepare_context(struct cgit_context *ctx);
|
||||
extern struct cgit_repo *cgit_add_repo(const char *url);
|
||||
extern struct cgit_repo *cgit_get_repoinfo(const char *url);
|
||||
extern void cgit_global_config_cb(const char *name, const char *value);
|
||||
extern void cgit_repo_config_cb(const char *name, const char *value);
|
||||
extern void cgit_querystring_cb(const char *name, const char *value);
|
||||
|
||||
extern int chk_zero(int result, char *msg);
|
||||
extern int chk_positive(int result, char *msg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue