X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=client%2Ftabcomplete.c;h=be68db4c512364e3b8f16ac70c5217baabdf7b4e;hb=e7c92daefc4151eb51197bea80fbd4e80895945f;hp=d9e6cb133a93c6f155e360fd8a17cb77088192f3;hpb=7a98e9bfbb9d5fe7d44822a9838e3becbdce9363;p=yaz-moved-to-github.git diff --git a/client/tabcomplete.c b/client/tabcomplete.c index d9e6cb1..be68db4 100644 --- a/client/tabcomplete.c +++ b/client/tabcomplete.c @@ -1,9 +1,10 @@ -/* - * Copyright (C) 1995-2007, Index Data ApS +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2011 Index Data * See the file LICENSE for details. - * - * $Id: tabcomplete.c,v 1.19 2007-05-08 08:22:35 adam Exp $ */ +#if HAVE_CONFIG_H +#include +#endif #include #include @@ -104,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); } @@ -147,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