* Z39.50 API for the Email gateway - YAZ version
*
* $Log: zaccess.c,v $
- * Revision 1.1 1995/07/03 08:21:31 adam
+ * Revision 1.2 1995/07/05 11:08:33 adam
+ * Bug fix in init request.
+ *
+ * Revision 1.1 1995/07/03 08:21:31 adam
* Yaz layer moved to new sub directory. zaccess aligned with new
* YAZ version (1.0b).
*
req->preferredMessageSize = &p->preferredmessagesize;
req->maximumRecordSize = &p->maxrecordsize;
+ ODR_MASK_SET(req->options, Z_Options_search);
+ ODR_MASK_SET(req->options, Z_Options_present);
+ ODR_MASK_SET(req->options, Z_Options_namedResultSets);
+
+ ODR_MASK_SET(req->protocolVersion, Z_ProtocolVersion_1);
+ ODR_MASK_SET(req->protocolVersion, Z_ProtocolVersion_2);
+
if (auth)
{
req->idAuthentication = &idauth;