mirror of
https://github.com/ctm/executor.git
synced 2026-03-11 10:41:53 +00:00
33 lines
787 B
C
33 lines
787 B
C
#if !defined (_ADB_H_)
|
|
#define _ADB_H_
|
|
|
|
/*
|
|
* Copyright 1995 by Abacus Research and Development, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* $Id: ADB.h 63 2004-12-24 18:19:43Z ctm $
|
|
*/
|
|
|
|
typedef struct
|
|
{
|
|
SignedByte devType LPACKED;
|
|
SignedByte origADBAddr LPACKED;
|
|
Ptr dbServiceRtPtr PACKED_P;
|
|
Ptr dbDataAreaAddr PACKED_P;
|
|
} ADBDataBlock;
|
|
|
|
typedef struct
|
|
{
|
|
Ptr siServiceRtPtr PACKED_P;
|
|
Ptr siDataAreaAddr PACKED_P;
|
|
} ADBSetInfoBlock;
|
|
|
|
extern void ADBReInit (void);
|
|
extern OSErr ADBOp (Ptr data, ProcPtr procp, Ptr buffer, INTEGER command);
|
|
extern INTEGER CountADBs (void);
|
|
extern OSErr GetIndADB (ADBDataBlock *adbp, INTEGER index);
|
|
extern OSErr GetADBInfo (ADBDataBlock *adbp, INTEGER address);
|
|
extern OSErr SetADBInfo (ADBSetInfoBlock *adbp, INTEGER address);
|
|
|
|
#endif /* !_ADB_H_ */
|