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 void (*syntaxfunc)(PQExpBuffer); /* function that prints the syntax associated with it */ 19 int nl_count; /* number of newlines in syntax (for pager) */ 20 }; 21 22 extern const struct _helpStruct QL_HELP[]; 23 24 #define QL_HELP_COUNT 184 /* number of help items */ 25 #define QL_MAX_CMD_LEN 32 /* largest strlen(cmd) */ 26 27 28 #endif /* SQL_HELP_H */ 29