home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
534.lha
/
SANA_II
/
netbuff.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-08-08
|
1KB
|
52 lines
#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 <exec/types.h>
#endif /* !EXEC_TYPES_H */
#ifndef EXEC_LISTS_H
#include <exec/lists.h>
#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 */