master
h 30 lines 561 Bytes
Raw
1 /*++
2
3 Copyright (c) Microsoft. All rights reserved.
4
5 Module Name:
6
7 wslpath.h
8
9 Abstract:
10
11 This file contains wslpath function declarations.
12
13 --*/
14
15 #pragma once
16
17 #define WSLPATH_NAME "wslpath"
18
19 #define TRANSLATE_FLAG_ABSOLUTE (0x1)
20 #define TRANSLATE_FLAG_RESOLVE_SYMLINKS (0x2)
21
22 #define TRANSLATE_MODE_ABSOLUTE 'a'
23 #define TRANSLATE_MODE_UNIX 'u'
24 #define TRANSLATE_MODE_WINDOWS 'w'
25 #define TRANSLATE_MODE_MIXED 'm'
26 #define TRANSLATE_MODE_HELP 'h'
27
28 int WslPathEntry(int Argc, char* Argv[]);
29
30 std::string WslPathTranslate(char* Path, int Flags, char Mode);