summaryrefslogtreecommitdiff
path: root/connect.h
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2020-05-25 19:58:58 +0000
committerJunio C Hamano <gitster@pobox.com>2020-05-27 10:07:06 -0700
commit84eca27aebeb11ce96441f957f2595c28d89fe36 (patch)
tree2b51fdd7f46a167e56508cc3655378e48dac1381 /connect.h
parent82db03abbbce3cfe28f42a16a16c2b5723974954 (diff)
downloadgit-84eca27aebeb11ce96441f957f2595c28d89fe36.tar.gz
connect: make parse_feature_value extern
We're going to be using this function in other files, so no longer mark this function static. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'connect.h')
-rw-r--r--connect.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/connect.h b/connect.h
index fc75d6a457..ace074dcb6 100644
--- a/connect.h
+++ b/connect.h
@@ -19,6 +19,7 @@ struct packet_reader;
enum protocol_version discover_version(struct packet_reader *reader);
int server_supports_hash(const char *desired, int *feature_supported);
+const char *parse_feature_value(const char *feature_list, const char *feature, int *lenp, int *offset);
int server_supports_v2(const char *c, int die_on_error);
int server_feature_v2(const char *c, const char **v);
int server_supports_feature(const char *c, const char *feature,