X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=client%2Fclient.c;h=3c8a898816d0881365ec1dccbf7f754403d835ff;hb=bc33b8b53697bcc10a02f7e7456fd75b2c3473ef;hp=ee7f97fb3ae1a8fd832385adfbfe78a74bd8ce83;hpb=567ab40a74611002aef26af8db8986d24b1c4bd5;p=yaz-moved-to-github.git diff --git a/client/client.c b/client/client.c index ee7f97f..3c8a898 100644 --- a/client/client.c +++ b/client/client.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: client.c,v $ - * Revision 1.36 1996-06-10 08:53:47 quinn + * Revision 1.37 1996-07-06 19:58:29 quinn + * System headerfiles gathered in yconfig + * + * Revision 1.36 1996/06/10 08:53:47 quinn * Added Summary * * Revision 1.35 1996/06/03 09:45:50 quinn @@ -121,17 +124,11 @@ * to illustrate the use of the YAZ service-level API. */ +#include #include #include -#ifdef WINDOWS #include -#else -#include -#endif #include -#ifdef _AIX -#include -#endif #include #include @@ -653,7 +650,7 @@ static int send_searchRequest(char *arg) assert((RPNquery = ccl_rpn_query(rpn))); bib1.proto = protocol; bib1.oclass = CLASS_ATTSET; - bib1.value = VAL_BIB1; + bib1.value = attributeset; RPNquery->attributeSetId = oid_getoidbyent(&bib1); query.u.type_1 = RPNquery; break; @@ -781,6 +778,24 @@ static int send_presentRequest(char *arg) sprintf(setstring, "%d", setnumber); req->resultSetId = setstring; } + + +#if 0 + if (1) + { + static Z_Range range; + static Z_Range *rangep = ⦥ + req->num_ranges = 1; +#endif + + + + + + + + + req->resultSetStartPoint = &setno; req->numberOfRecordsRequested = &nos; prefsyn.proto = protocol;