mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-18 18:22:07 +08:00
Restore 0.9.0 API backward compatibility of mdb_print_col and MDB_BINEXPORT_*
Other programs (e.g. gmdb2) use mdb_print_col, so restore the old enum names and values. MDB_EXPORT_ESCAPE_INVISIBLE can be OR'ed into the last argument to enable C-style escaping of text fields.
This commit is contained in:
@@ -190,10 +190,12 @@ enum {
|
||||
|
||||
/* csv export binary options */
|
||||
enum {
|
||||
MDB_EXPORT_BINARY_STRIP = (1 << 0),
|
||||
MDB_EXPORT_BINARY_RAW = (1 << 1),
|
||||
MDB_EXPORT_BINARY_OCTAL = (1 << 2),
|
||||
MDB_EXPORT_BINARY_HEXADECIMAL = (1 << 3),
|
||||
MDB_BINEXPORT_STRIP,
|
||||
MDB_BINEXPORT_RAW,
|
||||
MDB_BINEXPORT_OCTAL,
|
||||
MDB_BINEXPORT_HEXADECIMAL,
|
||||
|
||||
/* Flags that can be OR'ed into the above when calling mdb_print_col */
|
||||
MDB_EXPORT_ESCAPE_CONTROL_CHARS = (1 << 4)
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user