Merge branch 'jx/clean-interactive'
[git/gitweb.git] / connect.h
blob9dff25cad4de82e84343b50490b1b1601103ffac
1 #ifndef CONNECT_H
2 #define CONNECT_H
4 #define CONNECT_VERBOSE (1u << 0)
5 extern struct child_process *git_connect(int fd[2], const char *url, const char *prog, int flags);
6 extern int finish_connect(struct child_process *conn);
7 extern int git_connection_is_socket(struct child_process *conn);
8 extern int server_supports(const char *feature);
9 extern int parse_feature_request(const char *features, const char *feature);
10 extern const char *server_feature_value(const char *feature, int *len_ret);
11 extern const char *parse_feature_value(const char *feature_list, const char *feature, int *len_ret);
13 #endif