X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=client%2Ftabcomplete.h;h=8abb9a7450cda7580c0e4360ebf6506f6de062d2;hb=ad3b14dd33d6ce41c79e3b39d176b4a18dff42fb;hp=aff7707782b10cc7cbefa8509a849a0ed6cb40ff;hpb=fb6d99a0c7e07d9cc4a315c447deaf6564a85505;p=yaz-moved-to-github.git diff --git a/client/tabcomplete.h b/client/tabcomplete.h index aff7707..8abb9a7 100644 --- a/client/tabcomplete.h +++ b/client/tabcomplete.h @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995-2005, Index Data ApS + * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: tabcomplete.h,v 1.6 2005-06-25 15:46:01 adam Exp $ + * $Id: tabcomplete.h,v 1.9 2007-04-12 13:52:57 adam Exp $ */ /* @@ -13,8 +13,9 @@ 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(const char** completions, + const char *text, int state); /* * Local variables: * c-basic-offset: 4