From 7ac6d7c142bea56f87d13f6bcb2d5adf7593691f Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 12 Feb 2002 21:12:39 +0000 Subject: [PATCH] Client prints new init options --- client/client.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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; -- 1.7.10.4