|
BB2 C port
API reference: Blitz libraries in C and the shared code
|
#include "blitzlib.h"#include "blitzexec.h"#include "blitzdos.h"#include <dos/dosextens.h>#include <graphics/gfx.h>#include <graphics/rastport.h>#include <graphics/text.h>#include <proto/graphics.h>#include <proto/dos.h>Data Structures | |
| struct | ptok |
| struct | dt |
Macros | |
| #define | __NOLIBBASE__ |
| #define | GRAPHICS_BASE_NAME gfxbase |
| #define | DOS_BASE_NAME dosbase |
| #define | TOK_rawstatus 0x3102 |
| #define | RAW_SPACE 64 |
| #define | FONT_FILE "rilesdebuglib-font.bin" |
| #define | FONTSIZE 2048 |
| #define | USERTOKENS 20 |
| #define | LOWMEM(p) |
| #define | FINDFLAGS (LDF_READ | LDF_DEVICES | LDF_VOLUMES | LDF_ASSIGNS | LDF_ENTRY) |
| D_FindVolume(volumename): look up a device, volume or assign (Amiga mode only). | |
| #define | CHECKEND() |
Functions | |
| void | rilesdebuglib_finddev (void) |
| void | _getsr (void) |
| void | _hexword (void) |
| void | _checknmove (void) |
| void | _checknmove2 (void) |
| void | _findstringptr (void) |
| void | _getcopins (void) |
| void | _flocate (void) |
| void | _fprint (void) |
| void | _fnprint (void) |
| void | _finverse (void) |
| void | _getprogmode (void) |
| void | _fyoffset (void) |
| void | _searchmem (void) |
| void | _searchmemfound (void) |
| void | _peekmax (void) |
| void | _checknmoveword (void) |
| void | _checknmoveword2 (void) |
| void | _gethex (void) |
| void | _gethexadr (void) |
| void | _getcustomreg (void) |
| void | _getcustomregadr (void) |
| void | _fprintdetoke (void) |
| void | _setuplesdebug (void) |
| void | _extractlabel (void) |
| void | _outtext (void) |
| void | _checknmovea (void) |
| void | _checknmovea2 (void) |
| void | _outtextpen (void) |
| void | _initparse (void) |
| void | rilesdebuglib_nextparsearg (void) |
| void | _processstring (void) |
| void | _addprocessptr (void) |
| void | _clearprocessptrs (void) |
| void | _findlinetoken (void) |
| void | _getdataitem (void) |
| void | rilesdebuglib_libinit (void) |
| void | _fprintchk (void) |
| void | _addprocessptrchk (void) |
| void | rilesdebuglib_libfinit (void) |
| static void | libinit_c (void) |
| init: open graphics.library (any version) and set ProcessString's p ("REDDebugger") and c (the token list address in hex) entries. | |
| static void | libfinit_c (void) |
| finit: close graphics.library. | |
| static ULONG | finddev_c (CONST_STRPTR name, struct DosLibrary *dosbase) |
| static void | getsr_c (UBYTE *buf, UBYTE sr) |
| D_GetSR buffer,SR: the condition codes as text. | |
| static UBYTE * | hexbyte (UBYTE *d, const UBYTE **s) |
| static void | hexword_c (const UBYTE *src, UBYTE *dst, UWORD num) |
| D_HexWord source,address,num: num words of memory as hex text. | |
| static void | checknmove2_c (const UBYTE *s, UBYTE *d, UWORD count) |
| D_CheckNMove source_address,dest_address,count: count longs as 4 characters each, one byte left between them. | |
| static void | checknmove_c (const UBYTE *s, UBYTE *d) |
| D_CheckNMove source_address,dest_address: one long (count 1). | |
| static UBYTE * | checkbyte (UBYTE *d, const UBYTE **s) |
| static void | checknmovea2_c (const UBYTE *s, UBYTE *d, UWORD count) |
| D_CheckNMoveA source_address,dest_address,count: as D_CheckNMove, with no 0 in the characters and "*" below $420. | |
| static void | checknmovea_c (const UBYTE *s, UBYTE *d) |
| D_CheckNMoveA source_address,dest_address: one long (count 1). | |
| static void | checknmoveword2_c (const UBYTE *s, UBYTE *d, UWORD count) |
| D_CheckNMoveWord source_address,dest_address,count: count words as 2 characters each, no gap; no 0, "*" below $420. | |
| static void | checknmoveword_c (const UBYTE *s, UBYTE *d) |
| D_CheckNMoveWord source_address,dest_address: one word (count 1). | |
| static ULONG | findstringptr_c (const UBYTE *areg5, ULONG look) |
| D_FindStringPtr(areg5,lookfor): search a long in the 32 KB below an address. | |
| static ULONG | peekmax_c (const UBYTE *s, UWORD max) |
| PeekMax$(address,max_chars): the string at an address, at most max_chars characters. | |
| static ULONG | hexout (ULONG v, int mode) |
| static ULONG | gethex_c (ULONG v, UBYTE mode) |
| GetHex$(value,mode): a value as 2, 4 or 8 hex digits. | |
| static ULONG | gethexadr_c (const UBYTE *addr, UBYTE mode) |
| GetHexAdr$(*value,mode): the byte, word or long at an address in hex. | |
| static ULONG | getdataitem_c (const UBYTE *addr, UWORD size) |
| GetDataItem(address,size): the byte, word or long at an address. | |
| static ULONG | findlinetoken_c (const UBYTE *s) |
| FindLineToken(Start_Address): the first token of a tokenised line. | |
| static int | column_ok (ULONG x) |
| static ULONG | cursor_offset (void) |
| static void | flocate_c (UWORD x, UWORD y) |
| FLocate x,y: the cursor of the font printer. | |
| static void | finverse_c (UWORD on) |
| FInverse inversemode: inverse printing on or off. | |
| static void | fyoffset_c (UWORD off) |
| FYOffset pixel_offset: the pixel offset added to the cursor's row. | |
| static void | fprint_c (const UBYTE *s, struct BitMap *bm, const ULONG *args) |
| FPrint a$: print a string with the 8x8 font into plane 0 of the used bitmap. | |
| static void | fnprint_c (const UBYTE *s, struct BitMap *bm, const ULONG *args) |
| FNPrint a$: FPrint, then the cursor to the start of the next row. | |
| static void | draw_char (struct dt *t, UWORD glyph) |
| static void | fprintdetoke_c (const UBYTE *line, UWORD cio, UWORD typ, UWORD lineoff, ULONG callercol, struct BitMap *bm) |
| FPrintDetoke tokenised_string,cio,typ,lineoffset: print a tokenised line with the 8x8 font, its tokens as their names. | |
| static void | outtext_c (ULONG x, ULONG y, struct RastPort *rp, CONST_STRPTR s) |
| OutText x,y,rastport,address/string: print a string on a RastPort. | |
| static void | outtextpen_c (struct RastPort *rp, UWORD pen) |
| OutTextPen rastport,pen: SetAPen on a RastPort. | |
| static void | coords (UWORD w) |
| static void | outs (const char *s) |
| static ULONG | getcopins_c (const UWORD *ins) |
| GetCopIns$(copdata): a copper instruction as text. | |
| static ULONG | getcustomreg_c (ULONG reg) |
| GetCustomReg(address): the name of a custom chip register. | |
| static ULONG | getcustomregadr_c (const UBYTE *name) |
| GetCustomRegAdr(name$): the offset of a custom chip register. | |
| static void | getprogmode_c (WORD mode, UBYTE *buf) |
| GetProgMode mode,buffer: the name of a program mode. | |
| static int | space_down (void) |
| static ULONG | searchmem_c (UBYTE type, ULONG value, const UBYTE *p, const UBYTE *end) |
| SearchMem(type,value,start_ad,end_ad): search memory for a value. | |
| static ULONG | searchmemfound_c (void) |
| SearchMemFound: the address SearchMem found. | |
| static void | setuplesdebug_c (ULONG tok, UBYTE tokenise) |
| SetupLESDebug token_addr,tokenise: the token list for FPrintDetoke. | |
| static ULONG | extractlabel_c (const UBYTE *s) |
| ExtractLabel(label_string): the label name in a line. | |
| static void | initparse_c (const UBYTE *s) |
| D_InitParse string: start parsing a string of comma separated arguments. | |
| static ULONG | nextparsearg_c (void) |
| D_NextArg$: the next argument of D_InitParse's string. | |
| static ULONG | processstring_c (void) |
| ProcessString: the parser's text with x replaced. | |
| static void | addprocessptr_c (const UBYTE *ch, const UBYTE *s) |
| AddProcessPtr character,string: a new x entry for ProcessString. | |
| static void | clearprocessptrs_c (void) |
| ClearProcessPtrs: remove AddProcessPtr's entries. | |
| static void | fprintchk_c (const struct BitMap *bm) |
| The error check of FPrint, FNPrint and FPrintDetoke (debugger only). | |
| static void | addprocessptrchk_c (void) |
| The error check of AddProcessPtr (debugger only). | |
Variables | |
| static const UBYTE | font_dat [FONTSIZE] |
| static const UBYTE | hexdigits [16] = "0123456789ABCDEF" |
| static struct GfxBase * | gfxbase |
| static UWORD | xcurs |
| static UWORD | ycurs |
| static UWORD | inverse |
| static UWORD | yoffset |
| static ULONG | tokens |
| static const UBYTE | notoke [] = "?????" |
| static UBYTE | chartyp |
| static UBYTE | plz_tokenise |
| static ULONG | findaddress |
| static UBYTE | parseadr [256] |
| static UBYTE * | curadr |
| struct { | |
| struct ptok fixed [2] | |
| struct ptok user [USERTOKENS] | |
| UBYTE end [2] | |
| } | stringtokens = { { { 'p', 0, NULL }, { 'c', 0, NULL } } } |
| static const UBYTE | progname [] = "REDDebugger" |
| static UBYTE | tokenaddr [9] |
| static const UBYTE | qamigatext [6] = "QAMIGA" |
| static const UBYTE | amigatext [6] = "AMIGA " |
| static const UBYTE | blitztext [6] = "BLITZ " |
| static const UBYTE | customchipnames [256][8] |
| #define __NOLIBBASE__ |
| #define CHECKEND | ( | ) |
| #define DOS_BASE_NAME dosbase |
| #define FINDFLAGS (LDF_READ | LDF_DEVICES | LDF_VOLUMES | LDF_ASSIGNS | LDF_ENTRY) |
D_FindVolume(volumename): look up a device, volume or assign (Amiga mode only).
LockDosList, FindDosEntry, UnLockDosList with LDF_READ, devices, volumes and assigns. Fixed (#1148): below dos.library V36 (no LockDosList) the device list of DosInfo is walked under Forbid; the original called the V36 functions there, a crash on Kickstart 1.x.
| #define FONT_FILE "rilesdebuglib-font.bin" |
| #define FONTSIZE 2048 |
| #define GRAPHICS_BASE_NAME gfxbase |
| #define LOWMEM | ( | p | ) |
| #define RAW_SPACE 64 |
| #define TOK_rawstatus 0x3102 |
| #define USERTOKENS 20 |
| void _addprocessptr | ( | void | ) |
| void _addprocessptrchk | ( | void | ) |
| void _checknmove | ( | void | ) |
| void _checknmove2 | ( | void | ) |
| void _checknmovea | ( | void | ) |
| void _checknmovea2 | ( | void | ) |
| void _checknmoveword | ( | void | ) |
| void _checknmoveword2 | ( | void | ) |
| void _clearprocessptrs | ( | void | ) |
| void _extractlabel | ( | void | ) |
| void _findlinetoken | ( | void | ) |
| void _findstringptr | ( | void | ) |
| void _finverse | ( | void | ) |
| void _flocate | ( | void | ) |
| void _fnprint | ( | void | ) |
| void _fprint | ( | void | ) |
| void _fprintchk | ( | void | ) |
| void _fprintdetoke | ( | void | ) |
| void _fyoffset | ( | void | ) |
| void _getcopins | ( | void | ) |
| void _getcustomreg | ( | void | ) |
| void _getcustomregadr | ( | void | ) |
| void _getdataitem | ( | void | ) |
| void _gethex | ( | void | ) |
| void _gethexadr | ( | void | ) |
| void _getprogmode | ( | void | ) |
| void _getsr | ( | void | ) |
| void _hexword | ( | void | ) |
| void _initparse | ( | void | ) |
| void _outtext | ( | void | ) |
| void _outtextpen | ( | void | ) |
| void _peekmax | ( | void | ) |
| void _processstring | ( | void | ) |
| void _searchmem | ( | void | ) |
| void _searchmemfound | ( | void | ) |
| void _setuplesdebug | ( | void | ) |
|
static |
AddProcessPtr character,string: a new x entry for ProcessString.
Behind the last entry; the table holds 20, a 21st is ignored (with runtime error checking refused by addprocessptrchk) (fixed #700: the original had no limit, the 21st entry went over the end mark and overwrote the code of D_InitParse behind the table).
| ch | d0: the string whose first character is x |
| s | d1: the string x stands for |
|
static |
The error check of AddProcessPtr (debugger only).
Fixed (#700), not in the original: the table has room for 20 entries; the release code ignores further ones, the check tells the programmer.
Errors: "AddProcessPtr table holds at most 20 entries" when all 20 are in use.
|
static |
|
static |
D_CheckNMove source_address,dest_address,count: count longs as 4 characters each, one byte left between them.
The bytes are copied as they are (also 0 and below $420). count 0 copies nothing (fixed #701: the original's DBRA ran 65536 times).
|
static |
D_CheckNMove source_address,dest_address: one long (count 1).
| s | d0: the source |
| d | d1: the destination |
|
static |
D_CheckNMoveA source_address,dest_address,count: as D_CheckNMove, with no 0 in the characters and "*" below $420.
A 0 byte becomes 1; an address below $420 (unsigned compare, fixed #717) gives '*'. count 0 writes nothing (fixed #701: the original's DBRA ran 65536 times).
|
static |
D_CheckNMoveA source_address,dest_address: one long (count 1).
| s | d0: the source |
| d | d1: the destination |
|
static |
D_CheckNMoveWord source_address,dest_address,count: count words as 2 characters each, no gap; no 0, "*" below $420.
count 0 writes nothing, and the byte count count*2 is a long (fixed #701: the original's DBRA of the word count*2-1 ran 65536 times for 0 and $8000, and counts above $8000 lost their top bit); the address check is unsigned (fixed #717).
|
static |
D_CheckNMoveWord source_address,dest_address: one word (count 1).
| s | d0: the source |
| d | d1: the destination |
|
static |
ClearProcessPtrs: remove AddProcessPtr's entries.
Only the first entry is cleared: it ends the lookup, and the next AddProcessPtr reuses it (no defect). p and c stay.
|
static |
|
static |
|
static |
|
static |
|
static |
ExtractLabel(label_string): the label name in a line.
From 9 characters on, the name behind the first '.' up to a 0, ':' or space, at a3; a line without a '.' there (or shorter than 9 characters) gives the empty string (fixed #703: the original searched the '.' without a limit, also behind a 0 among the 9 characters it skips). The space as the source says (fixed #704: the CD's blitz2 2.10 assembled the source's test for it as CMPI.b #0, compiler bug #343, fixed in blitz2-c; in every binary a space did not end the label).
| s | d0: the line |
|
static |
|
static |
FindLineToken(Start_Address): the first token of a tokenised line.
A token is a byte with bit 7 and the next byte.
| s | d0: the line |
|
static |
D_FindStringPtr(areg5,lookfor): search a long in the 32 KB below an address.
From areg5-32768 in steps of 2 up to areg5; the long at areg5 itself is not compared (like the original, no defect: the 32 KB below a5 are what the caller searches, #705).
| areg5 | d0: the end of the search |
| look | d1: the long to find |
|
static |
FInverse inversemode: inverse printing on or off.
FPrint and FPrintDetoke test the word (fixed #706: FPrintDetoke tested only its high byte, FInverse 1 inverted FPrint only).
| on | d0.w: nonzero inverse |
|
static |
|
static |
|
static |
FPrint a$: print a string with the 8x8 font into plane 0 of the used bitmap.
At the cursor, 8 bytes per character in rows of 80 bytes, inverted if the FInverse word is set; the cursor moves on. Columns of 80 and more print nothing (fixed #707: the original compared the column's low byte on the sign of the difference, columns 208-255 printed on); the bitmap's size is checked only with runtime error checking (fprintchk, fixed #707). The length is counted as a long (fixed #710: the original's SUBQ.w/BMI printed nothing for a string of 32769 characters or more).
|
static |
The error check of FPrint, FNPrint and FPrintDetoke (debugger only).
Fixed (#707), not in the original (rilesdebuglib had no error check area): the font printer writes rows of 80 bytes, 8 rows of pixels per character, at the cursor's row plus FYOffset, and never looked at the used bitmap's size: in a narrower bitmap the characters landed in the wrong rows, and rows below the bitmap were written. Arguments the programmer controls (D-005): the release code prints as before.
Errors: "Font printer needs a bitmap of 640 pixels" for fewer than 80 bytes per row; "Font printer row outside the bitmap" when the 8 pixel rows at the cursor do not all lie in the bitmap.
| bm | a0: the used bitmap (!libs bitmaplib,ua0) |
|
static |
FPrintDetoke tokenised_string,cio,typ,lineoffset: print a tokenised line with the 8x8 font, its tokens as their names.
At the cursor in plane 0 of the used bitmap; tokens (a byte with bit 7 and the next) as their names from the token list of SetupLESDebug ("?????" for an unknown one), also into plane 1 with SetupLESDebug's tokenise; lineoffset characters skipped from the left; before the character at cio a marker, '>' (typ 0) or an inverse space. Inverse printing tests the FInverse word, and the marker leaves it as it was (fixed #706: the original tested its high byte, so FInverse 1 did not invert here, and the marker set and cleared that byte); with it set and tokens drawn into two planes, plane 1 gets the same inverted glyphs (fixed #709: the original gave it the glyph of the character of the last glyph byte). The '>' marker is never followed by the inverse space (fixed #708: the original's BSR draw_char : SBNE 'con drew it too when the column count, d6 with the caller's high word, became 0). The column check is FPrint's, also for the character behind a marker (fixed #707: the original drew that one without the test).
|
static |
FYOffset pixel_offset: the pixel offset added to the cursor's row.
| off | d0.w: the offset in pixel lines |
|
static |
GetCopIns$(copdata): a copper instruction as text.
"MOVE vvvv to NAME " (the register's 8 character name) or "WAIT|SKIP (xx,yy) MASK (xx,yy)[ [BFD]]"; the low horizontal digit without bit 0, the instruction bit (fixed #711: the original cleared bit 0 of the high digit too, its odd values never showed). Written at a3, no 0.
| ins | d0: the instruction (two words) |
|
static |
GetCustomReg(address): the name of a custom chip register.
The name up to its first space, at most 8 characters, at a3 (fixed #712: the original stopped only after a 9th character, so a name of 8 characters got the first one of the next name behind it, a3 one behind the result of the length 8). The range is $000-$1FE (fixed #702: the original stopped at $1FC, the last register NOOP had no name); the range test compares the word unsigned (fixed #714: the original tested the word signed and the long for negative, so a negative word with d0.l not negative read in front of the name table); the high word is not looked at.
| reg | d0.w: the register's offset ($000-$1FE) |
|
static |
GetCustomRegAdr(name$): the offset of a custom chip register.
The first register among $000-$1FE whose name (up to a space, at most 8 characters) the string is (fixed #713: the original matched a prefix, the string could go on behind the name, and never found a name of 8 characters, its compare ran into the next name). The last register, $1FE NOOP, is looked at too (fixed #702: the original stopped at $1FC).
| name | d0: the name |
|
static |
GetDataItem(address,size): the byte, word or long at an address.
Read byte by byte (also at odd addresses); every size but 1 and 2 is a long, as the help text says (fixed #701: the original read a long only from size 3 on, size 0 shifted 65536 bytes through the result and a negative size fewer, -1 65535, by a DBRA from the word size-1).
| addr | d0: the address |
| size | d1.w: 1 byte, 2 word, otherwise long |
|
static |
|
static |
GetHexAdr$(*value,mode): the byte, word or long at an address in hex.
As GetHex$; no check of low addresses. The word or long is read byte by byte, as GetDataItem does, so an odd address works on a 68000 too (fixed #1168: the original read it with one MOVE.w or MOVE.l, an address error there).
| addr | d0: the address |
| mode | d1.b: 1 byte, 2 word, otherwise long |
|
static |
|
static |
D_GetSR buffer,SR: the condition codes as text.
"XNZVC" with '-' for the bits not set, and a 0 (6 bytes).
| buf | d0: the buffer |
| sr | d1.b: the status register (its low byte) |
|
static |
|
static |
|
static |
D_HexWord source,address,num: num words of memory as hex text.
"XXXX " each; at an odd source "XX YY" per loop, the words at the even addresses (like the original, no defect, #715). Bytes at addresses below $420 show "*" (an unsigned compare, fixed #717). No 0 is written. num 0 writes nothing (fixed #701: the original's DBRA ran 65536 times).
| src | d0: the source address |
| dst | d1: the buffer |
| num | d2.w: the number of words |
|
static |
D_InitParse string: start parsing a string of comma separated arguments.
At most 255 characters of the string are copied into the parser's 256 byte buffer, with a 0 behind them (fixed #716: the original copied without a limit, over the parser's pointer and code behind the buffer); the position goes to its start.
| s | d0: the string |
|
static |
finit: close graphics.library.
|
static |
init: open graphics.library (any version) and set ProcessString's p ("REDDebugger") and c (the token list address in hex) entries.
AddProcessPtr's 20 entries are cleared (fixed #700: a run from the editor started with the run before's entries, which counted toward the limit and pointed into its freed strings). The rest of the state gets its first load's values too (fixed #1169: a second run started with the run before's cursor, FInverse, FYOffset, SearchMemFound, token list and tokenise, parser position and c text): the library stays loaded between two runs of a program from the editor.
|
static |
D_NextArg$: the next argument of D_InitParse's string.
The characters up to the next ',' (at a3); after the last argument the position is 0 and the result empty.
|
static |
|
static |
OutText x,y,rastport,address/string: print a string on a RastPort.
Move to x, y + the baseline of the rastport's font (a word add), Text with the string's length (counted up to the 0).
|
static |
OutTextPen rastport,pen: SetAPen on a RastPort.
| rp | d0: the RastPort |
| pen | d1.w: the pen (SetAPen gets d0's high word, the rastport's, with the pen as the low word) |
|
static |
PeekMax$(address,max_chars): the string at an address, at most max_chars characters.
The characters up to the 0, at most max, go to a3; a max below 1 gives the empty string (fixed #718: the original tested the count after the copy, wrote max+1 characters and returned the length max, a3 one behind the result). No check of low addresses.
| s | d0: the address |
| max | d1.w: the maximum number of characters |
|
static |
ProcessString: the parser's text with x replaced.
The text from the parser's current position (no argument: the command works on what D_InitParse stored, as its caller uses it), at a3, with x replaced by the string of entry x (p "REDDebugger", c the token list address, then AddProcessPtr's entries); %% gives a '', a x without an entry drops x. Without a parser position (before D_InitParse, after the last D_NextArg$) the result is empty, as D_NextArg$'s (fixed #719: the original read the text at address 0, and its help text named an argument "string"). A '' at the end of the text ends it (fixed #720: the original took the 0 behind it as the entry's name and went on behind the text).
| void rilesdebuglib_finddev | ( | void | ) |
| void rilesdebuglib_libfinit | ( | void | ) |
| void rilesdebuglib_libinit | ( | void | ) |
| void rilesdebuglib_nextparsearg | ( | void | ) |
|
static |
SearchMem(type,value,start_ad,end_ad): search memory for a value.
The first place in start..end-1 with the byte (type 1), word (2), long (3, 5, 6) or string (4, value = its address); another type finds nothing. The space bar is tested (RawStatus) every 127 steps and ends the search. After a mismatch behind a partial match the string search goes on one byte behind the partial match's start (fixed #723: the original went on behind the mismatch, "ab" was not found in "aab"); an empty string finds nothing (fixed #721: the original compared its 0 and the bytes behind it). A word or long counts only if it lies in front of the end (fixed #722: the original compared bytes up to 1 or 3 behind the end).
| type | d0.b: the type |
| value | d1: the value, or the string's address |
| p | d2: the start |
| end | d3: the end (exclusive) |
|
static |
SearchMemFound: the address SearchMem found.
|
static |
SetupLESDebug token_addr,tokenise: the token list for FPrintDetoke.
Also its address as 8 hex digits, ProcessString's c. The list: a chain of entries, the next at +0, the token number at +4, the name at +6.
| tok | d0: the token list |
| tokenise | d1.b: nonzero: FPrintDetoke draws token names into plane 1 too |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| UBYTE end[2] |
|
static |
| struct ptok fixed[2] |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| struct { ... } stringtokens |
|
static |
|
static |
| struct ptok user[USERTOKENS] |
|
static |
|
static |
|
static |