Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/smanonr..../opt/imh-pyth.../include/git2
File: transport.h
/*
[0] Fix | Delete
* Copyright (C) the libgit2 contributors. All rights reserved.
[1] Fix | Delete
*
[2] Fix | Delete
* This file is part of libgit2, distributed under the GNU GPL v2 with
[3] Fix | Delete
* a Linking Exception. For full terms see the included COPYING file.
[4] Fix | Delete
*/
[5] Fix | Delete
#ifndef INCLUDE_git_transport_h__
[6] Fix | Delete
#define INCLUDE_git_transport_h__
[7] Fix | Delete
[8] Fix | Delete
#include "indexer.h"
[9] Fix | Delete
#include "net.h"
[10] Fix | Delete
#include "types.h"
[11] Fix | Delete
#include "cert.h"
[12] Fix | Delete
#include "credential.h"
[13] Fix | Delete
[14] Fix | Delete
/**
[15] Fix | Delete
* @file git2/transport.h
[16] Fix | Delete
* @brief Git transport interfaces and functions
[17] Fix | Delete
* @defgroup git_transport interfaces and functions
[18] Fix | Delete
* @ingroup Git
[19] Fix | Delete
* @{
[20] Fix | Delete
*/
[21] Fix | Delete
GIT_BEGIN_DECL
[22] Fix | Delete
[23] Fix | Delete
/**
[24] Fix | Delete
* Callback for messages recieved by the transport.
[25] Fix | Delete
*
[26] Fix | Delete
* Return a negative value to cancel the network operation.
[27] Fix | Delete
*
[28] Fix | Delete
* @param str The message from the transport
[29] Fix | Delete
* @param len The length of the message
[30] Fix | Delete
* @param payload Payload provided by the caller
[31] Fix | Delete
*/
[32] Fix | Delete
typedef int GIT_CALLBACK(git_transport_message_cb)(const char *str, int len, void *payload);
[33] Fix | Delete
[34] Fix | Delete
/** Signature of a function which creates a transport */
[35] Fix | Delete
typedef int GIT_CALLBACK(git_transport_cb)(git_transport **out, git_remote *owner, void *param);
[36] Fix | Delete
[37] Fix | Delete
/** @} */
[38] Fix | Delete
GIT_END_DECL
[39] Fix | Delete
[40] Fix | Delete
#endif
[41] Fix | Delete
[42] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function