]>
git.proxmox.com Git - libgit2.git/blob - src/threadstate.h
2 * Copyright (C) the libgit2 contributors. All rights reserved.
4 * This file is part of libgit2, distributed under the GNU GPL v2 with
5 * a Linking Exception. For full terms see the included COPYING file.
7 #ifndef INCLUDE_threadstate_h__
8 #define INCLUDE_threadstate_h__
13 git_error
*last_error
;
16 char oid_fmt
[GIT_OID_HEXSZ
+1];
19 extern int git_threadstate_global_init(void);
20 extern git_threadstate
*git_threadstate_get(void);
22 #define GIT_THREADSTATE (git_threadstate_get())