libdballe 5.10
|
Common functions for commandline tools. More...
Go to the source code of this file.
Data Structures | |
struct | dballe::cmdline::op_dispatch_table |
struct | dballe::cmdline::tool_desc |
struct | dballe::cmdline::program_info |
Defines | |
#define | ODT_END { NULL, NULL, NULL, NULL, NULL, NULL } |
Functions | |
void | dballe::cmdline::dba_cmdline_print_dba_error () |
Print informations about the last error to stderr. | |
void | dballe::cmdline::dba_cmdline_error (poptContext optCon, const char *fmt,...) __attribute__((noreturn)) |
Print an error that happened when parsing commandline arguments, then add usage informations and exit. | |
Encoding | dballe::cmdline::dba_cmdline_stringToMsgType (const char *type, poptContext optCon) |
Return the ::dba_encoding that corresponds to the name in the string. | |
int | dballe::cmdline::dba_cmdline_dispatch_main (const struct program_info *pinfo, const struct tool_desc *desc, int argc, const char *argv[]) |
Process commandline arguments and perform the action requested. | |
unsigned | dballe::cmdline::dba_cmdline_get_query (poptContext optCon, Record &query) |
Get a DB-ALLe query from commandline parameters in the form key=value. | |
void | dballe::cmdline::list_templates () |
List available output templates. |
Common functions for commandline tools.