home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
200-299
/
ff240.lzh
/
XprLib
/
library
/
protolib.h
< prev
next >
Wrap
C/C++ Source or Header
|
1989-08-28
|
822b
|
37 lines
/** protolib.h
*
* DESCRIPTION:
* ===========
*
* Header file for protolib.c.
*
**/
#include <exec/types.h>
#include <exec/nodes.h>
#include <exec/resident.h>
#include <exec/libraries.h>
#include <functions.h>
typedef LONG (*PFL)(); /* pointer to function returning 32-bit int */
/* library initialization table, used for AUTOINIT libraries */
struct InitTable {
ULONG it_DataSize; /* library data space size */
PFL *it_FuncTable; /* table of entry points */
APTR it_DataInit; /* table of data initializers */
PFL it_InitFunc; /* initialization function to run */
};
struct XPRBase {
struct Library mb_Lib;
ULONG mb_Cookie; /* looks good */
ULONG mb_SegList;
ULONG mb_Flags;
APTR mb_ExecBase; /* pointer to exec base */
APTR mb_A4; /* proper value of A4 for aztec small model */
};