]> git.ipfire.org Git - thirdparty/git.git/blame - connect.h
cache.h: move remote/connect API out of it
[thirdparty/git.git] / connect.h
CommitLineData
47a59185
JH
1#ifndef CONNECT_H
2#define CONNECT_H
3
4#define CONNECT_VERBOSE (1u << 0)
5extern struct child_process *git_connect(int fd[2], const char *url, const char *prog, int flags);
6extern int finish_connect(struct child_process *conn);
7extern int git_connection_is_socket(struct child_process *conn);
8extern int server_supports(const char *feature);
9extern int parse_feature_request(const char *features, const char *feature);
10extern const char *server_feature_value(const char *feature, int *len_ret);
11extern const char *parse_feature_value(const char *feature_list, const char *feature, int *len_ret);
12
13#endif