Fix compilation errors on FreeBSD.
[wine] / include / callback.h
1 /*
2  * Callback functions
3  *
4  * Copyright 1995 Alexandre Julliard
5  */
6
7 #ifndef __WINE_CALLBACK_H
8 #define __WINE_CALLBACK_H
9
10 #include "windef.h"
11 #include "winnt.h"
12
13 typedef struct {
14     void WINAPI             (*LoadDosExe)( LPCSTR filename, HANDLE hFile );
15
16     /* DPMI functions */
17     void WINAPI             (*CallRMInt)( CONTEXT86 *context );
18     void WINAPI             (*CallRMProc)( CONTEXT86 *context, int iret );
19     void WINAPI             (*AllocRMCB)( CONTEXT86 *context );
20     void WINAPI             (*FreeRMCB)( CONTEXT86 *context );
21
22     /* I/O functions */
23     void WINAPI             (*SetTimer)( unsigned ticks );
24     unsigned WINAPI         (*GetTimer)( void );
25     BOOL WINAPI             (*inport)( int port, int size, DWORD *res );
26     BOOL WINAPI             (*outport)( int port, int size, DWORD val );
27     void WINAPI             (*ASPIHandler)( CONTEXT86 *context );
28 } DOSVM_TABLE;
29
30 extern DOSVM_TABLE Dosvm;
31
32 #endif /* __WINE_CALLBACK_H */