view loader/wrapper.h @ 8606:d80edba39db9

This patch makes subtitle and A-V delays display correctly rounded ("3800 ms" instead of "3799 ms" etc). Oskar Liljeblad <oskar@osk.mine.nu>
author arpi
date Sat, 28 Dec 2002 13:53:31 +0000
parents 8b905703a450
children ee76aa308c0a
line wrap: on
line source

#ifndef _WRAPPER_H
#define _WRAPPER_H

#include <sys/types.h>

typedef struct {
  u_int32_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,  u_int32_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 /* _WRAPPER_H */