]> git.proxmox.com Git - libgit2.git/blame - src/win32/posix.h
fileops: Cleanup
[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"
5
6GIT_INLINE(int) p_link(const char *GIT_UNUSED(old), const char *GIT_UNUSED(new))
7{
8 GIT_UNUSED_ARG(old)
9 GIT_UNUSED_ARG(new)
10 errno = ENOSYS;
11 return -1;
12}
13
14GIT_INLINE(int) p_mkdir(const char *path, int GIT_UNUSED(mode))
15{
16 GIT_UNUSED_ARG(mode)
17 return mkdir(path);
18}
19
20extern int p_unlink(const char *path);
21extern int p_lstat(const char *file_name, struct stat *buf);
22extern int p_readlink(const char *link, char *target, size_t target_len);
23extern int p_hide_directory__w32(const char *path);
24
25#endif