mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 22:04:04 +00:00
46 lines
1.5 KiB
C
46 lines
1.5 KiB
C
/*
|
|
* Ntdll Unix interface
|
|
*
|
|
* Copyright (C) 2020 Alexandre Julliard
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
*/
|
|
|
|
#ifndef __NTDLL_UNIXLIB_H
|
|
#define __NTDLL_UNIXLIB_H
|
|
|
|
#include "wine/debug.h"
|
|
|
|
struct _DISPATCHER_CONTEXT;
|
|
|
|
/* increment this when you change the function table */
|
|
#define NTDLL_UNIXLIB_VERSION 134
|
|
|
|
struct unix_funcs
|
|
{
|
|
/* loader functions */
|
|
NTSTATUS (CDECL *load_so_dll)( UNICODE_STRING *nt_name, void **module );
|
|
void (CDECL *init_builtin_dll)( void *module );
|
|
NTSTATUS (CDECL *unwind_builtin_dll)( ULONG type, struct _DISPATCHER_CONTEXT *dispatch,
|
|
CONTEXT *context );
|
|
/* other Win32 API functions */
|
|
LONGLONG (WINAPI *RtlGetSystemTimePrecise)(void);
|
|
#ifdef __aarch64__
|
|
TEB * (WINAPI *NtCurrentTeb)(void);
|
|
#endif
|
|
};
|
|
|
|
#endif /* __NTDLL_UNIXLIB_H */
|