]> git.proxmox.com Git - libgit2.git/blame - src/win32/posix.h
odb: Do not pass around a header when hashing
[libgit2.git] / src / win32 / posix.h
CommitLineData
f79026b4
VM
1#ifndef INCLUDE_posix__w32_h__
2#define INCLUDE_posix__w32_h__
3
4#include "common.h"
e9c6571d 5#include "fnmatch.h"
f79026b4
VM
6
7GIT_INLINE(int) p_link(const char *GIT_UNUSED(old), const char *GIT_UNUSED(new))
8{
9 GIT_UNUSED_ARG(old)
10 GIT_UNUSED_ARG(new)
11 errno = ENOSYS;
12 return -1;
13}
14
15GIT_INLINE(int) p_mkdir(const char *path, int GIT_UNUSED(mode))
16{
17 GIT_UNUSED_ARG(mode)
18 return mkdir(path);
19}
20
21extern int p_unlink(const char *path);
22extern int p_lstat(const char *file_name, struct stat *buf);
23extern int p_readlink(const char *link, char *target, size_t target_len);
24extern int p_hide_directory__w32(const char *path);
19ac1ed7 25extern char *p_realpath(const char *orig_path, char *buffer);
2fc78e70 26extern int p_vsnprintf(char *buffer, size_t count, const char *format, va_list argptr);
f79026b4
VM
27
28#endif