X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zoom%2Fzoomtst2.c;fp=zoom%2Fzoomtst2.c;h=40b197c1971698bf4625ecb71ea4591f1edb9d39;hb=1f3fe256d54ab81d998cd622abda89580cc0b3ff;hp=f6708022add8fe54b080af140ad0edecd3db598b;hpb=7816498d590a66569e6ca8d17e8a4a3723a36826;p=yaz-moved-to-github.git diff --git a/zoom/zoomtst2.c b/zoom/zoomtst2.c index f670802..40b197c 100644 --- a/zoom/zoomtst2.c +++ b/zoom/zoomtst2.c @@ -1,5 +1,5 @@ /* - * $Id: zoomtst2.c,v 1.6 2005-06-25 15:46:08 adam Exp $ + * $Id: zoomtst2.c,v 1.7 2006-03-01 23:24:26 adam Exp $ * * Asynchronous single-target client performing search (no retrieval) */ @@ -27,6 +27,9 @@ int main(int argc, char **argv) /* create connection (don't connect yet) */ z = ZOOM_connection_create(0); + /* option: set sru/get operation (only applicable if http: is used) */ + ZOOM_connection_option_set (z, "sru", "post"); + /* option: set async operation */ ZOOM_connection_option_set (z, "async", "1");