1 /* 2 * *** Do not change this file by hand. It is automatically 3 * *** generated from the DocBook documentation. 4 * 5 * generated by 6 * /usr/bin/perl create_help.pl ../../../doc/src/sgml/ref sql_help 7 * 8 */ 9 10 #ifndef SQL_HELP_H 11 #define SQL_HELP_H 12 13 #include "pqexpbuffer.h" 14 15 struct _helpStruct 16 { 17 const char *cmd; /* the command name */ 18 const char *help; /* the help associated with it */ 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 178 /* number of help items */ 26 #define QL_MAX_CMD_LEN 32 /* largest strlen(cmd) */ 27 28 29 #endif /* SQL_HELP_H */ 30