starbase - starbase data table C library.

SYNOPSYS

A C library of functions to access starbase data tables.

User Level Routines

Header

table_header
read the table header from a file.
table_hdrval
access a header value.
table_hdrput
output a table header.
table_hdrfree
release memory of the table header structures when done.
table_mode
set table io mode.
table_ofs
change the output field separator.
table_ors
change the output record separator.

Column

table_colnum
look up a column in a table header.
table_coladd
add a column to the table.
table_colarg
parse a table program column argument.
table_colval
get the value from the column.

Row

table_rowget
read the next row from a table file.
table_rowput
output a table row.
table_rowfree
release memory of the row structures when done.
table_ncol
return the number of columns in a row structure.

Table

table_extract
extract a table from a multi table file.
table_load
load a table directly into a data structure.
table_loadva
load a table directly into a data structure from varargs table description.

Lower Level Routines

table_rowtrim
trim blanks out of a row structure.
table_colpad
pad column output for justification.
table_parsline
parse a line from a table file.
table_rowloc
low level table row descriptor allocation.
table_isid
check if a string should be considered as a column id.