#ifndef LIBRARIES_NETBUFF_H #define LIBRARIES_NETBUFF_H 1 /* ** $Filename: netbuff.h $ ** $Release: Developer Information$ ** $Revision: 1.1 $ ** $Date: 91/05/14 $ ** ** NetBuff library structure definitions. ** ** (C) Copyright 1991 Commodore-Amiga Inc. ** All Rights Reserved */ /* ** Contributions from: ** Raymond S. Brand, rsbx@cbmvax.commodore.com, (215) 431-9100 ** Martin Hunt, martin@cbmvax.commodore.com, (215) 431-9100 ** Perry Kivolowitz, ASDG Incorporated, (608) 273-6585 */ #ifndef EXEC_TYPES_H #include #endif /* !EXEC_TYPES_H */ #ifndef EXEC_LISTS_H #include #endif /* !EXEC_LISTS_H */ #define NETBUFFNAME "netbuff.library" struct NetBuffSegment { struct MinNode Node; /* segment links */ ULONG PhysicalSize; /* buffer size of this segment */ ULONG DataOffset; /* offset to valid data */ ULONG DataCount; /* valid bytes in this segment */ UBYTE *Buffer; /* pointer to data buffer area */ }; struct NetBuff { struct MinList List; /* segments */ ULONG Count; /* amount of data in NetBuff */ }; #endif /* LIBRARIES_NETBUFF_H */