]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Common header file change not applicable to open-vm-tools.
authorOliver Kurth <okurth@vmware.com>
Tue, 26 May 2020 22:32:58 +0000 (15:32 -0700)
committerOliver Kurth <okurth@vmware.com>
Tue, 26 May 2020 22:32:58 +0000 (15:32 -0700)
open-vm-tools/lib/include/asyncsocket.h

index 708b1fac17c1614d3feee78e9af2bb6c95685d0c..11e2750c6125e1cabc7f353e75339d2cd995867e 100644 (file)
@@ -783,6 +783,11 @@ unsigned AsyncSocket_WebSocketGetNumAccepted(AsyncSocket *asock);
 
 Bool AsyncSocket_SetKeepAlive(AsyncSocket *asock, int keepIdle);
 
+/*
+ * Send an HTTP error code, only valid on AsyncWebSockets
+ */
+void AsyncSocket_WebSocketServerSendError(AsyncSocket *asock, const char *text);
+
 
 /*
  * Some logging macros for convenience