FreeRDP
winpr/libwinpr/file/file.h File Reference
#include <winpr/winpr.h>
#include <winpr/wtypes.h>
#include <winpr/nt.h>
#include <winpr/io.h>
#include <winpr/error.h>
#include <stdio.h>
#include "../handle/handle.h"
This graph shows which files directly or indirectly include this file:

Data Structures

struct  WINPR_FILE
 

Macros

#define EPOCH_DIFF   11644473600LL
 
#define STAT_TIME_TO_FILETIME(_t)   (((UINT64)(_t) + EPOCH_DIFF) * 10000000LL)
 

Functions

HANDLE_CREATORGetFileHandleCreator (void)
 
UINT32 map_posix_err (int fs_errno)
 

Macro Definition Documentation

◆ EPOCH_DIFF

#define EPOCH_DIFF   11644473600LL

WinPR: Windows Portable Runtime File Functions

Copyright 2015 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.co.nosp@m.m Copyright 2015 Thincast Technologies GmbH Copyright 2016 David PHAM-VAN d.pha.nosp@m.mvan.nosp@m.@inuv.nosp@m.ika..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

◆ STAT_TIME_TO_FILETIME

#define STAT_TIME_TO_FILETIME (   _t)    (((UINT64)(_t) + EPOCH_DIFF) * 10000000LL)

Function Documentation

◆ GetFileHandleCreator()

HANDLE_CREATOR* GetFileHandleCreator ( void  )
Here is the caller graph for this function:

◆ map_posix_err()

UINT32 map_posix_err ( int  fs_errno)
Here is the caller graph for this function: