.\" Text automatically generated by txt2man .TH mdb-header 1 "03 February 2024" "MDBTools 1.0.0" "Executable programs or shell commands" .SH NAME \fBmdb-header \fP- Write header file from an MDB database \fB .SH SYNOPSIS .nf .fam C \fBmdb-header\fP [\fIdatabase\fP] .fam T .fi .fam T .fi .SH DESCRIPTION \fBmdb-header\fP is a utility program distributed with MDB Tools. .PP It will dump the names and types of the tables and columns in an MDB \fIdatabase\fP in a C header format. .PP It will create three files - types.h and dumptypes.[ch] .SH ENVIRONMENT .TP .B MDB_JET3_CHARSET Defines the charset of the input JET3 (access 97) file. Default is CP1252. See \fBiconv\fP(1). .TP .B MDBICONV Defines the output charset. Default is UTF-8. mdbtools must have been compiled with iconv. .TP .B MDBOPTS Colon-separated list of options: .RS .IP \(bu 3 debug_like .IP \(bu 3 debug_write .IP \(bu 3 debug_usage .IP \(bu 3 debug_ole .IP \(bu 3 debug_row .IP \(bu 3 debug_props .IP \(bu 3 debug_all is a shortcut for all debug_* options .IP \(bu 3 no_memo (deprecated; has no effect) .IP \(bu 3 use_index (experimental; requires libmswstr) .SH EXIT STATUS \fBmdb-header\fP exits with error code 1 if there was anunsupported type. .SH FUTURE DIRECTIONS \fBmdb-header\fP is deprecated. Soon, it will no longer be distributed. .PP It is the feeling of developers that it is not used, as C code generation is now usually replaced by more generic approaches, including libmdb calls and odbc. .PP However, should you find this tool useful, drop us a line at https://github.com/mdbtools/mdbtools/issues/197 and we'll consider maintaining it. .SH SEE ALSO \fBmdb-array\fP(1) \fBmdb-count\fP(1) \fBmdb-export\fP(1) \fBmdb-hexdump\fP(1) \fBmdb-import\fP(1) \fBmdb-json\fP(1) \fBmdb-parsecsv\fP(1) \fBmdb-prop\fP(1) \fBmdb-queries\fP(1) \fBmdb-schema\fP(1) \fBmdb-sql\fP(1) \fBmdb-tables\fP(1) \fBmdb-ver\fP(1) .SH AUTHORS The \fBmdb-header\fP utility was written by Brian Bruns. .SH BUGS Only a few types are currently supported.