Sha256: 85a4a4b1489e6fe4a70d15adefa205204da64b13b1404cdd8babbd31567b8a63
Contents?: true
Size: 1.07 KB
Versions: 2
Compression:
Stored size: 1.07 KB
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_git_transport_h__ #define INCLUDE_git_transport_h__ #include "indexer.h" #include "net.h" #include "types.h" #include "cert.h" #include "cred.h" /** * @file git2/transport.h * @brief Git transport interfaces and functions * @defgroup git_transport interfaces and functions * @ingroup Git * @{ */ GIT_BEGIN_DECL /** * Callback for messages recieved by the transport. * * Return a negative value to cancel the network operation. * * @param str The message from the transport * @param len The length of the message * @param payload Payload provided by the caller */ typedef int GIT_CALLBACK(git_transport_message_cb)(const char *str, int len, void *payload); /** Signature of a function which creates a transport */ typedef int GIT_CALLBACK(git_transport_cb)(git_transport **out, git_remote *owner, void *param); /** @} */ GIT_END_DECL #endif
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rugged-0.28.4 | vendor/libgit2/include/git2/transport.h |
rugged-0.27.10 | vendor/libgit2/include/git2/transport.h |