summaryrefslogtreecommitdiffstats
path: root/tests/interop
diff options
context:
space:
mode:
authorAnas Nashif <nashif@intel.com>2007-05-16 23:37:32 +0000
committerAnas Nashif <nashif@intel.com>2007-05-16 23:37:32 +0000
commit16803fdddfa698aa7586245d8a48ef25f480635a (patch)
treebff0e93234fc949d6cfdb95df998f55b13170fe6 /tests/interop
parent6d02c9a6c69c7aeafdb0c55e5d70ffb5f0b06230 (diff)
downloadwsmancli-16803fdddfa698aa7586245d8a48ef25f480635a.tar.gz
wsmancli-16803fdddfa698aa7586245d8a48ef25f480635a.tar.xz
wsmancli-16803fdddfa698aa7586245d8a48ef25f480635a.zip
more API changes
Diffstat (limited to 'tests/interop')
-rw-r--r--tests/interop/interop.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/interop/interop.c b/tests/interop/interop.c
index 5bea1b1..b6bba52 100644
--- a/tests/interop/interop.c
+++ b/tests/interop/interop.c
@@ -82,7 +82,7 @@ static int run_interop_test (WsManClient *cl, WsXmlNodeH scenario, InteropTest i
{
WsXmlDocH response;
client_opt_t *options = wsman_client_options_init();
- wsman_set_action_option(options,FLAG_DUMP_REQUEST );
+ wsman_client_set_action_option(options,FLAG_DUMP_REQUEST );
if (id == 0) { // 6.1 Identify
response = wsman_client_action_identify(cl, options);
xml_parser_doc_dump(stdout, response);
@@ -126,7 +126,7 @@ static int run_interop_test (WsManClient *cl, WsXmlNodeH scenario, InteropTest i
wsenum_enumerate_and_pull(cl, resource_uri , options, pull_items, NULL );
}else if (id == 9) { // 7.2 Optimized Enumerate
- wsman_set_action_option(options, FLAG_ENUMERATION_OPTIMIZATION);
+ wsman_client_set_action_option(options, FLAG_ENUMERATION_OPTIMIZATION);
WsXmlNodeH input = ws_xml_get_child(scenario, 0, NULL, "Input");
WsXmlNodeH r = ws_xml_get_child(input, 0, NULL, "ResourceURI");
char *resource_uri = ws_xml_get_node_text(r);
@@ -150,14 +150,14 @@ static int run_interop_test (WsManClient *cl, WsXmlNodeH scenario, InteropTest i
}else if (id == 11) { // 7.4 Enumerate ObjectAndEPR
- wsman_set_action_option(options, FLAG_ENUMERATION_ENUM_EPR);
+ wsman_client_set_action_option(options, FLAG_ENUMERATION_ENUM_EPR);
WsXmlNodeH input = ws_xml_get_child(scenario, 0, NULL, "Input");
WsXmlNodeH r = ws_xml_get_child(input, 0, NULL, "ResourceURI");
char *resource_uri = ws_xml_get_node_text(r);
wsenum_enumerate_and_pull(cl, resource_uri , options, pull_items, NULL );
}else if (id == 16) { // 7.9 Enumerate Polymorphism
- wsman_set_action_option(options, FLAG_POLYMORPHISM_NONE);
+ wsman_client_set_action_option(options, FLAG_POLYMORPHISM_NONE);
WsXmlNodeH input = ws_xml_get_child(scenario, 0, NULL, "Input");
WsXmlNodeH r = ws_xml_get_child(input, 0, NULL, "ResourceURI");
char *resource_uri = ws_xml_get_node_text(r);