view loader/wrapper.h @ 27092:0b4d8e4d4ed7

Rename some definitions to avoid clashing with system headers, fixes: ./drivers/3dfx.h:262:1: warning: "ROP_COPY" redefined /usr/include/linux/fb.h:311:1: warning: this is the location of the previous definition ./drivers/3dfx.h:264:1: warning: "ROP_XOR" redefined /usr/include/linux/fb.h:312:1: warning: this is the location of the previous definition
author diego
date Mon, 23 Jun 2008 08:47:50 +0000
parents a8ea87c71d18
children 9e739bdb049c
line wrap: on
line source

#ifndef MPLAYER_WRAPPER_H
#define MPLAYER_WRAPPER_H

#include <inttypes.h>

typedef struct {
  uint32_t edi, esi, ebp, esp, ebx, edx, ecx, eax;
} reg386_t;

typedef int (*wrapper_func_t)(void *stack_base, int stack_size, reg386_t *reg,  uint32_t *flags);

extern wrapper_func_t report_entry, report_ret;

extern void (*wrapper_target)(void);

extern int wrapper(void);
extern int null_call(void);

#endif /* MPLAYER_WRAPPER_H */