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