diff options
Diffstat (limited to 'pkg/tbtables/tbltext.h')
-rw-r--r-- | pkg/tbtables/tbltext.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pkg/tbtables/tbltext.h b/pkg/tbtables/tbltext.h new file mode 100644 index 00000000..f870bb76 --- /dev/null +++ b/pkg/tbtables/tbltext.h @@ -0,0 +1,13 @@ +# These definitions are for text tables. + +define SZ_TEXTBUF (4096 + SZ_LINE) # size of input buffer + +# These are possible values for the line type as read by tbzlin: +define DATA_LINE 1 # column data +define COMMENT_LINE 2 # a comment (blank or beginning with #) +define KEYWORD_LINE 3 # a keyword (#k keyword = value) +define COLDEF_LINE 4 # explicit column definition (#c name etc.) + +# This is the initial size (and the increment in size) for the array of +# pointers to header keywords. +define INCR_N_KEYWORDS 128 |