|
Revision 066e58dd3454554fed6dad53fd2513736087720d, 409 bytes
(checked in by Rémi Denis-Courmont <rem@videolan.org>, 1 year ago)
|
Create a modules-like directory for libraries
that are not plugins neither in the core
|
- Property mode set to
100644
|
| Line | |
|---|
| 1 |
#ifndef _WRAPPER_H |
|---|
| 2 |
#define _WRAPPER_H |
|---|
| 3 |
|
|---|
| 4 |
#include <inttypes.h> |
|---|
| 5 |
|
|---|
| 6 |
typedef struct { |
|---|
| 7 |
uint32_t edi, esi, ebp, esp, ebx, edx, ecx, eax; |
|---|
| 8 |
} reg386_t; |
|---|
| 9 |
|
|---|
| 10 |
typedef int (*wrapper_func_t)(void *stack_base, int stack_size, reg386_t *reg, uint32_t *flags); |
|---|
| 11 |
|
|---|
| 12 |
extern wrapper_func_t report_entry, report_ret; |
|---|
| 13 |
|
|---|
| 14 |
extern void (*wrapper_target)(void); |
|---|
| 15 |
|
|---|
| 16 |
extern int wrapper(void); |
|---|
| 17 |
extern int null_call(void); |
|---|
| 18 |
|
|---|
| 19 |
#endif |
|---|
| 20 |
|
|---|