home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 45
/
Amiga_Dream_45.iso
/
Amiga
/
emulation
/
d64edir.lha
/
inc
/
exec
/
libraries.h
< prev
next >
Wrap
Text File
|
1997-05-06
|
1KB
|
44 lines
{$ifndef EXEC_LIBRARIES_H}
CONST EXEC_LIBRARIES_H = 0;
{$ifndef EXEC_NODES_H;include "exec/nodes.h";endif}
CONST LIB_VECTSIZE = 6;
LIB_RESERVED = 4;
LIB_BASE = -LIB_VECTSIZE;
LIB_USERDEF = -30 {LIB_BASE-(LIB_RESERVED*LIB_VECTSIZE)};
LIB_NONSTD = -LIB_USERDEF;
LIB_OPEN = -6;
LIB_CLOSE = -12;
LIB_EXPUNGE = -18;
LIB_EXTFUNC = -24;
TYPE p_Library = ^_Library;
_Library = record
lib_Node: Node;
lib_Flags,lib_pad: Byte;
lib_NegSize, lib_PosSize, lib_Version, lib_Revision: Word;
lib_IdString: stryng;
lib_Sum: Long;
lib_OpenCnt: Word;
end;
CONST LIBF_SUMMING = $1;
LIBF_CHANGED = $2;
LIBF_SUMUSED = $4;
LIBF_DELEXP = $8;
{$endif}
{$ifndef EXEC_LIBRARIES_LIB }
Const EXEC_LIBRARIES_LIB = 26731;
Library SysBase:
-78: Procedure InitStruct(a1: Ptr; a2,d0: Long);
-84: Function MakeLibrary(a0,a1,a2: Ptr; d0,d1: Long): p_Library;
-90: Procedure MakeFunctions(a0,a1,a2: Ptr);
-396: Procedure AddLibrary(a1: p_Library);
-402: Function RemLibrary(a1: p_Library): Long;
-408: Function OldOpenLibrary(a1: stryng): p_Library;
-414: Procedure CloseLibrary(a1: p_Library);
-420: Procedure SetFunction(a1: p_Library; a0,d0: Long);
-426: Function SumLibrary(a1: p_Library): Long;
-552: Function OpenLibrary(a1: stryng; d0: Long): p_Library;
end;
{$endif}