X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=client%2Ftabcomplete.h;h=62ba0e6e8ec2c9d1a8538096921bd28e8b184d91;hb=29c6ebfc19c403aa99c7f462d2b36f056ffd4dbc;hp=d1552bf551b54dcc58a819ffcbcb148d0da069c1;hpb=a2df70871ff2494610edf71f7c7c74b785a69cd6;p=yaz-moved-to-github.git diff --git a/client/tabcomplete.h b/client/tabcomplete.h index d1552bf..62ba0e6 100644 --- a/client/tabcomplete.h +++ b/client/tabcomplete.h @@ -1,24 +1,25 @@ /* - * Copyright (c) 2002, Index Data + * Copyright (C) 1995-2006, 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.7 2006-05-07 20:57:26 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 */ +