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
Add ZOOM_connection_diagset()
[yaz-moved-to-github.git]
/
include
/
yaz
/
zoom.h
diff --git
a/include/yaz/zoom.h
b/include/yaz/zoom.h
index
4dcf792
..
12043ac
100644
(file)
--- a/
include/yaz/zoom.h
+++ b/
include/yaz/zoom.h
@@
-2,7
+2,7
@@
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: zoom.h,v 1.27 2005-10-11 18:24:33 adam Exp $
+ * $Id: zoom.h,v 1.30 2005-11-16 16:03:51 mike Exp $
*/
/**
* \file zoom.h
*/
/**
* \file zoom.h
@@
-61,6
+61,9
@@
ZOOM_connection_destroy (ZOOM_connection c);
ZOOM_API(const char *)
ZOOM_connection_option_get (ZOOM_connection c, const char *key);
ZOOM_API(const char *)
ZOOM_connection_option_get (ZOOM_connection c, const char *key);
+ZOOM_API(const char *)
+ZOOM_connection_option_getl (ZOOM_connection c, const char *key, int *lenp);
+
ZOOM_API(void)
ZOOM_connection_option_set (ZOOM_connection c, const char *key,
const char *val);
ZOOM_API(void)
ZOOM_connection_option_set (ZOOM_connection c, const char *key,
const char *val);
@@
-89,6
+92,9
@@
ZOOM_connection_errmsg (ZOOM_connection c);
/* returns additional info */
ZOOM_API(const char *)
ZOOM_connection_addinfo (ZOOM_connection c);
/* returns additional info */
ZOOM_API(const char *)
ZOOM_connection_addinfo (ZOOM_connection c);
+/* returns diagnostic set */
+ZOOM_API(const char *)
+ZOOM_connection_diagset (ZOOM_connection c);
/* translates error code into human-readable string */
ZOOM_API(const char *)
ZOOM_diag_str (int error);
/* translates error code into human-readable string */
ZOOM_API(const char *)
ZOOM_diag_str (int error);
@@
-240,10
+246,13
@@
ZOOM_API(void)
const char *val);
/* ----------------------------------------------------------- */
const char *val);
/* ----------------------------------------------------------- */
-/* Sort */
+/* Sort. First function is deprecated, use second instead */
ZOOM_API(void)
ZOOM_resultset_sort(ZOOM_resultset r,
const char *sort_type, const char *sort_spec);
ZOOM_API(void)
ZOOM_resultset_sort(ZOOM_resultset r,
const char *sort_type, const char *sort_spec);
+ZOOM_API(int)
+ ZOOM_resultset_sort1(ZOOM_resultset r,
+ const char *sort_type, const char *sort_spec);
/* ----------------------------------------------------------- */
/* options */
/* ----------------------------------------------------------- */
/* options */
@@
-265,6
+274,9
@@
ZOOM_API(ZOOM_options)
ZOOM_API(const char *)
ZOOM_options_get (ZOOM_options opt, const char *name);
ZOOM_API(const char *)
ZOOM_options_get (ZOOM_options opt, const char *name);
+ZOOM_API(const char *)
+ZOOM_options_getl (ZOOM_options opt, const char *name, int *lenp);
+
ZOOM_API(void)
ZOOM_options_set (ZOOM_options opt, const char *name, const char *v);
ZOOM_API(void)
ZOOM_options_set (ZOOM_options opt, const char *name, const char *v);