X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=client%2Ftabcomplete.c;h=f866d56f90786dd751642a58d47a68647fdd1407;hb=fff2dc6469e36483e4547732aa8414fe3fe71183;hp=7bd6eca6e20d045f8a6c67a9416b1218657e7e7d;hpb=ee6ab2ee3a9ee1a8c65d7272ec7fba1d886f5af0;p=yaz-moved-to-github.git diff --git a/client/tabcomplete.c b/client/tabcomplete.c index 7bd6eca..f866d56 100644 --- a/client/tabcomplete.c +++ b/client/tabcomplete.c @@ -1,7 +1,10 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2008 Index Data + * Copyright (C) 1995-2010 Index Data * See the file LICENSE for details. */ +#if HAVE_CONFIG_H +#include +#endif #include #include @@ -102,7 +105,7 @@ const char** build_list_for_oclass(oid_class oclass) char* complete_querytype(const char *text, int state) { - static const char* querytypes[] = {"ccl2rpn","prefix","cclrpn","ccl","cql", 0}; + static const char* querytypes[] = {"ccl2rpn","prefix","cclrpn","ccl","cql", "cql2rpn", 0}; return complete_from_list(querytypes,text,state); } @@ -145,6 +148,7 @@ char* complete_attributeset(const char* text, int state) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab