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
Ignore generated files oclc-ill-req-ext.[ch].
[yaz-moved-to-github.git]
/
src
/
zoom-p.h
diff --git
a/src/zoom-p.h
b/src/zoom-p.h
index
4718a0e
..
90c7142
100644
(file)
--- a/
src/zoom-p.h
+++ b/
src/zoom-p.h
@@
-2,14
+2,14
@@
* 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-p.h,v 1.12 2006-08-08 20:58:52 adam Exp $
+ * $Id: zoom-p.h,v 1.18 2007-04-12 13:52:57 adam Exp $
*/
/**
* \file zoom-p.h
* \brief Internal header for ZOOM implementation
*/
*/
/**
* \file zoom-p.h
* \brief Internal header for ZOOM implementation
*/
-
#include <yaz/proto.h>
#include <yaz/proto.h>
+#include <yaz/oid_db.h>
#include <yaz/comstack.h>
#include <yaz/wrbuf.h>
#include <yaz/zoom.h>
#include <yaz/comstack.h>
#include <yaz/wrbuf.h>
#include <yaz/zoom.h>
@@
-28,7
+28,7
@@
typedef enum {
zoom_sru_error,
zoom_sru_soap,
zoom_sru_get,
zoom_sru_error,
zoom_sru_soap,
zoom_sru_get,
- zoom_sru_post,
+ zoom_sru_post
} zoom_sru_mode;
} zoom_sru_mode;
@@
-38,10
+38,6
@@
typedef struct ZOOM_task_p *ZOOM_task;
#define STATE_CONNECTING 1
#define STATE_ESTABLISHED 2
#define STATE_CONNECTING 1
#define STATE_ESTABLISHED 2
-#define ZOOM_SELECT_READ 1
-#define ZOOM_SELECT_WRITE 2
-#define ZOOM_SELECT_EXCEPT 4
-
struct ZOOM_connection_p {
enum oid_proto proto;
COMSTACK cs;
struct ZOOM_connection_p {
enum oid_proto proto;
COMSTACK cs;
@@
-111,6
+107,8
@@
struct ZOOM_resultset_p {
ZOOM_options options;
ZOOM_connection connection;
ZOOM_resultset next;
ZOOM_options options;
ZOOM_connection connection;
ZOOM_resultset next;
+ char **databaseNames;
+ int num_databaseNames;
};
struct ZOOM_record_p {
};
struct ZOOM_record_p {
@@
-138,6
+136,8
@@
struct ZOOM_scanset_p {
Z_AttributesPlusTerm *termListAndStartPoint;
Z_AttributeSetId *attributeSet;
Z_ScanResponse *scan_response;
Z_AttributesPlusTerm *termListAndStartPoint;
Z_AttributeSetId *attributeSet;
Z_ScanResponse *scan_response;
+ char **databaseNames;
+ int num_databaseNames;
};
struct ZOOM_package_p {
};
struct ZOOM_package_p {
@@
-158,12
+158,16
@@
struct ZOOM_task_p {
int count;
int start;
ZOOM_resultset resultset;
int count;
int start;
ZOOM_resultset resultset;
+ char *syntax;
+ char *elementSetName;
} search;
#define ZOOM_TASK_RETRIEVE 2
struct {
int start;
ZOOM_resultset resultset;
int count;
} search;
#define ZOOM_TASK_RETRIEVE 2
struct {
int start;
ZOOM_resultset resultset;
int count;
+ char *syntax;
+ char *elementSetName;
} retrieve;
#define ZOOM_TASK_CONNECT 3
#define ZOOM_TASK_SCAN 4
} retrieve;
#define ZOOM_TASK_CONNECT 3
#define ZOOM_TASK_SCAN 4
@@
-188,6
+192,7
@@
struct ZOOM_Event_p {
};
void ZOOM_options_addref (ZOOM_options opt);
};
void ZOOM_options_addref (ZOOM_options opt);
+
/*
* Local variables:
* c-basic-offset: 4
/*
* Local variables:
* c-basic-offset: 4