diff options
Diffstat (limited to 'src/netops.h')
| -rw-r--r-- | src/netops.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/netops.h b/src/netops.h index bb2624abe..d352bf3b6 100644 --- a/src/netops.h +++ b/src/netops.h @@ -66,6 +66,12 @@ int gitno_send(gitno_socket *socket, const char *msg, size_t len, int flags); int gitno_close(gitno_socket *s); int gitno_select_in(gitno_buffer *buf, long int sec, long int usec); -int gitno_extract_host_and_port(char **host, char **port, char **username, const char *url, const char *default_port); +int gitno_extract_url_parts( + char **host, + char **port, + char **username, + char **password, + const char *url, + const char *default_port); #endif |
