X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=client%2Ftabcomplete.h;h=f7e0707c341ca029c5b7881e5ed5b6bb25715ea4;hb=e4ef95b2ccfe88d7049543664f00e5fda957dd0c;hp=d1552bf551b54dcc58a819ffcbcb148d0da069c1;hpb=a2df70871ff2494610edf71f7c7c74b785a69cd6;p=yaz-moved-to-github.git diff --git a/client/tabcomplete.h b/client/tabcomplete.h index d1552bf..f7e0707 100644 --- a/client/tabcomplete.h +++ b/client/tabcomplete.h @@ -1,24 +1,25 @@ /* - * Copyright (c) 2002, Index Data + * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: tabcomplete.h,v 1.3 2002-06-17 14:57:34 ja7 Exp $ + * $Id: tabcomplete.h,v 1.8 2007-01-03 08:42:13 adam Exp $ */ /* This file contains the compleaters for the different commands. */ - 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* default_completer(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); /* * Local variables: - * tab-width: 4 * c-basic-offset: 4 + * indent-tabs-mode: nil * End: + * vim: shiftwidth=4 tabstop=8 expandtab */ +