summaryrefslogtreecommitdiff
path: root/git.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2022-08-01 11:22:59 -0300
committermrb0nk500 <b0nk@b0nk.xyz>2022-08-01 11:25:02 -0300
commit6de2da7f73135fcff28d33845e3b73f293125f60 (patch)
tree9fda547f42e9f2fb68ad7a083cb671c2cb07d542 /git.h
parent05c0cd0db19063cd3a4043a5401c00b874ededa7 (diff)
git, keyword: Move `parse_key_value_file()` to `keyword.{c,h}`
Diffstat (limited to 'git.h')
-rw-r--r--git.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/git.h b/git.h
index b430aa6..b8bba77 100644
--- a/git.h
+++ b/git.h
@@ -12,7 +12,6 @@ typedef struct file file;
typedef struct comment comment;
typedef struct git_branch git_branch;
typedef struct git_repo git_repo;
-typedef int (parse_callback)(void **ret, void *ctx, char *buf);
struct file {
char *name; /* Name of file. */
@@ -54,7 +53,6 @@ struct pull_request {
extern void cleanup_git(git_repo **repos);
extern void cleanup_pull_request(pull_request *pr);
extern git_repo **init_git(config *cfg);
-extern int parse_key_value_file(void *ret, void *ctx, const keyword **keywords, char *buf, const char *delm, parse_callback *parse_cb);
extern pull_request *get_pull_request(index_t *idx, const char *root, const char *repo);
extern int add_comment(comment *comment, const char *pr_root);
extern int create_pull_request_dir(pull_request *pr, index_t *idx, const char *root, const char *repo);