Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/smanonr..../opt/imh-pyth.../include/git2
File: net.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_net_h__
[6] Fix | Delete
#define INCLUDE_git_net_h__
[7] Fix | Delete
[8] Fix | Delete
#include "common.h"
[9] Fix | Delete
#include "oid.h"
[10] Fix | Delete
#include "types.h"
[11] Fix | Delete
[12] Fix | Delete
/**
[13] Fix | Delete
* @file git2/net.h
[14] Fix | Delete
* @brief Git networking declarations
[15] Fix | Delete
* @ingroup Git
[16] Fix | Delete
* @{
[17] Fix | Delete
*/
[18] Fix | Delete
GIT_BEGIN_DECL
[19] Fix | Delete
[20] Fix | Delete
#define GIT_DEFAULT_PORT "9418"
[21] Fix | Delete
[22] Fix | Delete
/**
[23] Fix | Delete
* Direction of the connection.
[24] Fix | Delete
*
[25] Fix | Delete
* We need this because we need to know whether we should call
[26] Fix | Delete
* git-upload-pack or git-receive-pack on the remote end when get_refs
[27] Fix | Delete
* gets called.
[28] Fix | Delete
*/
[29] Fix | Delete
typedef enum {
[30] Fix | Delete
GIT_DIRECTION_FETCH = 0,
[31] Fix | Delete
GIT_DIRECTION_PUSH = 1
[32] Fix | Delete
} git_direction;
[33] Fix | Delete
[34] Fix | Delete
/**
[35] Fix | Delete
* Description of a reference advertised by a remote server, given out
[36] Fix | Delete
* on `ls` calls.
[37] Fix | Delete
*/
[38] Fix | Delete
struct git_remote_head {
[39] Fix | Delete
int local; /* available locally */
[40] Fix | Delete
git_oid oid;
[41] Fix | Delete
git_oid loid;
[42] Fix | Delete
char *name;
[43] Fix | Delete
/**
[44] Fix | Delete
* If the server send a symref mapping for this ref, this will
[45] Fix | Delete
* point to the target.
[46] Fix | Delete
*/
[47] Fix | Delete
char *symref_target;
[48] Fix | Delete
};
[49] Fix | Delete
[50] Fix | Delete
/** @} */
[51] Fix | Delete
GIT_END_DECL
[52] Fix | Delete
#endif
[53] Fix | Delete
[54] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function