1
/*********************************************************
2
* Copyright (C) 2005 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
* Private functions for the Drag and Drop library.
28
#include "vm_basic_types.h"
29
#include "unicodeTypes.h"
36
Bool DnDDataContainsIllegalCharacters(const char *data,
37
const size_t dataSize,
38
const char *illegalChars);
40
Bool DnDPrependFileRoot(ConstUnicode fileRoot,
45
Bool DnDRootDirUsable(ConstUnicode pathName);
47
Bool DnDSetPermissionsOnRootDir(ConstUnicode pathName);
49
Bool DnDStagingDirectoryUsable(ConstUnicode pathName);
51
Bool DnDSetPermissionsOnStagingDir(ConstUnicode pathName);
53
Bool DnDReadBuffer(BufRead *b, void *out, size_t len);
55
Bool DnDSlideBuffer(BufRead *b, size_t len);
57
#endif /* __DND_INT_H__ */