#include "vixOpenSource.h"
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
/*
* These describe the format of the message objects.
* This will change when the client/vmx support different
#endif // VIX_HIDE_FROM_JAVA
-
-
+#if defined(__cplusplus)
+} // extern "C"
+#endif
#endif // _VIX_COMMANDS_H_
#ifndef _VIXOpenSource_h_
#define _VIXOpenSource_h_
-#ifdef __cplusplus
-extern "C"{
+#if defined(__cplusplus)
+extern "C" {
#endif
/*
#endif // VIX_HIDE_FROM_JAVA
-#ifdef __cplusplus
-} // extern "C" {
+#if defined(__cplusplus)
+} // extern "C"
#endif
-
#endif // _VIXOpenSource_h_
#ifndef _VM_SESSION_ID_H_
#define _VM_SESSION_ID_H_
-
#include "vm_basic_types.h"
-#ifdef __cplusplus
+#if defined(__cplusplus)
extern "C" {
#endif
typedef uint64 VMSessionId;
-#ifdef __cplusplus
-}
+#if defined(__cplusplus)
+} // extern "C"
#endif
#endif /* _VM_SESSION_ID_H_ */
# include <sys/param.h>
#endif
+#if defined(__cplusplus)
+extern "C" {
+#endif
/*
* FUSE definitions. They are supposed to be used by userspace code and
# error "Unknown platform for vmblock."
#endif
+#if defined(__cplusplus)
+} // extern "C"
+#endif
+
#endif /* _VMBLOCK_H_ */
#include "vm_basic_types.h"
#include "vmblock.h"
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
static INLINE int
VMBLOCK_CONTROL_FUSE(int fd, // IN
char op, // IN
#endif
+#if defined(__cplusplus)
+} // extern "C"
+#endif
+
#endif // _VMBLOCK_USER_H_
-
/*********************************************************
* Copyright (C) 2003-2016 VMware, Inc. All rights reserved.
*
#include "unicodeTypes.h"
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
// Consolidate all path stuff here so it's consistent between user and kernel
#define VMFS_ROOT_DIR_NAME "vmfs"
#define VMFS_ROOT_DIR_PATH "/vmfs/"
char *Vmfs_GetCOSFileName(const char *vmfsFile);
#endif /* VM86_SERVER */
+#if defined(__cplusplus)
+} // extern "C"
+#endif
+
#endif /* __VMFS_H__ */
#include <stdio.h>
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
typedef enum {
StdIO_Error,
StdIO_EOF,
size_t maxBufLength, // IN
size_t *count); // OUT
+#if defined(__cplusplus)
+} // extern "C"
+#endif
#endif /* __VMSTDIO_H__ */
#ifndef _VMSUPPORT_H_
#define _VMSUPPORT_H_
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
/*
* The status of vm-support tool running in the guest, exported in VMDB at:
* vm/#/vmx/guestTools/vmsupport/gStatus
#define RPC_VMSUPPORT_START "vmsupport.start"
#define RPC_VMSUPPORT_STATUS "tools.vmsupport.status"
+#if defined(__cplusplus)
+} // extern "C"
+#endif
+
#endif // _VMSUPPORT_H_
#include <rpc/xdr.h>
#include "vm_basic_types.h"
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
/*
* glibc and Solaris headers seem to define functions for unsigned types with
* slightly different names than all other platforms. Provide macros to
}
#endif
+#if defined(__cplusplus)
+} // extern "C"
+#endif
+
#endif /* _VMXRPC_H_ */
#define VTHREAD_BASE_H
#define INCLUDE_ALLOW_USERLEVEL
-
#define INCLUDE_ALLOW_VMCORE
#include "includeCheck.h"
#include <signal.h>
#endif
+#if defined(__cplusplus)
+extern "C" {
+#endif
/*
* Types
#endif /* VMM */
+#if defined(__cplusplus)
+} // extern "C"
+#endif
#endif // VTHREAD_BASE_H
#include "vm_basic_types.h"
#include "util.h"
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
/*
* Helper macros for iterating over an rpcgen-generated array. Given a struct S:
*
Bool
XdrUtil_Deserialize(const void *data, size_t dataLen, void *xdrProc, void *dest);
+#if defined(__cplusplus)
+} // extern "C"
+#endif
+
#endif /* _XDRUTIL_H_ */
*
*********************************************************/
-
#ifndef _VM_GUEST_LIB_INT_H_
#define _VM_GUEST_LIB_INT_H_
#include "vmware.h"
#include "vmGuestLib.h"
+#if defined(__cplusplus)
+extern "C" {
+#endif
/*
* Backdoor string for retrieving guestlib info
#include "vmware_pack_end.h"
VMGuestLibDataV3;
+#if defined(__cplusplus)
+} // extern "C"
+#endif
+
#endif /* _VM_GUEST_LIB_INT_H_ */