projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix install doc rule for Automake 1.11
[yaz-moved-to-github.git]
/
client
/
tabcomplete.c
diff --git
a/client/tabcomplete.c
b/client/tabcomplete.c
index
3bbb156
..
bad183d
100644
(file)
--- a/
client/tabcomplete.c
+++ b/
client/tabcomplete.c
@@
-1,8
+1,6
@@
-/*
- * Copyright (C) 1995-2007, Index Data ApS
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2009 Index Data
* See the file LICENSE for details.
* See the file LICENSE for details.
- *
- * $Id: tabcomplete.c,v 1.18 2007-04-12 13:52:57 adam Exp $
*/
#include <string.h>
*/
#include <string.h>
@@
-64,8
+62,8
@@
typedef struct {
of pointers into the oid owned data
*/
of pointers into the oid owned data
*/
-void oid_loader(const int *oid,
- int oclass, const char *name, void* data_)
+void oid_loader(const Odr_oid *oid,
+ oid_class oclass, const char *name, void* data_)
{
oid_callback_t* data=(oid_callback_t*) data_;
{
oid_callback_t* data=(oid_callback_t*) data_;
@@
-104,7
+102,7
@@
const char** build_list_for_oclass(oid_class oclass)
char* complete_querytype(const char *text, int state)
{
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);
}
return complete_from_list(querytypes,text,state);
}
@@
-147,6
+145,7
@@
char* complete_attributeset(const char* text, int state)
/*
* Local variables:
* c-basic-offset: 4
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab