-
-char* complete_querytype(char* text, int state);
-char* complete_format(char* text, int state);
-char* complete_schema(char* text, int state);
-char* complete_attributeset(char* text, int state);
-
+char* complete_querytype(const char* text, int state);
+char* complete_format(const char* text, int state);
+char* complete_schema(const char* text, int state);
+char* complete_attributeset(const char* text, int state);
+char* complete_auto_reconnect(const char *text, int state);
+char *complete_from_list(char* completions[], const char *text, int state);