Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/smanonr..../opt/imh-pyth.../include/git2
File: global.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_global_h__
[6] Fix | Delete
#define INCLUDE_git_global_h__
[7] Fix | Delete
[8] Fix | Delete
#include "common.h"
[9] Fix | Delete
[10] Fix | Delete
GIT_BEGIN_DECL
[11] Fix | Delete
[12] Fix | Delete
/**
[13] Fix | Delete
* Init the global state
[14] Fix | Delete
*
[15] Fix | Delete
* This function must be called before any other libgit2 function in
[16] Fix | Delete
* order to set up global state and threading.
[17] Fix | Delete
*
[18] Fix | Delete
* This function may be called multiple times - it will return the number
[19] Fix | Delete
* of times the initialization has been called (including this one) that have
[20] Fix | Delete
* not subsequently been shutdown.
[21] Fix | Delete
*
[22] Fix | Delete
* @return the number of initializations of the library, or an error code.
[23] Fix | Delete
*/
[24] Fix | Delete
GIT_EXTERN(int) git_libgit2_init(void);
[25] Fix | Delete
[26] Fix | Delete
/**
[27] Fix | Delete
* Shutdown the global state
[28] Fix | Delete
*
[29] Fix | Delete
* Clean up the global state and threading context after calling it as
[30] Fix | Delete
* many times as `git_libgit2_init()` was called - it will return the
[31] Fix | Delete
* number of remainining initializations that have not been shutdown
[32] Fix | Delete
* (after this one).
[33] Fix | Delete
*
[34] Fix | Delete
* @return the number of remaining initializations of the library, or an
[35] Fix | Delete
* error code.
[36] Fix | Delete
*/
[37] Fix | Delete
GIT_EXTERN(int) git_libgit2_shutdown(void);
[38] Fix | Delete
[39] Fix | Delete
/** @} */
[40] Fix | Delete
GIT_END_DECL
[41] Fix | Delete
#endif
[42] Fix | Delete
[43] Fix | Delete
[44] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function