]> git.proxmox.com Git - libgit2.git/blame - src/global.h
refs: Error handling rework. WIP
[libgit2.git] / src / global.h
CommitLineData
a15c550d 1/*
5e0de328 2 * Copyright (C) 2009-2012 the libgit2 contributors
a15c550d
VM
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
12typedef struct {
13 struct {
14 char last[1024];
15 } error;
16
17 git_mwindow_ctl mem_ctl;
18} git_global_st;
19
20git_global_st *git__global_state(void);
21
22#define GIT_GLOBAL (git__global_state())
23
24#endif