]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Shared header files update; no impact on open-vm-tools.
authorOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:22:42 +0000 (11:22 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:22:42 +0000 (11:22 -0700)
open-vm-tools/lib/asyncsocket/asyncSocketInt.h
open-vm-tools/lib/include/asyncsocket.h

index 2160716b46b48901db4bf44235a3c9b0945b96ea..7567c72d5fb5d12647ed7494e0fea784aaef6b28 100644 (file)
@@ -1,5 +1,5 @@
 /*********************************************************
- * Copyright (C) 2011,2014-2015 VMware, Inc. All rights reserved.
+ * Copyright (C) 2011,2014-2016 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
@@ -272,6 +272,7 @@ struct AsyncSocket {
       // Saved error reporting values.
       AsyncSocketErrorFn errorFn;
       void *errorClientData;
+      int webSocketError;
       char *socketBuffer;     // Accumulates incoming data (including framing etc.)
       char *decodeBuffer;     // Accumulates incoming data after removing framing
       int32 socketBufferWriteOffset;
index 793b668ac35df768c2003726bbf45ce278ae8533..716c3f2398f92b60b9177b8bf6da305e22c1e5af 100644 (file)
@@ -1,5 +1,5 @@
 /*********************************************************
- * Copyright (C) 2003-2015 VMware, Inc. All rights reserved.
+ * Copyright (C) 2003-2016 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
@@ -497,6 +497,11 @@ void AsyncSocket_SetSendLowLatencyMode(AsyncSocket *asock, Bool enable);
  */
 const char *AsyncSocket_GetWebSocketProtocol(AsyncSocket *asock);
 
+/*
+ * Get error code for websocket failure
+ */
+int AsyncSocket_GetWebSocketError(AsyncSocket *asock);
+
 const char * stristr(const char *s, const char *find);
 
 /*