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 uninit var in ber_decinteger
[yaz-moved-to-github.git]
/
src
/
session.h
diff --git
a/src/session.h
b/src/session.h
index
2ed9bda
..
b9e4c2f
100644
(file)
--- a/
src/session.h
+++ b/
src/session.h
@@
-68,8
+68,6
@@
typedef enum {
typedef struct request
{
typedef struct request
{
- int len_refid; /* length of referenceid */
- char *refid; /* referenceid */
request_state state;
Z_GDU *gdu_request; /* Current request */
request_state state;
Z_GDU *gdu_request; /* Current request */
@@
-98,8
+96,8
@@
typedef struct request_q
*/
typedef enum
{
*/
typedef enum
{
- ASSOC_NEW, /* not initialized yet */
- ASSOC_UP, /* normal operation */
+ ASSOC_NEW, /* not initialized yet or HTTP session */
+ ASSOC_UP, /* Z39.50 session is UP */
ASSOC_DEAD /* dead. Close if input arrives */
} association_state;
ASSOC_DEAD /* dead. Close if input arrives */
} association_state;
@@
-122,8
+120,8
@@
typedef struct association
association_state state;
/* session parameters */
association_state state;
/* session parameters */
- int preferredMessageSize;
- int maximumRecordSize;
+ Odr_int preferredMessageSize;
+ Odr_int maximumRecordSize;
int version; /* highest version-bit set (2 or 3) */
unsigned cs_get_mask;
int version; /* highest version-bit set (2 or 3) */
unsigned cs_get_mask;
@@
-160,6
+158,7
@@
int ir_read(IOCHAN h, int event);
/*
* 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