From: John Wolfe Date: Mon, 7 Feb 2022 17:40:00 +0000 (-0800) Subject: Common header file change not applicable to open-vm-tools. X-Git-Tag: stable-12.1.0~143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87389ed6975ed40bdc7883c64c2509da6650a435;p=thirdparty%2Fopen-vm-tools.git Common header file change not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/asyncsocket.h b/open-vm-tools/lib/include/asyncsocket.h index 16f9fbb00..dad848093 100644 --- a/open-vm-tools/lib/include/asyncsocket.h +++ b/open-vm-tools/lib/include/asyncsocket.h @@ -1,5 +1,5 @@ /********************************************************* - * Copyright (C) 2003-2021 VMware, Inc. All rights reserved. + * Copyright (C) 2003-2022 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 @@ -439,6 +439,10 @@ typedef int (*AsyncWebSocketHandleUpgradeRequestFn) (AsyncSocket *asock, const char *httpRequest, char **httpResponse); +typedef int (*AsyncWebSocketHandoffSocketFn) (AsyncSocket *asock, void *cbData, + void *buf, uint32 bufLen, + uint32 currentPos); + /* * Listen on port and fire callback with new asock */ @@ -474,7 +478,9 @@ AsyncSocket *AsyncSocket_PrepareListenWebSocket(Bool useSSL, void *clientData, AsyncSocketPollParams *pollParams, void *sslCtx, - AsyncWebSocketHandleUpgradeRequestFn handleUpgradeRequestFn); + AsyncWebSocketHandleUpgradeRequestFn handleUpgradeRequestFn, + AsyncWebSocketHandoffSocketFn alpnCb, + const char* alpn); AsyncSocket *AsyncSocket_RegisterListenWebSocket(AsyncSocket *asock, const char *addrStr, unsigned int port,