SYNOPSIStxtoc -d database -h host -p port -t table
txtocf -d database -p port -t table
DESCRIPTION
The txtoc
program is used to write the outline of a program to talk
to a particular table in a database. The generated code is designed to
compile as is, and produce a dump of the table in question. From there
it is possible to customize the program to your own needs.
The code generated will include a structure to hold one record from the table, routines to create and destroy the structure, as well as to fill the structure in from the table, and write the contents of the structure to the database. The name of the structure will be the same as the name of the table.
txtocf
behaves the same as txtoc
except that it talks to
a local database without using texisd
.