X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=client%2Ftabcomplete.h;h=f7e0707c341ca029c5b7881e5ed5b6bb25715ea4;hb=e4ef95b2ccfe88d7049543664f00e5fda957dd0c;hp=04d149756620c7d86613855d8ad3e0bbad38bfe3;hpb=2984a4a74dbbe7aaf4f07788ae4785041cf6004a;p=yaz-moved-to-github.git diff --git a/client/tabcomplete.h b/client/tabcomplete.h index 04d1497..f7e0707 100644 --- a/client/tabcomplete.h +++ b/client/tabcomplete.h @@ -1,16 +1,25 @@ +/* + * Copyright (C) 1995-2007, Index Data ApS + * See the file LICENSE for details. + * + * $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(char* text, int state); -char* complete_format(char* text, int state); -char* complete_schema(char* text, int state); -char* complete_attributeset(char* text, int state); - +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* 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 */ +