home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d5xx
/
d570
/
view.lha
/
View
/
ascii.i
< prev
next >
Wrap
Text File
|
1991-11-21
|
3KB
|
113 lines
IFND LIBRARIES_ASCII_I
LIBRARIES_ASCII_I SET 1
*-- AutoRev header do NOT edit!
*
* Program : ascii.i
* Copyright : © 1991 Jaba Development
* Author : Jan van den Baard
* Creation Date : 16-Apr-91
* Current version : 1.1
* Translator : Several.
*
* REVISION HISTORY
*
* Date Version Comment
* --------- ------- ------------------------------------------
* 23-Apr-91 1.1 Removed some useless data in structures.
* 16-Apr-91 1.0 Initial version!
*
*-- REV_END --*
IFND EXEC_TYPES_I
include 'exec/types.i'
ENDC
IFND EXEC_LISTS_I
include 'exec/lists.i'
ENDC
IFND LIBRARIES_DOS_I
include 'libraries/dos.i'
ENDC
IFND LIBRARIES_NOFRAG_I
include 'libraries/nofrag.i'
ENDC
*
* Line bit/flags definitions.
*
LNB_Split EQU 0
LNF_Split EQU 1<<LNB_Split
*
* AsciiText bit/flags definitions.
*
ATB_SkipEsc EQU 0
ATF_SkipEsc EQU 1<<ATB_SkipEsc
ATB_TabConvert EQU 1
ATF_TabConvert EQU 1<<ATB_TabConvert
*
* Some miscellanious definitions.
*
MAXLINE EQU 256
ANSITAB EQU 8
MINTAB EQU 2
MAXTAB EQU 16
*
* Possible errors.
*
ASE_OK EQU 0
ASE_EOF EQU -1
ASE_NOMEM EQU -2
ASE_READ EQU -3
ASE_WRITE EQU -4
ASE_NOFILE EQU -5
ASE_FILETYPE EQU -6
STRUCTURE Line,0
APTR ln_Next
APTR ln_Prev
APTR ln_Text
UWORD ln_Size
UWORD ln_Flags
LABEL ln_SIZEOF
STRUCTURE AsciiText,0
APTR at_First
APTR at_End
APTR at_Last
UWORD at_NumLines
UWORD at_NumSplit
ULONG at_NumBytes
UWORD at_TabJump
UWORD at_MaxChars
UWORD at_Flags
APTR at_MemoryUsed
LABEL at_SIZEOF
STRUCTURE StringScan,0
APTR sc_Text
APTR sc_Line
APTR sc_String
UWORD sc_StringSize
UWORD sc_TextOffset
APTR sc_Address
LABEL sc_SIZEOF
STRUCTURE BuffIO,0
LONG bio_Handle
ULONG bio_FileMode
STRUCT bio_Buffer,1024
STRUCT bio_Line,MAXLINE
APTR bio_Pointer
UWORD bio_BytesLeft
ULONG bio_BytesDone
WORD bio_Error
LABEL bio_SIZEOF
ENDC ; LIBRARIES_ASCII_I