X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=zoom%2Fzoomtst2.c;h=40b197c1971698bf4625ecb71ea4591f1edb9d39;hp=f6708022add8fe54b080af140ad0edecd3db598b;hb=78322aa6cb73f75c5772bd58c59fffef52597991;hpb=fb6d99a0c7e07d9cc4a315c447deaf6564a85505 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");