From: Adam Dickmeiss Date: Tue, 12 Feb 2002 21:12:39 +0000 (+0000) Subject: Client prints new init options X-Git-Tag: YAZ.1.8.6~53 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=7ac6d7c142bea56f87d13f6bcb2d5adf7593691f Client prints new init options --- diff --git a/client/client.c b/client/client.c index ed34712..e1c394c 100644 --- a/client/client.c +++ b/client/client.c @@ -2,7 +2,7 @@ * Copyright (c) 1995-2002, Index Data * See the file LICENSE for details. * - * $Id: client.c,v 1.141 2002-02-01 23:59:49 adam Exp $ + * $Id: client.c,v 1.142 2002-02-12 21:12:39 adam Exp $ */ #include @@ -264,6 +264,16 @@ static int process_initResponse(Z_InitResponse *res) printf (" namedResultSets"); setnumber = 0; } + if (ODR_MASK_GET(res->options, Z_Options_encapsulation)) + printf (" encapsulation"); + if (ODR_MASK_GET(res->options, Z_Options_resultCount)) + printf (" resultCount"); + if (ODR_MASK_GET(res->options, Z_Options_negotiationModel)) + printf (" negotiationModel"); + if (ODR_MASK_GET(res->options, Z_Options_duplicateDetection)) + printf (" duplicateDetection"); + if (ODR_MASK_GET(res->options, Z_Options_queryType104)) + printf (" queryType104"); printf ("\n"); fflush (stdout); return 0;