X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=client%2Ftabcomplete.c;h=07cb0f091eb4cc88aa393b01000aa6e4e413e933;hp=b443c33ee4bb8dc3d7cf3531f4076562814473b1;hb=aea27bc0e4e3f310196f0e6cee3de8cac69e9806;hpb=2c530ea4045bf7a0c3895ea1ed31c222536d6143 diff --git a/client/tabcomplete.c b/client/tabcomplete.c index b443c33..07cb0f0 100644 --- a/client/tabcomplete.c +++ b/client/tabcomplete.c @@ -2,7 +2,7 @@ * Copyright (c) 2002, Index Data * See the file LICENSE for details. * - * $Id: tabcomplete.c,v 1.6 2002-07-12 13:42:20 adam Exp $ + * $Id: tabcomplete.c,v 1.7 2002-08-29 19:34:44 ja7 Exp $ */ #include @@ -103,6 +103,12 @@ char* complete_querytype(const char *text, int state) return complete_from_list(querytypes,text,state); } +char* complete_auto_reconnect(const char *text, int state) +{ + char* querytypes[] = {"on","off",0}; + return complete_from_list(querytypes,text,state); +} + char* complete_format(const char* text, int state) {