summaryrefslogtreecommitdiff
path: root/connect.h
diff options
context:
space:
mode:
Diffstat (limited to 'connect.h')
-rw-r--r--connect.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/connect.h b/connect.h
index 5f2382e018..c53586e929 100644
--- a/connect.h
+++ b/connect.h
@@ -18,8 +18,15 @@ int url_is_local_not_ssh(const char *url);
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,
int die_on_error);
+void check_stateless_delimiter(int stateless_rpc,
+ struct packet_reader *reader,
+ const char *error);
+
#endif