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 leak for odr_print of ZOOM connection.
[yaz-moved-to-github.git]
/
src
/
session.h
diff --git
a/src/session.h
b/src/session.h
index
13e06db
..
e5343ff
100644
(file)
--- a/
src/session.h
+++ b/
src/session.h
@@
-98,8
+98,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
+122,8
@@
typedef struct association
association_state state;
/* session parameters */
association_state state;
/* session parameters */
- odr_int_t preferredMessageSize;
- odr_int_t 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;