2008-02-23 15:50:55 +01:00
|
|
|
#ifndef MPLAYER_WRAPPER_H
|
|
|
|
#define MPLAYER_WRAPPER_H
|
2002-11-24 22:45:23 +01:00
|
|
|
|
2004-01-28 09:02:40 +01:00
|
|
|
#include <inttypes.h>
|
2002-11-24 22:45:23 +01:00
|
|
|
|
|
|
|
typedef struct {
|
2004-01-28 09:02:40 +01:00
|
|
|
uint32_t edi, esi, ebp, esp, ebx, edx, ecx, eax;
|
2002-11-24 22:45:23 +01:00
|
|
|
} reg386_t;
|
|
|
|
|
2004-01-28 09:02:40 +01:00
|
|
|
typedef int (*wrapper_func_t)(void *stack_base, int stack_size, reg386_t *reg, uint32_t *flags);
|
2002-11-24 22:45:23 +01:00
|
|
|
|
|
|
|
extern wrapper_func_t report_entry, report_ret;
|
|
|
|
|
2008-12-04 16:07:15 +01:00
|
|
|
extern void (*wrapper_target)(void);
|
2002-11-24 22:45:23 +01:00
|
|
|
|
2008-12-04 00:01:03 +01:00
|
|
|
int wrapper(void);
|
|
|
|
int null_call(void);
|
2002-11-24 22:45:23 +01:00
|
|
|
|
2008-02-23 15:50:55 +01:00
|
|
|
#endif /* MPLAYER_WRAPPER_H */
|