diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-09-04 15:32:11 +0200 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-09-04 16:07:52 +0200 |
commit | db84b7988bfbc9caf4fa584d775b4b43154261db (patch) | |
tree | 42d62103e0b10314b77626c60ee8ee26bdd12858 /src/netops.h | |
parent | 3d975abcb8b1dfe538b20d64598f85c94c34df61 (diff) | |
download | libgit2-db84b7988bfbc9caf4fa584d775b4b43154261db.tar.gz |
Move extract_host_and_port to netops and add default port argument
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'src/netops.h')
-rw-r--r-- | src/netops.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/netops.h b/src/netops.h index c259ed2d6..6e3cd7215 100644 --- a/src/netops.h +++ b/src/netops.h @@ -26,4 +26,6 @@ int gitno_connect(const char *host, const char *port); int gitno_send(int s, const char *msg, size_t len, int flags); int gitno_select_in(gitno_buffer *buf, long int sec, long int usec); +int gitno_extract_host_and_port(char **host, char **port, const char *url, const char *default_port); + #endif |