]> git.proxmox.com Git - libgit2.git/blob - src/global.h
0c1e3289c0ba82184477253f8e2d47333c96fc25
[libgit2.git] / src / global.h
1 /*
2 * Copyright (C) 2009-2012 the libgit2 contributors
3 *
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.
6 */
7 #ifndef INCLUDE_global_h__
8 #define INCLUDE_global_h__
9
10 #include "mwindow.h"
11
12 typedef struct {
13 struct {
14 char last[1024];
15 } error;
16
17 git_mwindow_ctl mem_ctl;
18 } git_global_st;
19
20 git_global_st *git__global_state(void);
21
22 #define GIT_GLOBAL (git__global_state())
23
24 #endif