]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Common header file not directly applicable to open-vm-tools.
authorOliver Kurth <okurth@vmware.com>
Wed, 29 Aug 2018 20:29:43 +0000 (13:29 -0700)
committerOliver Kurth <okurth@vmware.com>
Wed, 29 Aug 2018 20:29:43 +0000 (13:29 -0700)
open-vm-tools/services/plugins/dndcp/dnd/dndClipboard.h

index 23a7d6533584fef24b55886e82c385d497698a9a..30d71562320c5af1912d595661c14cf978599227 100644 (file)
@@ -1,5 +1,5 @@
 /*********************************************************
- * Copyright (C) 2007-2017 VMware, Inc. All rights reserved.
+ * Copyright (C) 2007-2018 VMware, Inc. All rights reserved.
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms of the GNU Lesser General Public License as published
 #include "dnd.h"
 #include "dynbuf.h"
 
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
 /*
  * Make sure each clipboard item is at most 64kb - 100 b. This limitation is
  * copied from the current text copy paste limit.
@@ -136,4 +140,8 @@ Bool CPClipboard_Serialize(const CPClipboard *clip, DynBuf *buf);
 Bool CPClipboard_Unserialize(CPClipboard *clip, const void *buf, size_t len);
 Bool CPClipboard_Strip(CPClipboard *clip, uint32 caps);
 
+#if defined(__cplusplus)
+}  // extern "C"
+#endif
+
 #endif // _DND_CLIPBOARD_H_