Sha256: 6308284bf525458cee607a3039a13fc874a6f4826866c47d5bb68b2d6868cf33
Contents?: true
Size: 901 Bytes
Versions: 2
Compression:
Stored size: 901 Bytes
Contents
/* * Copyright (C) the libgit2 contributors. All rights reserved. * * This file is part of libgit2, distributed under the GNU GPL v2 with * a Linking Exception. For full terms see the included COPYING file. */ #ifndef INCLUDE_net_h__ #define INCLUDE_net_h__ #include "common.h" typedef struct git_net_url { char *scheme; char *host; char *port; char *path; char *query; char *username; char *password; } git_net_url; #define GIT_NET_URL_INIT { NULL } /** Parses a string containing a URL into a structure. */ int git_net_url_parse(git_net_url *url, const char *str); /** Returns nonzero if the URL is on the default port. */ int git_net_url_is_default_port(git_net_url *url); /** Swaps the contents of one URL for another. */ void git_net_url_swap(git_net_url *a, git_net_url *b); /** Disposes the contents of the structure. */ void git_net_url_dispose(git_net_url *url); #endif
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rugged-0.28.4 | vendor/libgit2/src/net.h |
rugged-0.27.10 | vendor/libgit2/src/net.h |