1
/*********************************************************
2
* Copyright (C) 1998 VMware, Inc. All rights reserved.
4
* This program is free software; you can redistribute it and/or modify it
5
* under the terms of the GNU Lesser General Public License as published
6
* by the Free Software Foundation version 2.1 and no later version.
8
* This program is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
10
* or FITNESS FOR A PARTICULAR PURPOSE. See the Lesser GNU General Public
11
* License for more details.
13
* You should have received a copy of the GNU Lesser General Public License
14
* along with this program; if not, write to the Free Software Foundation, Inc.,
15
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
17
*********************************************************/
22
* Cross-platform name format used by hgfs.
27
#ifndef __CP_NAME_INT_H__
28
#define __CP_NAME_INT_H__
31
#include "vm_basic_types.h"
34
* Used by CPName_ConvertFrom
37
CPNameConvertFrom(char const **bufIn, // IN/OUT: Input to convert
38
size_t *inSize, // IN/OUT: Size of input
39
size_t *outSize, // IN/OUT: Size of output buffer
40
char **bufOut, // IN/OUT: Output buffer
41
char pathSep); // IN: Path separator character
45
* Common code for CPName_ConvertTo
48
CPNameConvertTo(char const *nameIn, // IN: Buf to convert
49
size_t bufOutSize, // IN: Size of the output buffer
50
char *bufOut, // OUT: Output buffer
51
char pathSep, // IN: path separator to use
52
char *ignores); // IN: chars to not transfer to output
54
#endif /* __CP_NAME_INT_H__ */