]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Update bsdfmt.h license
authorOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:04 +0000 (11:23 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:04 +0000 (11:23 -0700)
2016 now

open-vm-tools/lib/include/asyncsocket.h
open-vm-tools/lib/include/auth.h
open-vm-tools/lib/include/backdoor.h
open-vm-tools/lib/include/base64.h
open-vm-tools/lib/include/bsdfmt.h
open-vm-tools/lib/include/circList.h
open-vm-tools/lib/include/codeset.h
open-vm-tools/lib/include/config.h
open-vm-tools/lib/include/cryptoError.h

index 289bc062e6ef36ea13ab32eff47b633492ff053a..27bf03d287c34f812886396421772e93ac6a163f 100644 (file)
 #define INCLUDE_ALLOW_USERLEVEL
 #include "includeCheck.h"
 
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
 #ifdef __APPLE__
 #include <TargetConditionals.h>
 #endif
@@ -552,5 +556,9 @@ const char * stristr(const char *s, const char *find);
       }                                                               \
    } while(0)
 
+#if defined(__cplusplus)
+}  // extern "C"
+#endif
+
 #endif // __ASYNC_SOCKET_H__
 
index 21ac75f8248e8fced5c914dec5ec1fc9a46da02b..afc86d4764ba7debe3bfed909bf45017b01518b7 100644 (file)
 #ifndef _AUTH_H_
 #define _AUTH_H_
 
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
 /*
  * auth.h --
  *
@@ -70,4 +74,8 @@ AuthToken Auth_AuthenticateUser(const char *user, const char *pass);
 
 void Auth_CloseToken(AuthToken token);
 
+#if defined(__cplusplus)
+}  // extern "C"
+#endif
+
 #endif
index 7511155448e118452b5f4e0e396377c3fee2f26c..22fe36866a7305fd892fa08ae8c4b9abcef79a06 100644 (file)
 #ifndef _BACKDOOR_H_
 #define _BACKDOOR_H_
 
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
 #include "vm_basic_types.h"
 #include "vm_assert.h"
 
@@ -57,4 +61,8 @@ Backdoor_HbOut(Backdoor_proto_hb *bp); // IN/OUT
 void
 Backdoor_HbIn(Backdoor_proto_hb *bp); // IN/OUT
 
+#if defined(__cplusplus)
+}  // extern "C"
+#endif
+
 #endif /* _BACKDOOR_H_ */
index 9d4cfcb8d90c8cbe7c475e1cb6ece02fcaf81ac1..7fdf65752c1ce2b6a2d5e2d7d3f8f05118ef2889 100644 (file)
 #ifndef _BASE64_H
 #define _BASE64_H
 
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
 Bool Base64_Encode(uint8 const *src, size_t srcLength,
                    char *target, size_t targSize,
                    size_t *dataLength);
@@ -42,4 +46,8 @@ Bool Base64_EasyEncode(const uint8 *src, size_t srcLength, char **target);
 Bool Base64_EasyDecode(const char *src, uint8 **target, size_t *targSize);
 Bool Base64_DecodeFixed(const char *src, char *outBuf, size_t outBufSize);
 
+#if defined(__cplusplus)
+}  // extern "C"
+#endif
+
 #endif
index 108edb38589ee9775879a01a95bdab5e5bed7319..6562828c68c0c76715400a2f2cea10ad53599fc3 100644 (file)
@@ -1,5 +1,5 @@
 /* **********************************************************
- * Copyright 2008-2014 VMware, Inc.  All rights reserved. -- VMware Confidential
+ * Copyright 2008-2016 VMware, Inc.  All rights reserved. -- VMware Confidential
  * **********************************************************/
 
 /*
@@ -47,6 +47,9 @@
 #define INCLUDE_ALLOW_USERLEVEL
 #include "includeCheck.h"
 
+#if defined(__cplusplus)
+extern "C" {
+#endif
 
 #ifdef _WIN32 // {
 
@@ -206,5 +209,8 @@ extern char zeroes[PADSIZE];
 extern const char xdigs_lower[17];
 extern const char xdigs_upper[17];
 
+#if defined(__cplusplus)
+}  // extern "C"
+#endif
 
 #endif // ifndef _BSDFMT_H_
index e01d20520d76dd8863b8ae4f12af7628a38aaefc..0618a38a825350a63304881ae634ef0a8cd75be2 100644 (file)
 #define INCLUDE_ALLOW_MODULE
 #define INCLUDE_ALLOW_VMKERNEL
 #include "includeCheck.h"
+
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
 #include "vmware.h"
 
 typedef struct ListItem {
@@ -467,4 +472,8 @@ CircList_Size(ListItem *head)     // IN
    return ret;
 }
 
+#if defined(__cplusplus)
+}  // extern "C"
+#endif
+
 #endif /* _CIRCLIST_H_ */
index 6886d3d203bc6291aafee0f2054d49db6ed3ebfb..1bdac0d039dcd94b9f7504dba4459f61983b1a0f 100644 (file)
@@ -49,6 +49,9 @@
 #ifndef __CODESET_H__
 #   define __CODESET_H__
 
+#if defined(__cplusplus)
+extern "C" {
+#endif
 
 #include "vm_basic_types.h"
 #include "vm_assert.h"
@@ -579,4 +582,8 @@ CodeSet_Utf16FindCodePointBoundary(const char *buf, // IN
    return origOffset * 2;
 }
 
+#if defined(__cplusplus)
+}  // extern "C"
+#endif
+
 #endif /* __CODESET_H__ */
index 4d3900489870d4d8749d7309fafcde0fbbfeb300..95aa598710e6c6f69070137fa272771a780894ec 100644 (file)
 #define INCLUDE_ALLOW_VMCORE
 #include "includeCheck.h"
 
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
 #include "vm_basic_types.h"
 #include "preference.h"
 
-
 /*
  * Well-known configuration variable names
  */
@@ -123,4 +126,8 @@ Bool Config_GetDataFileKeys(struct KeySafeUserRing **parentKeys,
 Bool Config_TriToBool(Bool boolDefaultValue,
                       int32 triValue);
 
+#if defined(__cplusplus)
+}  // extern "C"
+#endif
+
 #endif // _CONFIG_H_
index 269e4292062e9b1e1e31f1c95e0276ac32a6a474..8a189230f4591068f9a79d60d9d4e8f1b397820e 100644 (file)
 #define INCLUDE_ALLOW_VMCORE
 #include "includeCheck.h"
 
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
 #include "vmware.h"
 
 typedef int CryptoError;
@@ -89,4 +93,8 @@ CryptoError_IsFailure(CryptoError error)
    return (CRYPTO_ERROR_SUCCESS != error);
 }
 
+#if defined(__cplusplus)
+}  // extern "C"
+#endif
+
 #endif /* cryptoError.h */