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
Implement ZOOM_scanset_display_term
[yaz-moved-to-github.git]
/
include
/
yaz
/
zoom.h
diff --git
a/include/yaz/zoom.h
b/include/yaz/zoom.h
index
f0a9b74
..
301e1c3
100644
(file)
--- a/
include/yaz/zoom.h
+++ b/
include/yaz/zoom.h
@@
-1,6
+1,6
@@
/*
* Public header for ZOOM C.
/*
* Public header for ZOOM C.
- * $Id: zoom.h,v 1.15 2002-12-09 23:32:29 adam Exp $
+ * $Id: zoom.h,v 1.19 2003-11-19 19:07:26 adam Exp $
*/
#include <yaz/yconfig.h>
*/
#include <yaz/yconfig.h>
@@
-92,6
+92,8
@@
ZOOM_diag_str (int error);
#define ZOOM_ERROR_INIT 10005
#define ZOOM_ERROR_INTERNAL 10006
#define ZOOM_ERROR_TIMEOUT 10007
#define ZOOM_ERROR_INIT 10005
#define ZOOM_ERROR_INTERNAL 10006
#define ZOOM_ERROR_TIMEOUT 10007
+#define ZOOM_ERROR_UNSUPPORTED_PROTOCOL 10008
+#define ZOOM_ERROR_UNSUPPORTED_QUERY 10009
ZOOM_API(int)
ZOOM_connection_last_event(ZOOM_connection cs);
ZOOM_API(int)
ZOOM_connection_last_event(ZOOM_connection cs);
@@
-104,6
+106,8
@@
ZOOM_connection_last_event(ZOOM_connection cs);
#define ZOOM_EVENT_UNKNOWN 5
#define ZOOM_EVENT_SEND_APDU 6
#define ZOOM_EVENT_RECV_APDU 7
#define ZOOM_EVENT_UNKNOWN 5
#define ZOOM_EVENT_SEND_APDU 6
#define ZOOM_EVENT_RECV_APDU 7
+#define ZOOM_EVENT_RECV_RECORD 8
+#define ZOOM_EVENT_RECV_SEARCH 9
/* ----------------------------------------------------------- */
/* result sets */
/* ----------------------------------------------------------- */
/* result sets */
@@
-166,7
+170,10
@@
ZOOM_query_create(void);
/* destroy it */
ZOOM_API(void)
ZOOM_query_destroy(ZOOM_query s);
/* destroy it */
ZOOM_API(void)
ZOOM_query_destroy(ZOOM_query s);
-/* specify prefix query for search */
+/* CQL */
+ZOOM_API(int)
+ZOOM_query_cql(ZOOM_query s, const char *str);
+/* PQF */
ZOOM_API(int)
ZOOM_query_prefix(ZOOM_query s, const char *str);
/* specify sort criteria for search */
ZOOM_API(int)
ZOOM_query_prefix(ZOOM_query s, const char *str);
/* specify sort criteria for search */
@@
-182,6
+189,10
@@
ZOOM_API(const char *)
ZOOM_scanset_term(ZOOM_scanset scan, size_t pos,
int *occ, int *len);
ZOOM_scanset_term(ZOOM_scanset scan, size_t pos,
int *occ, int *len);
+ZOOM_API(const char *)
+ZOOM_scanset_display_term(ZOOM_scanset scan, size_t pos,
+ int *occ, int *len);
+
ZOOM_API(size_t)
ZOOM_scanset_size(ZOOM_scanset scan);
ZOOM_API(size_t)
ZOOM_scanset_size(ZOOM_scanset scan);