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
Added header yaz/xmltypes.h which include libxml2' node definitions
[yaz-moved-to-github.git]
/
src
/
session.h
diff --git
a/src/session.h
b/src/session.h
index
f6070d1
..
b63d2cf
100644
(file)
--- a/
src/session.h
+++ b/
src/session.h
@@
-1,8
+1,8
@@
/*
/*
- * Copyright (C) 1995-2005, Index Data ApS
+ * Copyright (C) 1995-2006, Index Data ApS
* See the file LICENSE for details.
*
* See the file LICENSE for details.
*
- * $Id: session.h,v 1.9 2005-06-25 15:46:05 adam Exp $
+ * $Id: session.h,v 1.12 2006-12-04 14:56:55 adam Exp $
*/
/**
* \file session.h
*/
/**
* \file session.h
@@
-17,6
+17,7
@@
#include <yaz/oid.h>
#include <yaz/proto.h>
#include <yaz/backend.h>
#include <yaz/oid.h>
#include <yaz/proto.h>
#include <yaz/backend.h>
+#include <yaz/retrieval.h>
#include "eventl.h"
struct gfs_server {
#include "eventl.h"
struct gfs_server {
@@
-26,6
+27,9
@@
struct gfs_server {
cql_transform_t cql_transform;
void *server_node_ptr;
char *directory;
cql_transform_t cql_transform;
void *server_node_ptr;
char *directory;
+ char *docpath;
+ char *stylesheet;
+ yaz_retrieval_t retrieval;
struct gfs_server *next;
};
struct gfs_server *next;
};
@@
-107,8
+111,8
@@
typedef struct association
struct bend_initrequest *init;
statserv_options_block *last_control;
struct bend_initrequest *init;
statserv_options_block *last_control;
- cql_transform_t cql_transform;
- void *server_node_ptr;
+
+ struct gfs_server *server;
} association;
association *create_association(IOCHAN channel, COMSTACK link,
} association;
association *create_association(IOCHAN channel, COMSTACK link,
@@
-129,6
+133,8
@@
int statserv_must_terminate(void);
int control_association(association *assoc, const char *host, int force);
int control_association(association *assoc, const char *host, int force);
+int ir_read(IOCHAN h, int event);
+
#endif
/*
* Local variables:
#endif
/*
* Local variables: