File 0004-Bindings-Client-scheme-user-password-host-path-gette.patch of Package openwsman.1064

From bfacba78ce0f4bd2d99ba5b3dc42c4f99d69b890 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
Date: Tue, 13 Jan 2015 16:06:05 +0100
Subject: [PATCH 4/6] Bindings: Client scheme,user,password,host,path getters
 need %newobject

This fixes issue #47
---
 bindings/wsman-client.i | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/bindings/wsman-client.i b/bindings/wsman-client.i
index c664531c735d..c7e1e43668ce 100644
--- a/bindings/wsman-client.i
+++ b/bindings/wsman-client.i
@@ -92,6 +92,7 @@ typedef struct _WsManClient {
     return wsmc_get_response_code( $self );
   }
 
+  %newobject scheme;
   /*
    * String representation of the transport scheme
    *
@@ -103,6 +104,7 @@ typedef struct _WsManClient {
     return wsmc_get_scheme( $self );
   }
 
+  %newobject host;
   /*
    * The host part of the client URL
    *
@@ -119,6 +121,7 @@ typedef struct _WsManClient {
     return wsmc_get_port( $self );
   }
 
+  %newobject path;
   /*
    * The path of the clien URL
    *
@@ -127,6 +130,7 @@ typedef struct _WsManClient {
     return wsmc_get_path( $self );
   }
 
+  %newobject user;
   /*
    * The user name used for authentication
    *
@@ -135,6 +139,7 @@ typedef struct _WsManClient {
     return wsmc_get_user( $self );
   }
 
+  %newobject password;
   /*
    * The password used for authentication
    *
-- 
2.1.4

openSUSE Build Service is sponsored by