summaryrefslogtreecommitdiffstats
path: root/src/wsman-client-options.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wsman-client-options.c')
-rw-r--r--src/wsman-client-options.c30
1 files changed, 28 insertions, 2 deletions
diff --git a/src/wsman-client-options.c b/src/wsman-client-options.c
index 26b3b32..efa355b 100644
--- a/src/wsman-client-options.c
+++ b/src/wsman-client-options.c
@@ -318,11 +318,11 @@ int wsman_read_client_config(dictionary * ini)
}
return 1;
}
-
+#if 0
void wsman_setup_transport_and_library_options()
{
// transport options
- wsman_transport_set_auth_method(authentication_method);
+ wsman_transport_set_auth_method(cl, authentication_method);
if (proxy) {
wsman_transport_set_proxy(proxy);
if (proxy_upwd) {
@@ -338,6 +338,7 @@ void wsman_setup_transport_and_library_options()
// library options
wsman_debug_set_level(debug_level);
}
+#endif
const char **wsman_options_get_argv(void)
@@ -366,6 +367,11 @@ char *wsman_options_get_cafile(void)
return cafile;
}
+char *wsman_options_get_auth_method(void)
+{
+ return authentication_method;
+}
+
char *wsman_options_get_server(void)
{
if (server)
@@ -507,3 +513,23 @@ char *wsman_options_get_path(void)
{
return url_path;
}
+char *wsman_options_get_proxy(void)
+{
+ return proxy;
+}
+char *wsman_options_get_proxy_upwd(void)
+{
+ return proxy_upwd;
+}
+char wsman_options_get_no_verify_peer(void)
+{
+ return no_verify_peer;
+}
+int wsman_options_get_debug_level(void)
+{
+ return debug_level;
+}
+unsigned long wsman_options_get_transport_timeout(void)
+{
+ return transport_timeout;
+}