]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/TcpDxe/SockImpl.h
NetworkPkg: Add missed character in copyright.
[mirror_edk2.git] / NetworkPkg / TcpDxe / SockImpl.h
index bb4f6c2085e73907be07e1dd9d3b102387d7c04b..5a067deb41944697e6867c7c787a00052bd50c4e 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   The function declaration that provided for Socket Interface.\r
 \r
-  Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
@@ -76,6 +76,23 @@ SockConnFlush (
   IN OUT SOCKET *Sock\r
   );\r
 \r
+/**\r
+  Cancel the tokens in the specific token list.\r
+\r
+  @param[in]       Token                 Pointer to the Token. If NULL, all tokens \r
+                                         in SpecifiedTokenList will be canceled.  \r
+  @param[in, out]  SpecifiedTokenList    Pointer to the token list to be checked.\r
+  \r
+  @retval EFI_SUCCESS          Cancel the tokens in the specific token listsuccessfully.\r
+  @retval EFI_NOT_FOUND        The Token is not found in SpecifiedTokenList.\r
+  \r
+**/\r
+EFI_STATUS\r
+SockCancelToken (\r
+  IN     SOCK_COMPLETION_TOKEN  *Token,\r
+  IN OUT LIST_ENTRY             *SpecifiedTokenList\r
+  );\r
+\r
 /**\r
   Create a socket with initial data SockInitData.\r
 \r