]> git.proxmox.com Git - libgit2.git/blob - src/util/win32/findfile.h
New upstream version 1.5.0+ds
[libgit2.git] / src / util / win32 / findfile.h
1 /*
2 * Copyright (C) the libgit2 contributors. All rights reserved.
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
8 #ifndef INCLUDE_win32_findfile_h__
9 #define INCLUDE_win32_findfile_h__
10
11 #include "git2_util.h"
12
13 /** Sets the mock registry root for Git for Windows for testing. */
14 extern int git_win32__set_registry_system_dir(const wchar_t *mock_sysdir);
15
16 extern int git_win32__find_system_dirs(git_str *out, const char *subpath);
17 extern int git_win32__find_global_dirs(git_str *out);
18 extern int git_win32__find_xdg_dirs(git_str *out);
19 extern int git_win32__find_programdata_dirs(git_str *out);
20
21 #endif
22