| 1 | /* |
| 2 | * *** Do not change this file by hand. It is automatically |
| 3 | * *** generated from the DocBook documentation. |
| 4 | * |
| 5 | * generated by src/bin/psql/create_help.pl |
| 6 | * |
| 7 | */ |
| 8 | |
| 9 | #ifndef SQL_HELP_H |
| 10 | #define SQL_HELP_H |
| 11 | |
| 12 | #include "pqexpbuffer.h" |
| 13 | |
| 14 | struct _helpStruct |
| 15 | { |
| 16 | const char *cmd; /* the command name */ |
| 17 | const char *help; /* the help associated with it */ |
| 18 | const char *docbook_id; /* DocBook XML id (for generating URL) */ |
| 19 | void (*syntaxfunc)(PQExpBuffer); /* function that prints the syntax associated with it */ |
| 20 | int nl_count; /* number of newlines in syntax (for pager) */ |
| 21 | }; |
| 22 | |
| 23 | extern const struct _helpStruct QL_HELP[]; |
| 24 | |
| 25 | #define QL_HELP_COUNT 184 /* number of help items */ |
| 26 | #define QL_MAX_CMD_LEN 32 /* largest strlen(cmd) */ |
| 27 | |
| 28 | |
| 29 | #endif /* SQL_HELP_H */ |
| 30 | |