Merge branch 'ps/grep-help-all-callback-arg'
[git/git-svn.git] / connect.h
blobc41a6850f1302e4d27af1066b53b20dd303f0d13
1 #ifndef CONNECT_H
2 #define CONNECT_H
4 #define CONNECT_VERBOSE (1u << 0)
5 #define CONNECT_DIAG_URL (1u << 1)
6 extern struct child_process *git_connect(int fd[2], const char *url, const char *prog, int flags);
7 extern int finish_connect(struct child_process *conn);
8 extern int git_connection_is_socket(struct child_process *conn);
9 extern int server_supports(const char *feature);
10 extern int parse_feature_request(const char *features, const char *feature);
11 extern const char *server_feature_value(const char *feature, int *len_ret);
12 extern int url_is_local_not_ssh(const char *url);
14 #endif