1 /* 2 * COPYRIGHT: See COPYING in the top level directory 3 * PROJECT: ReactOS TCP/IP protocol driver 4 * FILE: include/fileobjs.h 5 * PURPOSE: File object routine prototypes 6 */ 7 8 #pragma once 9 10 extern LIST_ENTRY AddressFileListHead; 11 extern KSPIN_LOCK AddressFileListLock; 12 extern LIST_ENTRY ConnectionEndpointListHead; 13 extern KSPIN_LOCK ConnectionEndpointListLock; 14 15 NTSTATUS FileOpenAddress( 16 PTDI_REQUEST Request, 17 PTA_IP_ADDRESS AddrList, 18 USHORT Protocol, 19 BOOLEAN Shared, 20 PVOID Options); 21 22 NTSTATUS FileCloseAddress( 23 PTDI_REQUEST Request); 24 25 NTSTATUS FileOpenConnection( 26 PTDI_REQUEST Request, 27 PVOID ClientContext); 28 29 NTSTATUS FileCloseConnection( 30 PTDI_REQUEST Request); 31 32 NTSTATUS FileOpenControlChannel( 33 PTDI_REQUEST Request); 34 35 NTSTATUS FileCloseControlChannel( 36 PTDI_REQUEST Request); 37 38 VOID LogActiveObjects(VOID); 39 40 /* EOF */ 41