1
/*********************************************************
2
* Copyright (C) 2008 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
*********************************************************/
20
* ghiCommonDefines.h --
22
* Common definitions of maximum sizes/lengths for data used in
23
* guest/host integration XDR serialization.
26
#ifndef _GHI_COMMON_DEFINES_H_
27
#define _GHI_COMMON_DEFINES_H_
29
#define GHI_MAX_NUM_ACTION_URI_PAIRS 16
30
#define GHI_HANDLERS_SUFFIX_MAX_LEN 32
31
#define GHI_HANDLERS_MIMETYPE_MAX_LEN 256
32
#define GHI_HANDLERS_UTI_MAX_LEN 256
35
* The Windows MAX_PATH define specifies that paths may be up to 260 character
36
* units in length. To allow for expansion when going to UTF8 we multiply that
39
#define GHI_HANDLERS_ACTIONURI_MAX_PATH 1040
42
* Maximum length for a guest app hash value (usually much shorter).
44
#define GHI_EXEC_INFO_HASH_MAX_LEN 1024
46
#endif // ifndef _GHI_COMMON_DEFINES_H_