* Sebastian Hammer, Adam Dickmeiss
*
* $Log: session.h,v $
- * Revision 1.19 1999-04-20 09:56:48 adam
+ * Revision 1.25 2001-07-19 19:51:42 adam
+ * Added typecasts to make C++ happy.
+ *
+ * Revision 1.24 2000/11/23 10:58:32 adam
+ * SSL comstack support. Separate POSIX thread support library.
+ *
+ * Revision 1.23 2000/04/05 07:39:55 adam
+ * Added shared library support (libtool).
+ *
+ * Revision 1.22 2000/03/20 19:06:25 adam
+ * Added Segment request for fronend server. Work on admin for client.
+ *
+ * Revision 1.21 1999/11/30 13:47:12 adam
+ * Improved installation. Moved header files to include/yaz.
+ *
+ * Revision 1.20 1999/10/11 10:01:24 adam
+ * Implemented bend_sort_rr handler for frontend server.
+ *
+ * Revision 1.19 1999/04/20 09:56:48 adam
* Added 'name' paramter to encoder/decoder routines (typedef Odr_fun).
* Modified all encoders/decoders to reflect this change.
*
#ifndef SESSION_H
#define SESSION_H
-#include <comstack.h>
-#include <odr.h>
-#include <oid.h>
-#include <proto.h>
#include <sys/types.h>
+#include <yaz/comstack.h>
+#include <yaz/odr.h>
+#include <yaz/oid.h>
+#include <yaz/proto.h>
#include "eventl.h"
typedef enum {
char *refid; /* referenceid */
request_state state;
- Z_APDU *request; /* Current request */
+ Z_APDU *apdu_request; /* Current request */
NMEM request_mem; /* memory handle for request */
int size_response; /* size of buffer */
int maximumRecordSize;
int version; /* highest version-bit set (2 or 3) */
+ unsigned cs_get_mask;
+ unsigned cs_put_mask;
+ unsigned cs_accept_mask;
+
+ struct bend_initrequest *init;
+#if 0
int (*bend_sort) ();
int (*bend_search) ();
int (*bend_present) ();
int (*bend_esrequest) ();
int (*bend_delete) ();
+ int (*bend_scan) ();
+ int (*bend_segment) ();
+#endif
} association;
association *create_association(IOCHAN channel, COMSTACK link);