- char* querytypes[] = {"ccl2rpn","prefix","cclrpn","ccl",0};
- return complete_from_list(querytypes,text,state);
+ static const char* querytypes[] = {"ccl2rpn","prefix","cclrpn","ccl","cql", "cql2rpn", 0};
+ return complete_from_list(querytypes,text,state);
+}
+
+char* complete_auto_reconnect(const char *text, int state)
+{
+ static const char* querytypes[] = {"on","off",0};
+ return complete_from_list(querytypes,text,state);