openwsman 2.3.2 → 2.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ext/openwsman/openwsman_wrap.c +736 -767
- data/ext/ruby/helpers.h +57 -23
- data/lib/openwsman/openwsman.rb +4 -2
- metadata +87 -54
@@ -1,6 +1,6 @@
|
|
1
1
|
/* ----------------------------------------------------------------------------
|
2
2
|
* This file was automatically generated by SWIG (http://www.swig.org).
|
3
|
-
* Version 2.0.
|
3
|
+
* Version 2.0.6
|
4
4
|
*
|
5
5
|
* This file is not intended to be easily readable and contains a number of
|
6
6
|
* coding conventions designed to improve portability and efficiency. Do not make
|
@@ -1528,7 +1528,7 @@ SWIG_Ruby_NewPointerObj(void *ptr, swig_type_info *type, int flags)
|
|
1528
1528
|
downcast methods. */
|
1529
1529
|
if (obj != Qnil) {
|
1530
1530
|
VALUE value = rb_iv_get(obj, "@__swigtype__");
|
1531
|
-
char* type_name = RSTRING_PTR(value);
|
1531
|
+
const char* type_name = RSTRING_PTR(value);
|
1532
1532
|
|
1533
1533
|
if (strcmp(type->name, type_name) == 0) {
|
1534
1534
|
return obj;
|
@@ -1817,12 +1817,11 @@ int SWIG_Ruby_arity( VALUE proc, int minimal )
|
|
1817
1817
|
#define SWIGTYPE_p_client_opt_t swig_types[22]
|
1818
1818
|
#define SWIGTYPE_p_epr_t swig_types[23]
|
1819
1819
|
#define SWIGTYPE_p_filter_t swig_types[24]
|
1820
|
-
#define
|
1821
|
-
#define
|
1822
|
-
#define
|
1823
|
-
|
1824
|
-
static
|
1825
|
-
static swig_module_info swig_module = {swig_types, 29, 0, 0, 0, 0};
|
1820
|
+
#define SWIGTYPE_p_void swig_types[25]
|
1821
|
+
#define SWIGTYPE_p_wsman_auth_request_func_t swig_types[26]
|
1822
|
+
#define SWIGTYPE_p_wsman_auth_type_t swig_types[27]
|
1823
|
+
static swig_type_info *swig_types[29];
|
1824
|
+
static swig_module_info swig_module = {swig_types, 28, 0, 0, 0, 0};
|
1826
1825
|
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
|
1827
1826
|
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
|
1828
1827
|
|
@@ -1837,7 +1836,7 @@ static VALUE mOpenwsman;
|
|
1837
1836
|
#define SWIG_RUBY_THREAD_END_BLOCK
|
1838
1837
|
|
1839
1838
|
|
1840
|
-
#define SWIGVERSION
|
1839
|
+
#define SWIGVERSION 0x020006
|
1841
1840
|
#define SWIG_VERSION SWIGVERSION
|
1842
1841
|
|
1843
1842
|
|
@@ -1977,6 +1976,8 @@ static const char *uri_prefix(const char *classname) {
|
|
1977
1976
|
{ 3, "AMT", "http://intel.com/wbem/wscim/1/amt-schema/1" },
|
1978
1977
|
/* Intel */
|
1979
1978
|
{ 3, "IPS", "http://intel.com/wbem/wscim/1/ips-schema/1" },
|
1979
|
+
/* Sun */
|
1980
|
+
{ 3, "Sun","http://schemas.sun.com/wbem/wscim/1/cim-schema/2" },
|
1980
1981
|
{ 0, NULL, NULL }
|
1981
1982
|
};
|
1982
1983
|
const char *schema_end;
|
@@ -1984,6 +1985,13 @@ static const char *uri_prefix(const char *classname) {
|
|
1984
1985
|
int len;
|
1985
1986
|
if (classname == NULL)
|
1986
1987
|
return NULL;
|
1988
|
+
if (strcmp(classname, "*") == 0) {
|
1989
|
+
return "http://schemas.dmtf.org/wbem/wscim/1";
|
1990
|
+
}
|
1991
|
+
if ((strcmp(classname, "meta_class") == 0)
|
1992
|
+
||(strncmp(classname, "__", 2) == 0)) {
|
1993
|
+
return "http://schemas.microsoft.com/wbem/wsman/1/wmi";
|
1994
|
+
}
|
1987
1995
|
schema_end = strchr(classname, '_');
|
1988
1996
|
if (schema_end == NULL)
|
1989
1997
|
return NULL; /* Bad class name */
|
@@ -1991,7 +1999,7 @@ static const char *uri_prefix(const char *classname) {
|
|
1991
1999
|
map = mapping;
|
1992
2000
|
while (map->len > 0) {
|
1993
2001
|
if ((len == map->len)
|
1994
|
-
&& (
|
2002
|
+
&& (strncasecmp(classname, map->schema, map->len) == 0)) {
|
1995
2003
|
return map->prefix;
|
1996
2004
|
}
|
1997
2005
|
++map;
|
@@ -1999,10 +2007,9 @@ static const char *uri_prefix(const char *classname) {
|
|
1999
2007
|
return NULL;
|
2000
2008
|
}
|
2001
2009
|
|
2002
|
-
|
2010
|
+
#if defined(SWIGRUBY)
|
2003
2011
|
static epr_t *my_epr_deserialize(WsXmlNodeH node);
|
2004
2012
|
static epr_t *my_epr_deserialize(WsXmlNodeH node) {
|
2005
|
-
fprintf(stderr, "my_epr_deserialize(%s)\n", ws_xml_get_node_local_name(node));
|
2006
2013
|
if (strcmp(WSA_EPR, ws_xml_get_node_local_name(node)) == 0) {
|
2007
2014
|
/* Use node as-is if its already a WSA_EPR */
|
2008
2015
|
return epr_deserialize(node, NULL, NULL, 1);
|
@@ -2010,7 +2017,7 @@ static epr_t *my_epr_deserialize(WsXmlNodeH node) {
|
|
2010
2017
|
/* else search the WSA_EPR node */
|
2011
2018
|
return epr_deserialize(node, XML_NS_ADDRESSING, WSA_EPR, 1);
|
2012
2019
|
}
|
2013
|
-
|
2020
|
+
#endif
|
2014
2021
|
|
2015
2022
|
static char *epr_prefix(const char *uri);
|
2016
2023
|
/* Get prefix from a EPR uri */
|
@@ -2135,7 +2142,8 @@ SWIGINTERN struct _WsXmlDoc *new__WsXmlDoc(char const *name,char const *ns){
|
|
2135
2142
|
SWIGINTERN char *_WsXmlDoc_string(struct _WsXmlDoc *self){
|
2136
2143
|
int size;
|
2137
2144
|
char *buf;
|
2138
|
-
|
2145
|
+
/* force utf-8 encoding since e.g. winrm sends utf-16 */
|
2146
|
+
ws_xml_dump_memory_node_tree_enc( ws_xml_get_doc_root(self), &buf, &size, "UTF-8" );
|
2139
2147
|
return buf;
|
2140
2148
|
}
|
2141
2149
|
SWIGINTERN char *_WsXmlDoc_encode(struct _WsXmlDoc *self,char const *encoding){
|
@@ -2163,7 +2171,13 @@ SWIGINTERN WsXmlNodeH _WsXmlDoc_element(struct _WsXmlDoc *self,char const *name)
|
|
2163
2171
|
return ws_xml_get_soap_element( self, name );
|
2164
2172
|
}
|
2165
2173
|
SWIGINTERN char const *_WsXmlDoc_context(struct _WsXmlDoc *self){
|
2166
|
-
|
2174
|
+
char *c = wsmc_get_enum_context( self );
|
2175
|
+
if (c) {
|
2176
|
+
if (*c)
|
2177
|
+
return c;
|
2178
|
+
u_free(c);
|
2179
|
+
}
|
2180
|
+
return NULL;
|
2167
2181
|
}
|
2168
2182
|
SWIGINTERN WsXmlDocH _WsXmlDoc_generate_fault(struct _WsXmlDoc *self,WsmanStatus *s){
|
2169
2183
|
return wsman_generate_fault( self, s->fault_code, s->fault_detail_code, s->fault_msg);
|
@@ -2236,7 +2250,7 @@ SWIG_ruby_failed(void)
|
|
2236
2250
|
}
|
2237
2251
|
|
2238
2252
|
|
2239
|
-
/*@SWIG:/usr/share/swig/2.0.
|
2253
|
+
/*@SWIG:/usr/share/swig/2.0.6/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
|
2240
2254
|
SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
|
2241
2255
|
{
|
2242
2256
|
VALUE obj = args[0];
|
@@ -2382,19 +2396,19 @@ SWIGINTERN void __WsXmlAttr_remove(struct __WsXmlAttr *self){
|
|
2382
2396
|
ws_xml_remove_node_attr( self );
|
2383
2397
|
}
|
2384
2398
|
SWIGINTERN epr_t *new_epr_t(VALUE uri,VALUE address,VALUE selectors){
|
2385
|
-
|
2386
|
-
|
2387
|
-
if (!NIL_P(address)) {
|
2399
|
+
KLASS_DECL(SwigClassXmlNode,SWIGTYPE_p___WsXmlNode);
|
2400
|
+
KLASS_DECL(SwigClassXmlDoc,SWIGTYPE_p__WsXmlDoc);
|
2401
|
+
if (!NIL_P(address) || !NIL_P(selectors)) {
|
2388
2402
|
const char *uri_s = as_string(uri);
|
2389
|
-
const char *address_s = as_string(
|
2390
|
-
return epr_create(uri_s, value2hash(NULL,selectors), address_s);
|
2403
|
+
const char *address_s = as_string(address);
|
2404
|
+
return epr_create(uri_s, value2hash(NULL,selectors,1), address_s);
|
2391
2405
|
}
|
2392
|
-
else if (CLASS_OF(uri) == SwigClassXmlNode
|
2406
|
+
else if (CLASS_OF(uri) == KLASS_OF(SwigClassXmlNode)) {
|
2393
2407
|
WsXmlNodeH node;
|
2394
2408
|
SWIG_ConvertPtr(uri, (void **)&node, SWIGTYPE_p___WsXmlNode, 0);
|
2395
2409
|
return my_epr_deserialize(node);
|
2396
2410
|
}
|
2397
|
-
else if (CLASS_OF(uri) == SwigClassXmlDoc
|
2411
|
+
else if (CLASS_OF(uri) == KLASS_OF(SwigClassXmlDoc)) {
|
2398
2412
|
WsXmlDocH doc;
|
2399
2413
|
WsXmlNodeH node;
|
2400
2414
|
SWIG_ConvertPtr(uri, (void **)&doc, SWIGTYPE_p__WsXmlDoc, 0);
|
@@ -2417,7 +2431,6 @@ SWIGINTERN int epr_t_serialize(epr_t *self,WsXmlNodeH node,char const *ns,char c
|
|
2417
2431
|
return epr_serialize(node, ns, epr_node_name, self, embedded);
|
2418
2432
|
}
|
2419
2433
|
SWIGINTERN int epr_t_cmp(epr_t *self,epr_t *epr2){
|
2420
|
-
fprintf(stderr, "%p.cmp(%p)\n", self, epr2);
|
2421
2434
|
return epr_cmp(self, epr2);
|
2422
2435
|
}
|
2423
2436
|
SWIGINTERN char *epr_t_to_xml(epr_t *self,char const *ns,char const *epr_node_name){
|
@@ -2437,6 +2450,10 @@ SWIGINTERN char *epr_t_selector(epr_t *self,VALUE v){
|
|
2437
2450
|
|
2438
2451
|
|
2439
2452
|
|
2453
|
+
|
2454
|
+
|
2455
|
+
|
2456
|
+
|
2440
2457
|
return wsman_epr_selector_by_name(self, name);
|
2441
2458
|
}
|
2442
2459
|
SWIGINTERN VALUE epr_t_selector_names(epr_t *self){
|
@@ -2507,11 +2524,11 @@ SWIGINTERN char *epr_t_prefix(epr_t *self){
|
|
2507
2524
|
SWIGINTERN filter_t *new_filter_t(){
|
2508
2525
|
return filter_initialize();
|
2509
2526
|
}
|
2510
|
-
SWIGINTERN int filter_t_associators(filter_t *self,
|
2511
|
-
return
|
2527
|
+
SWIGINTERN int filter_t_associators(filter_t *self,VALUE epr_v,VALUE assocClass_v,VALUE resultClass_v,VALUE role_v,VALUE resultRole_v,VALUE resultProp_v,VALUE propNum_v){
|
2528
|
+
return associators_references( self, 0, epr_v, assocClass_v, resultClass_v, role_v, resultRole_v, resultProp_v, propNum_v);
|
2512
2529
|
}
|
2513
|
-
SWIGINTERN int filter_t_references(filter_t *self,
|
2514
|
-
return
|
2530
|
+
SWIGINTERN int filter_t_references(filter_t *self,VALUE epr_v,VALUE assocClass_v,VALUE resultClass_v,VALUE role_v,VALUE resultRole_v,VALUE resultProp_v,VALUE propNum_v){
|
2531
|
+
return associators_references( self, 1, epr_v, assocClass_v, resultClass_v, role_v, resultRole_v, resultProp_v, propNum_v);
|
2515
2532
|
}
|
2516
2533
|
SWIGINTERN int filter_t_simple(filter_t *self,char const *dialect,char const *query){
|
2517
2534
|
return filter_set_simple(self, dialect, query );
|
@@ -2525,6 +2542,45 @@ SWIGINTERN int filter_t_cql(filter_t *self,char const *query){
|
|
2525
2542
|
SWIGINTERN int filter_t_wql(filter_t *self,char const *query){
|
2526
2543
|
return filter_set_simple(self, "http://schemas.microsoft.com/wbem/wsman/1/WQL", query );
|
2527
2544
|
}
|
2545
|
+
|
2546
|
+
/*
|
2547
|
+
* Build associators (type == 0) or references (type == 1) filter
|
2548
|
+
*
|
2549
|
+
*/
|
2550
|
+
static int associators_references( void *filter, int type, VALUE epr_v, VALUE assocClass_v, VALUE resultClass_v, VALUE role_v, VALUE resultRole_v, VALUE resultProp_v, VALUE propNum_v)
|
2551
|
+
{
|
2552
|
+
epr_t *epr = NULL;
|
2553
|
+
const char *assocClass = as_string(assocClass_v);
|
2554
|
+
const char *resultClass = as_string(resultClass_v);
|
2555
|
+
const char *role = as_string(role_v);
|
2556
|
+
const char *resultRole = as_string(resultRole_v);
|
2557
|
+
char **resultProp = NULL;
|
2558
|
+
int propNum = 0;
|
2559
|
+
int res;
|
2560
|
+
KLASS_DECL(SwigClassEndPointReference,SWIGTYPE_p_epr_t);
|
2561
|
+
|
2562
|
+
if (CLASS_OF(epr_v) == KLASS_OF(SwigClassEndPointReference)) {
|
2563
|
+
SWIG_ConvertPtr(epr_v, (void **)&epr, SWIGTYPE_p_epr_t, 0);
|
2564
|
+
}
|
2565
|
+
else {
|
2566
|
+
epr = epr_from_string(as_string(epr_v));
|
2567
|
+
}
|
2568
|
+
if (!NIL_P(resultProp_v)) {
|
2569
|
+
int i;
|
2570
|
+
if (TYPE(resultProp_v) != T_ARRAY) {
|
2571
|
+
SWIG_exception( SWIG_ArgError(resultProp_v), Ruby_Format_TypeError( "", "Array", "resultProp", 6, resultProp_v ) );
|
2572
|
+
}
|
2573
|
+
resultProp = (char **)calloc(RARRAY_LEN(resultProp_v), sizeof(char *));
|
2574
|
+
for (i = 0; i < RARRAY_LEN(resultProp_v); ++i) {
|
2575
|
+
resultProp[i] = (char *)as_string(rb_ary_entry(resultProp_v, i));
|
2576
|
+
++propNum;
|
2577
|
+
}
|
2578
|
+
}
|
2579
|
+
res = filter_set_assoc((filter_t *)filter, epr, type, assocClass, resultClass, role, resultRole, resultProp, propNum);
|
2580
|
+
if (resultProp) free(resultProp);
|
2581
|
+
return res;
|
2582
|
+
}
|
2583
|
+
|
2528
2584
|
SWIGINTERN int __WsEnumerateInfo_max_items(struct __WsEnumerateInfo *self){ return self->maxItems; }
|
2529
2585
|
SWIGINTERN void __WsEnumerateInfo_set_max_items(struct __WsEnumerateInfo *self,int mi){ self->maxItems = mi; }
|
2530
2586
|
SWIGINTERN int __WsEnumerateInfo_flags(struct __WsEnumerateInfo *self){
|
@@ -2616,7 +2672,7 @@ SWIGINTERN struct __Soap *_WS_CONTEXT_runtime(struct _WS_CONTEXT *self){
|
|
2616
2672
|
return ws_context_get_runtime(self);
|
2617
2673
|
}
|
2618
2674
|
|
2619
|
-
/*@SWIG:/usr/share/swig/2.0.
|
2675
|
+
/*@SWIG:/usr/share/swig/2.0.6/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
|
2620
2676
|
SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE *args)
|
2621
2677
|
{
|
2622
2678
|
VALUE obj = args[0];
|
@@ -2687,7 +2743,10 @@ SWIGINTERN char const *_WS_CONTEXT_option_set(struct _WS_CONTEXT *self,WsXmlDocH
|
|
2687
2743
|
return wsman_get_option_set(self, doc, op);
|
2688
2744
|
}
|
2689
2745
|
SWIGINTERN int _WS_CONTEXT_parse_enum_request(struct _WS_CONTEXT *self,WsEnumerateInfo *enumInfo){
|
2690
|
-
|
2746
|
+
WsmanStatus status;
|
2747
|
+
wsman_status_init(&status);
|
2748
|
+
return wsman_parse_enum_request( self, enumInfo, &status);
|
2749
|
+
/* FIXME: return status */
|
2691
2750
|
}
|
2692
2751
|
SWIGINTERN struct _WsmanStatus *new__WsmanStatus(int code,int detail,char const *msg){
|
2693
2752
|
WsmanStatus *s = (WsmanStatus *)malloc(sizeof(WsmanStatus));
|
@@ -2760,61 +2819,61 @@ SWIGINTERN char const *_WsManFault_reason(struct _WsManFault *self){
|
|
2760
2819
|
SWIGINTERN char const *_WsManFault_detail(struct _WsManFault *self){
|
2761
2820
|
return self->fault_detail;
|
2762
2821
|
}
|
2763
|
-
SWIGINTERN int
|
2822
|
+
SWIGINTERN int _WsManTransport_is_auth_method(struct _WsManTransport *self,int method){
|
2764
2823
|
return wsman_is_auth_method((WsManClient *)self, method);
|
2765
2824
|
}
|
2766
|
-
SWIGINTERN void
|
2825
|
+
SWIGINTERN void _WsManTransport_close(struct _WsManTransport *self){
|
2767
2826
|
wsman_transport_close_transport((WsManClient *)self);
|
2768
2827
|
}
|
2769
|
-
SWIGINTERN void
|
2828
|
+
SWIGINTERN void _WsManTransport_set_agent(struct _WsManTransport *self,char const *agent){
|
2770
2829
|
wsman_transport_set_agent((WsManClient *)self, agent);
|
2771
2830
|
}
|
2772
|
-
SWIGINTERN char *
|
2831
|
+
SWIGINTERN char *_WsManTransport_agent(struct _WsManTransport *self){
|
2773
2832
|
return wsman_transport_get_agent ((WsManClient *)self);
|
2774
2833
|
}
|
2775
|
-
SWIGINTERN char *
|
2834
|
+
SWIGINTERN char *_WsManTransport_get_username(struct _WsManTransport *self){
|
2776
2835
|
return wsman_transport_get_userName((WsManClient *)self);
|
2777
2836
|
}
|
2778
|
-
SWIGINTERN void
|
2837
|
+
SWIGINTERN void _WsManTransport_set_username(struct _WsManTransport *self,char *user_name){
|
2779
2838
|
wsman_transport_set_userName((WsManClient *)self, user_name);
|
2780
2839
|
}
|
2781
|
-
SWIGINTERN char *
|
2840
|
+
SWIGINTERN char *_WsManTransport_get_password(struct _WsManTransport *self){
|
2782
2841
|
return wsman_transport_get_password((WsManClient *)self);
|
2783
2842
|
}
|
2784
|
-
SWIGINTERN void
|
2843
|
+
SWIGINTERN void _WsManTransport_set_password(struct _WsManTransport *self,char *password){
|
2785
2844
|
wsman_transport_set_password((WsManClient *)self, password);
|
2786
2845
|
}
|
2787
|
-
SWIGINTERN char *
|
2846
|
+
SWIGINTERN char *_WsManTransport_get_proxy_username(struct _WsManTransport *self){
|
2788
2847
|
return wsman_transport_get_proxy_username((WsManClient *)self );
|
2789
2848
|
}
|
2790
|
-
SWIGINTERN void
|
2849
|
+
SWIGINTERN void _WsManTransport_set_proxy_username(struct _WsManTransport *self,char *proxy_username){
|
2791
2850
|
wsman_transport_set_proxy_username((WsManClient *)self, proxy_username );
|
2792
2851
|
}
|
2793
|
-
SWIGINTERN char *
|
2852
|
+
SWIGINTERN char *_WsManTransport_get_proxy_password(struct _WsManTransport *self){
|
2794
2853
|
return wsman_transport_get_proxy_password((WsManClient *)self );
|
2795
2854
|
}
|
2796
|
-
SWIGINTERN void
|
2855
|
+
SWIGINTERN void _WsManTransport_set_proxy_password(struct _WsManTransport *self,char *proxy_password){
|
2797
2856
|
wsman_transport_set_proxy_password((WsManClient *)self, proxy_password );
|
2798
2857
|
}
|
2799
|
-
SWIGINTERN void
|
2858
|
+
SWIGINTERN void _WsManTransport_set_auth_method(struct _WsManTransport *self,char const *am){
|
2800
2859
|
wsman_transport_set_auth_method((WsManClient *)self, am);
|
2801
2860
|
}
|
2802
|
-
SWIGINTERN char *
|
2861
|
+
SWIGINTERN char *_WsManTransport_auth_method(struct _WsManTransport *self){
|
2803
2862
|
return wsman_transport_get_auth_method ((WsManClient *)self);
|
2804
2863
|
}
|
2805
|
-
SWIGINTERN char const *
|
2864
|
+
SWIGINTERN char const *_WsManTransport_auth_name(int auth){
|
2806
2865
|
return wsmc_transport_get_auth_name(auth);
|
2807
2866
|
}
|
2808
|
-
SWIGINTERN int
|
2867
|
+
SWIGINTERN int _WsManTransport_auth_value(struct _WsManTransport *self){
|
2809
2868
|
return wsmc_transport_get_auth_value((WsManClient *)self);
|
2810
2869
|
}
|
2811
|
-
SWIGINTERN char *
|
2870
|
+
SWIGINTERN char *_WsManTransport_error_string(int err){
|
2812
2871
|
return wsman_transport_get_last_error_string(err);
|
2813
2872
|
}
|
2814
|
-
SWIGINTERN void
|
2873
|
+
SWIGINTERN void _WsManTransport_set_timeout(struct _WsManTransport *self,unsigned long timeout){
|
2815
2874
|
wsman_transport_set_timeout((WsManClient *)self, timeout);
|
2816
2875
|
}
|
2817
|
-
SWIGINTERN unsigned long
|
2876
|
+
SWIGINTERN unsigned long _WsManTransport_timeout(struct _WsManTransport *self){
|
2818
2877
|
return wsman_transport_get_timeout((WsManClient *)self);
|
2819
2878
|
}
|
2820
2879
|
|
@@ -2833,10 +2892,10 @@ SWIG_AsVal_unsigned_SS_int (VALUE obj, unsigned int *val)
|
|
2833
2892
|
return res;
|
2834
2893
|
}
|
2835
2894
|
|
2836
|
-
SWIGINTERN void
|
2895
|
+
SWIGINTERN void _WsManTransport_set_verify_peer(struct _WsManTransport *self,unsigned int value){
|
2837
2896
|
wsman_transport_set_verify_peer((WsManClient *)self, value);
|
2838
2897
|
}
|
2839
|
-
SWIGINTERN unsigned int
|
2898
|
+
SWIGINTERN unsigned int _WsManTransport_verify_peer(struct _WsManTransport *self){
|
2840
2899
|
return wsman_transport_get_verify_peer((WsManClient *)self);
|
2841
2900
|
}
|
2842
2901
|
|
@@ -2846,58 +2905,58 @@ SWIG_From_unsigned_SS_int (unsigned int value)
|
|
2846
2905
|
return SWIG_From_unsigned_SS_long (value);
|
2847
2906
|
}
|
2848
2907
|
|
2849
|
-
SWIGINTERN void
|
2908
|
+
SWIGINTERN void _WsManTransport_set_verify_host(struct _WsManTransport *self,unsigned int value){
|
2850
2909
|
wsman_transport_set_verify_host((WsManClient *)self, value);
|
2851
2910
|
}
|
2852
|
-
SWIGINTERN unsigned int
|
2911
|
+
SWIGINTERN unsigned int _WsManTransport_verify_host(struct _WsManTransport *self){
|
2853
2912
|
return wsman_transport_get_verify_host((WsManClient *)self);
|
2854
2913
|
}
|
2855
|
-
SWIGINTERN void
|
2914
|
+
SWIGINTERN void _WsManTransport_set_proxy(struct _WsManTransport *self,char const *proxy){
|
2856
2915
|
wsman_transport_set_proxy((WsManClient *)self, proxy);
|
2857
2916
|
}
|
2858
|
-
SWIGINTERN char *
|
2917
|
+
SWIGINTERN char *_WsManTransport_proxy(struct _WsManTransport *self){
|
2859
2918
|
return wsman_transport_get_proxy((WsManClient *)self);
|
2860
2919
|
}
|
2861
|
-
SWIGINTERN void
|
2920
|
+
SWIGINTERN void _WsManTransport_set_proxyauth(struct _WsManTransport *self,char const *pauth){
|
2862
2921
|
wsman_transport_set_proxyauth((WsManClient *)self, pauth);
|
2863
2922
|
}
|
2864
|
-
SWIGINTERN char *
|
2923
|
+
SWIGINTERN char *_WsManTransport_proxyauth(struct _WsManTransport *self){
|
2865
2924
|
return wsman_transport_get_proxyauth((WsManClient *)self);
|
2866
2925
|
}
|
2867
|
-
SWIGINTERN void
|
2926
|
+
SWIGINTERN void _WsManTransport_set_cainfo(struct _WsManTransport *self,char const *cainfo){
|
2868
2927
|
wsman_transport_set_cainfo((WsManClient *)self, cainfo);
|
2869
2928
|
}
|
2870
|
-
SWIGINTERN char *
|
2929
|
+
SWIGINTERN char *_WsManTransport_cainfo(struct _WsManTransport *self){
|
2871
2930
|
return wsman_transport_get_cainfo((WsManClient *)self);
|
2872
2931
|
}
|
2873
|
-
SWIGINTERN void
|
2932
|
+
SWIGINTERN void _WsManTransport_set_certhumbprint(struct _WsManTransport *self,char const *arg){
|
2874
2933
|
wsman_transport_set_certhumbprint((WsManClient *)self, arg);
|
2875
2934
|
}
|
2876
|
-
SWIGINTERN char *
|
2935
|
+
SWIGINTERN char *_WsManTransport_certhumbprint(struct _WsManTransport *self){
|
2877
2936
|
return wsman_transport_get_certhumbprint((WsManClient *)self);
|
2878
2937
|
}
|
2879
|
-
SWIGINTERN void
|
2938
|
+
SWIGINTERN void _WsManTransport_set_capath(struct _WsManTransport *self,char const *capath){
|
2880
2939
|
wsman_transport_set_capath((WsManClient *)self, capath);
|
2881
2940
|
}
|
2882
|
-
SWIGINTERN char *
|
2941
|
+
SWIGINTERN char *_WsManTransport_capath(struct _WsManTransport *self){
|
2883
2942
|
return wsman_transport_get_capath((WsManClient *)self);
|
2884
2943
|
}
|
2885
|
-
SWIGINTERN void
|
2944
|
+
SWIGINTERN void _WsManTransport_set_caoid(struct _WsManTransport *self,char const *oid){
|
2886
2945
|
wsman_transport_set_caoid((WsManClient *)self, oid);
|
2887
2946
|
}
|
2888
|
-
SWIGINTERN char *
|
2947
|
+
SWIGINTERN char *_WsManTransport_caoid(struct _WsManTransport *self){
|
2889
2948
|
return wsman_transport_get_caoid((WsManClient *)self);
|
2890
2949
|
}
|
2891
|
-
SWIGINTERN void
|
2950
|
+
SWIGINTERN void _WsManTransport_set_cert(struct _WsManTransport *self,char const *cert){
|
2892
2951
|
wsman_transport_set_cert((WsManClient *)self, cert);
|
2893
2952
|
}
|
2894
|
-
SWIGINTERN char *
|
2953
|
+
SWIGINTERN char *_WsManTransport_cert(struct _WsManTransport *self){
|
2895
2954
|
return wsman_transport_get_cert((WsManClient *)self);
|
2896
2955
|
}
|
2897
|
-
SWIGINTERN void
|
2956
|
+
SWIGINTERN void _WsManTransport_set_key(struct _WsManTransport *self,char const *key){
|
2898
2957
|
wsman_transport_set_key((WsManClient *)self, key);
|
2899
2958
|
}
|
2900
|
-
SWIGINTERN char *
|
2959
|
+
SWIGINTERN char *_WsManTransport_key(struct _WsManTransport *self){
|
2901
2960
|
return wsman_transport_get_key((WsManClient *)self);
|
2902
2961
|
}
|
2903
2962
|
SWIGINTERN client_opt_t *new_client_opt_t(){
|
@@ -2978,7 +3037,7 @@ SWIGINTERN void client_opt_t_add_selector(client_opt_t *self,VALUE k,VALUE v){
|
|
2978
3037
|
wsmc_add_selector(self, key, value);
|
2979
3038
|
}
|
2980
3039
|
SWIGINTERN void client_opt_t_set_selectors(client_opt_t *self,VALUE hash){
|
2981
|
-
self->selectors = value2hash(NULL, hash);
|
3040
|
+
self->selectors = value2hash(NULL, hash, 0);
|
2982
3041
|
}
|
2983
3042
|
SWIGINTERN void client_opt_t_add_property(client_opt_t *self,VALUE k,VALUE v){
|
2984
3043
|
const char *key = as_string(k);
|
@@ -2994,7 +3053,7 @@ SWIGINTERN void client_opt_t_add_property(client_opt_t *self,VALUE k,VALUE v){
|
|
2994
3053
|
wsmc_add_property(self, key, value);
|
2995
3054
|
}
|
2996
3055
|
SWIGINTERN void client_opt_t_set_properties(client_opt_t *self,VALUE hash){
|
2997
|
-
self->properties = value2hash(NULL, hash);
|
3056
|
+
self->properties = value2hash(NULL, hash, 0);
|
2998
3057
|
}
|
2999
3058
|
SWIGINTERN void client_opt_t_set_delivery_uri(client_opt_t *self,char const *delivery_uri){
|
3000
3059
|
wsmc_set_delivery_uri(delivery_uri, self);
|
@@ -3039,64 +3098,64 @@ SWIGINTERN void client_opt_t_set_delivery_security_mode(client_opt_t *self,unsig
|
|
3039
3098
|
SWIGINTERN int client_opt_t_delivery_sec_mode(client_opt_t *self){
|
3040
3099
|
return self->delivery_sec_mode;
|
3041
3100
|
}
|
3042
|
-
SWIGINTERN
|
3101
|
+
SWIGINTERN struct _WsManClient *new__WsManClient__SWIG_0(char const *uri){
|
3043
3102
|
return wsmc_create_from_uri( uri );
|
3044
3103
|
}
|
3045
|
-
SWIGINTERN
|
3104
|
+
SWIGINTERN struct _WsManClient *new__WsManClient__SWIG_1(char const *hostname,int const port,char const *path,char const *scheme,char const *username,char const *password){
|
3046
3105
|
return wsmc_create( hostname, port, path, scheme, username, password );
|
3047
3106
|
}
|
3048
|
-
SWIGINTERN void
|
3107
|
+
SWIGINTERN void _WsManClient_set_dumpfile(struct _WsManClient *self,FILE *f){
|
3049
3108
|
wsmc_set_dumpfile( self, f );
|
3050
3109
|
}
|
3051
|
-
SWIGINTERN long
|
3110
|
+
SWIGINTERN long _WsManClient_response_code(struct _WsManClient *self){
|
3052
3111
|
return wsmc_get_response_code( self );
|
3053
3112
|
}
|
3054
|
-
SWIGINTERN char *
|
3113
|
+
SWIGINTERN char *_WsManClient_scheme(struct _WsManClient *self){
|
3055
3114
|
return wsmc_get_scheme( self );
|
3056
3115
|
}
|
3057
|
-
SWIGINTERN char *
|
3116
|
+
SWIGINTERN char *_WsManClient_host(struct _WsManClient *self){
|
3058
3117
|
return wsmc_get_hostname( self );
|
3059
3118
|
}
|
3060
|
-
SWIGINTERN int
|
3119
|
+
SWIGINTERN int _WsManClient_port(struct _WsManClient *self){
|
3061
3120
|
return wsmc_get_port( self );
|
3062
3121
|
}
|
3063
|
-
SWIGINTERN char *
|
3122
|
+
SWIGINTERN char *_WsManClient_path(struct _WsManClient *self){
|
3064
3123
|
return wsmc_get_path( self );
|
3065
3124
|
}
|
3066
|
-
SWIGINTERN char *
|
3125
|
+
SWIGINTERN char *_WsManClient_user(struct _WsManClient *self){
|
3067
3126
|
return wsmc_get_user( self );
|
3068
3127
|
}
|
3069
|
-
SWIGINTERN char *
|
3128
|
+
SWIGINTERN char *_WsManClient_password(struct _WsManClient *self){
|
3070
3129
|
return wsmc_get_password( self );
|
3071
3130
|
}
|
3072
|
-
SWIGINTERN WsManTransport *
|
3131
|
+
SWIGINTERN WsManTransport *_WsManClient_transport(struct _WsManClient *self){
|
3073
3132
|
wsmc_transport_init(self, NULL);
|
3074
3133
|
wsmc_transport_set_auth_request_func( self, auth_request_callback );
|
3075
3134
|
|
3076
3135
|
return (WsManTransport *)self;
|
3077
3136
|
}
|
3078
|
-
SWIGINTERN int
|
3137
|
+
SWIGINTERN int _WsManClient_send_request(struct _WsManClient *self,WsXmlDocH request){
|
3079
3138
|
return wsman_send_request(self, request);
|
3080
3139
|
}
|
3081
|
-
SWIGINTERN char *
|
3140
|
+
SWIGINTERN char *_WsManClient_encoding(struct _WsManClient *self){
|
3082
3141
|
return wsmc_get_encoding(self);
|
3083
3142
|
}
|
3084
|
-
SWIGINTERN void
|
3143
|
+
SWIGINTERN void _WsManClient_set_encoding(struct _WsManClient *self,char const *encoding){
|
3085
3144
|
wsmc_set_encoding(self, encoding);
|
3086
3145
|
}
|
3087
|
-
SWIGINTERN WsXmlDocH
|
3146
|
+
SWIGINTERN WsXmlDocH _WsManClient_identify(struct _WsManClient *self,client_opt_t *options){
|
3088
3147
|
return wsmc_action_identify( self, options );
|
3089
3148
|
}
|
3090
|
-
SWIGINTERN WsXmlDocH
|
3149
|
+
SWIGINTERN WsXmlDocH _WsManClient_get_from_epr(struct _WsManClient *self,client_opt_t *options,epr_t *epr){
|
3091
3150
|
return wsmc_action_get_from_epr( self, epr, options);
|
3092
3151
|
}
|
3093
|
-
SWIGINTERN WsXmlDocH
|
3152
|
+
SWIGINTERN WsXmlDocH _WsManClient_delete_from_epr(struct _WsManClient *self,client_opt_t *options,epr_t *epr){
|
3094
3153
|
return wsmc_action_delete_from_epr( self, epr, options);
|
3095
3154
|
}
|
3096
|
-
SWIGINTERN WsXmlDocH
|
3155
|
+
SWIGINTERN WsXmlDocH _WsManClient_enumerate(struct _WsManClient *self,client_opt_t *options,filter_t *filter,char *resource_uri){
|
3097
3156
|
return wsmc_action_enumerate( self, resource_uri, options, filter);
|
3098
3157
|
}
|
3099
|
-
SWIGINTERN WsXmlDocH
|
3158
|
+
SWIGINTERN WsXmlDocH _WsManClient_pull(struct _WsManClient *self,client_opt_t *options,filter_t *filter,char *resource_uri,char *enum_ctx){
|
3100
3159
|
return wsmc_action_pull( self, resource_uri, options, filter, enum_ctx);
|
3101
3160
|
}
|
3102
3161
|
|
@@ -3109,37 +3168,37 @@ SWIG_AsVal_size_t (VALUE obj, size_t *val)
|
|
3109
3168
|
return res;
|
3110
3169
|
}
|
3111
3170
|
|
3112
|
-
SWIGINTERN WsXmlDocH
|
3171
|
+
SWIGINTERN WsXmlDocH _WsManClient_create(struct _WsManClient *self,client_opt_t *options,char *resource_uri,char *data,size_t size,char *encoding){
|
3113
3172
|
return wsmc_action_create_fromtext( self, resource_uri, options, data, size, encoding);
|
3114
3173
|
}
|
3115
|
-
SWIGINTERN WsXmlDocH
|
3174
|
+
SWIGINTERN WsXmlDocH _WsManClient_put(struct _WsManClient *self,client_opt_t *options,char *resource_uri,char *data,size_t size,char *encoding){
|
3116
3175
|
return wsmc_action_put_fromtext( self, resource_uri, options, data, size, encoding);
|
3117
3176
|
}
|
3118
|
-
SWIGINTERN WsXmlDocH
|
3177
|
+
SWIGINTERN WsXmlDocH _WsManClient_release(struct _WsManClient *self,client_opt_t *options,char *resource_uri,char *enum_ctx){
|
3119
3178
|
return wsmc_action_release( self, resource_uri, options, enum_ctx);
|
3120
3179
|
}
|
3121
|
-
SWIGINTERN WsXmlDocH
|
3180
|
+
SWIGINTERN WsXmlDocH _WsManClient_get(struct _WsManClient *self,client_opt_t *options,char *resource_uri){
|
3122
3181
|
return wsmc_action_get( self, resource_uri, options);
|
3123
3182
|
}
|
3124
|
-
SWIGINTERN WsXmlDocH
|
3183
|
+
SWIGINTERN WsXmlDocH _WsManClient_delete(struct _WsManClient *self,client_opt_t *options,char *resource_uri){
|
3125
3184
|
return wsmc_action_delete( self, resource_uri, options);
|
3126
3185
|
}
|
3127
|
-
SWIGINTERN WsXmlDocH
|
3186
|
+
SWIGINTERN WsXmlDocH _WsManClient_invoke(struct _WsManClient *self,client_opt_t *options,char *resource_uri,char *method,WsXmlDocH data){
|
3128
3187
|
return wsmc_action_invoke( self, resource_uri, options, method, data);
|
3129
3188
|
}
|
3130
|
-
SWIGINTERN WsXmlDocH
|
3189
|
+
SWIGINTERN WsXmlDocH _WsManClient_subscribe(struct _WsManClient *self,client_opt_t *options,filter_t *filter,char *resource_uri){
|
3131
3190
|
return wsmc_action_subscribe(self, resource_uri, options, filter);
|
3132
3191
|
}
|
3133
|
-
SWIGINTERN WsXmlDocH
|
3192
|
+
SWIGINTERN WsXmlDocH _WsManClient_unsubscribe(struct _WsManClient *self,client_opt_t *options,filter_t *filter,char *resource_uri,char *identifier){
|
3134
3193
|
return wsmc_action_unsubscribe(self, resource_uri, options, identifier);
|
3135
3194
|
}
|
3136
|
-
SWIGINTERN WsXmlDocH
|
3195
|
+
SWIGINTERN WsXmlDocH _WsManClient_renew(struct _WsManClient *self,client_opt_t *options,char *resource_uri,char *identifier){
|
3137
3196
|
return wsmc_action_renew(self, resource_uri, options, identifier);
|
3138
3197
|
}
|
3139
|
-
SWIGINTERN char *
|
3198
|
+
SWIGINTERN char *_WsManClient_fault_string(struct _WsManClient *self){
|
3140
3199
|
return wsmc_get_fault_string(self);
|
3141
3200
|
}
|
3142
|
-
SWIGINTERN int
|
3201
|
+
SWIGINTERN int _WsManClient_last_error(struct _WsManClient *self){
|
3143
3202
|
return wsmc_get_last_error(self);
|
3144
3203
|
}
|
3145
3204
|
|
@@ -3150,7 +3209,7 @@ SWIGINTERN int WsManClient_last_error(WsManClient *self){
|
|
3150
3209
|
|
3151
3210
|
|
3152
3211
|
*/
|
3153
|
-
swig_class SwigClassXmlNs;
|
3212
|
+
static swig_class SwigClassXmlNs;
|
3154
3213
|
|
3155
3214
|
|
3156
3215
|
/*
|
@@ -3160,7 +3219,7 @@ swig_class SwigClassXmlNs;
|
|
3160
3219
|
|
3161
3220
|
|
3162
3221
|
*/
|
3163
|
-
swig_class SwigClassXmlDoc;
|
3222
|
+
static swig_class SwigClassXmlDoc;
|
3164
3223
|
|
3165
3224
|
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
3166
3225
|
SWIGINTERN VALUE
|
@@ -3184,7 +3243,7 @@ _wrap_XmlDoc_allocate(VALUE self) {
|
|
3184
3243
|
Document-method: Openwsman::XmlDoc.new
|
3185
3244
|
|
3186
3245
|
call-seq:
|
3187
|
-
XmlDoc.new(char name, char ns=nil)
|
3246
|
+
XmlDoc.new(char const * name, char const * ns=nil)
|
3188
3247
|
|
3189
3248
|
Class constructor.
|
3190
3249
|
|
@@ -3241,7 +3300,7 @@ free__WsXmlDoc(struct _WsXmlDoc *arg1) {
|
|
3241
3300
|
Document-method: Openwsman::XmlDoc.string
|
3242
3301
|
|
3243
3302
|
call-seq:
|
3244
|
-
string -> char
|
3303
|
+
string -> char *
|
3245
3304
|
|
3246
3305
|
An instance method.
|
3247
3306
|
|
@@ -3276,7 +3335,7 @@ fail:
|
|
3276
3335
|
Document-method: Openwsman::XmlDoc.encode
|
3277
3336
|
|
3278
3337
|
call-seq:
|
3279
|
-
encode(char encoding="utf-8") -> char
|
3338
|
+
encode(char const * encoding="utf-8") -> char *
|
3280
3339
|
|
3281
3340
|
An instance method.
|
3282
3341
|
|
@@ -3324,7 +3383,7 @@ fail:
|
|
3324
3383
|
Document-method: Openwsman::XmlDoc.dump_file
|
3325
3384
|
|
3326
3385
|
call-seq:
|
3327
|
-
dump_file(FILE fp)
|
3386
|
+
dump_file(FILE * fp)
|
3328
3387
|
|
3329
3388
|
An instance method.
|
3330
3389
|
|
@@ -3370,7 +3429,7 @@ fail:
|
|
3370
3429
|
Document-method: Openwsman::XmlDoc.root
|
3371
3430
|
|
3372
3431
|
call-seq:
|
3373
|
-
root ->
|
3432
|
+
root -> XmlNode
|
3374
3433
|
|
3375
3434
|
An instance method.
|
3376
3435
|
|
@@ -3404,7 +3463,7 @@ fail:
|
|
3404
3463
|
Document-method: Openwsman::XmlDoc.envelope
|
3405
3464
|
|
3406
3465
|
call-seq:
|
3407
|
-
envelope ->
|
3466
|
+
envelope -> XmlNode
|
3408
3467
|
|
3409
3468
|
An instance method.
|
3410
3469
|
|
@@ -3438,7 +3497,7 @@ fail:
|
|
3438
3497
|
Document-method: Openwsman::XmlDoc.header
|
3439
3498
|
|
3440
3499
|
call-seq:
|
3441
|
-
header ->
|
3500
|
+
header -> XmlNode
|
3442
3501
|
|
3443
3502
|
An instance method.
|
3444
3503
|
|
@@ -3472,7 +3531,7 @@ fail:
|
|
3472
3531
|
Document-method: Openwsman::XmlDoc.body
|
3473
3532
|
|
3474
3533
|
call-seq:
|
3475
|
-
body ->
|
3534
|
+
body -> XmlNode
|
3476
3535
|
|
3477
3536
|
An instance method.
|
3478
3537
|
|
@@ -3506,7 +3565,7 @@ fail:
|
|
3506
3565
|
Document-method: Openwsman::XmlDoc.element
|
3507
3566
|
|
3508
3567
|
call-seq:
|
3509
|
-
element(char name) ->
|
3568
|
+
element(char const * name) -> XmlNode
|
3510
3569
|
|
3511
3570
|
An instance method.
|
3512
3571
|
|
@@ -3551,7 +3610,7 @@ fail:
|
|
3551
3610
|
Document-method: Openwsman::XmlDoc.context
|
3552
3611
|
|
3553
3612
|
call-seq:
|
3554
|
-
context -> char
|
3613
|
+
context -> char const *
|
3555
3614
|
|
3556
3615
|
An instance method.
|
3557
3616
|
|
@@ -3574,6 +3633,7 @@ _wrap_XmlDoc_context(int argc, VALUE *argv, VALUE self) {
|
|
3574
3633
|
arg1 = (struct _WsXmlDoc *)(argp1);
|
3575
3634
|
result = (char *)_WsXmlDoc_context(arg1);
|
3576
3635
|
vresult = SWIG_FromCharPtr((const char *)result);
|
3636
|
+
free(result);
|
3577
3637
|
return vresult;
|
3578
3638
|
fail:
|
3579
3639
|
return Qnil;
|
@@ -3585,7 +3645,7 @@ fail:
|
|
3585
3645
|
Document-method: Openwsman::XmlDoc.generate_fault
|
3586
3646
|
|
3587
3647
|
call-seq:
|
3588
|
-
generate_fault(
|
3648
|
+
generate_fault(Status s) -> XmlDoc
|
3589
3649
|
|
3590
3650
|
An instance method.
|
3591
3651
|
|
@@ -3661,7 +3721,7 @@ fail:
|
|
3661
3721
|
Document-method: Openwsman::XmlDoc.fault
|
3662
3722
|
|
3663
3723
|
call-seq:
|
3664
|
-
fault ->
|
3724
|
+
fault -> Fault
|
3665
3725
|
|
3666
3726
|
An instance method.
|
3667
3727
|
|
@@ -3695,7 +3755,7 @@ fail:
|
|
3695
3755
|
Document-method: Openwsman::XmlDoc.create_response_envelope
|
3696
3756
|
|
3697
3757
|
call-seq:
|
3698
|
-
create_response_envelope(char action=nil) ->
|
3758
|
+
create_response_envelope(char const * action=nil) -> XmlDoc
|
3699
3759
|
|
3700
3760
|
An instance method.
|
3701
3761
|
|
@@ -3779,7 +3839,7 @@ fail:
|
|
3779
3839
|
|
3780
3840
|
|
3781
3841
|
*/
|
3782
|
-
swig_class SwigClassXmlNode;
|
3842
|
+
static swig_class SwigClassXmlNode;
|
3783
3843
|
|
3784
3844
|
SWIGINTERN void delete___WsXmlNode(struct __WsXmlNode *self){
|
3785
3845
|
ws_xml_unlink_node(self);
|
@@ -3794,7 +3854,7 @@ free___WsXmlNode(struct __WsXmlNode *arg1) {
|
|
3794
3854
|
Document-method: Openwsman::XmlNode.string
|
3795
3855
|
|
3796
3856
|
call-seq:
|
3797
|
-
string -> char
|
3857
|
+
string -> char *
|
3798
3858
|
|
3799
3859
|
An instance method.
|
3800
3860
|
|
@@ -3829,7 +3889,7 @@ fail:
|
|
3829
3889
|
Document-method: Openwsman::XmlNode.dump_file
|
3830
3890
|
|
3831
3891
|
call-seq:
|
3832
|
-
dump_file(FILE fp)
|
3892
|
+
dump_file(FILE * fp)
|
3833
3893
|
|
3834
3894
|
An instance method.
|
3835
3895
|
|
@@ -3875,7 +3935,7 @@ fail:
|
|
3875
3935
|
Document-method: Openwsman::XmlNode.equal
|
3876
3936
|
|
3877
3937
|
call-seq:
|
3878
|
-
equal(
|
3938
|
+
equal(XmlNode n) -> int
|
3879
3939
|
|
3880
3940
|
An instance method.
|
3881
3941
|
|
@@ -3917,7 +3977,7 @@ fail:
|
|
3917
3977
|
Document-method: Openwsman::XmlNode.text
|
3918
3978
|
|
3919
3979
|
call-seq:
|
3920
|
-
text -> char
|
3980
|
+
text -> char *
|
3921
3981
|
|
3922
3982
|
An instance method.
|
3923
3983
|
|
@@ -3951,7 +4011,7 @@ fail:
|
|
3951
4011
|
Document-method: Openwsman::XmlNode.text=
|
3952
4012
|
|
3953
4013
|
call-seq:
|
3954
|
-
text=(char text)
|
4014
|
+
text=(char const * text)
|
3955
4015
|
|
3956
4016
|
An instance method.
|
3957
4017
|
|
@@ -3993,7 +4053,7 @@ fail:
|
|
3993
4053
|
Document-method: Openwsman::XmlNode.doc
|
3994
4054
|
|
3995
4055
|
call-seq:
|
3996
|
-
doc ->
|
4056
|
+
doc -> XmlDoc
|
3997
4057
|
|
3998
4058
|
An instance method.
|
3999
4059
|
|
@@ -4027,7 +4087,7 @@ fail:
|
|
4027
4087
|
Document-method: Openwsman::XmlNode.parent
|
4028
4088
|
|
4029
4089
|
call-seq:
|
4030
|
-
parent ->
|
4090
|
+
parent -> XmlNode
|
4031
4091
|
|
4032
4092
|
An instance method.
|
4033
4093
|
|
@@ -4061,7 +4121,7 @@ fail:
|
|
4061
4121
|
Document-method: Openwsman::XmlNode.child
|
4062
4122
|
|
4063
4123
|
call-seq:
|
4064
|
-
child ->
|
4124
|
+
child -> XmlNode
|
4065
4125
|
|
4066
4126
|
An instance method.
|
4067
4127
|
|
@@ -4095,7 +4155,7 @@ fail:
|
|
4095
4155
|
Document-method: Openwsman::XmlNode.name
|
4096
4156
|
|
4097
4157
|
call-seq:
|
4098
|
-
name -> char
|
4158
|
+
name -> char *
|
4099
4159
|
|
4100
4160
|
An instance method.
|
4101
4161
|
|
@@ -4129,7 +4189,7 @@ fail:
|
|
4129
4189
|
Document-method: Openwsman::XmlNode.name=
|
4130
4190
|
|
4131
4191
|
call-seq:
|
4132
|
-
name=(char name)
|
4192
|
+
name=(char const * name)
|
4133
4193
|
|
4134
4194
|
An instance method.
|
4135
4195
|
|
@@ -4171,7 +4231,7 @@ fail:
|
|
4171
4231
|
Document-method: Openwsman::XmlNode.ns
|
4172
4232
|
|
4173
4233
|
call-seq:
|
4174
|
-
ns -> char
|
4234
|
+
ns -> char *
|
4175
4235
|
|
4176
4236
|
An instance method.
|
4177
4237
|
|
@@ -4205,7 +4265,7 @@ fail:
|
|
4205
4265
|
Document-method: Openwsman::XmlNode.ns=
|
4206
4266
|
|
4207
4267
|
call-seq:
|
4208
|
-
ns=(char ns)
|
4268
|
+
ns=(char const * ns)
|
4209
4269
|
|
4210
4270
|
An instance method.
|
4211
4271
|
|
@@ -4247,7 +4307,7 @@ fail:
|
|
4247
4307
|
Document-method: Openwsman::XmlNode.prefix
|
4248
4308
|
|
4249
4309
|
call-seq:
|
4250
|
-
prefix -> char
|
4310
|
+
prefix -> char const *
|
4251
4311
|
|
4252
4312
|
An instance method.
|
4253
4313
|
|
@@ -4281,7 +4341,7 @@ fail:
|
|
4281
4341
|
Document-method: Openwsman::XmlNode.lang=
|
4282
4342
|
|
4283
4343
|
call-seq:
|
4284
|
-
lang=(char lang)
|
4344
|
+
lang=(char const * lang)
|
4285
4345
|
|
4286
4346
|
An instance method.
|
4287
4347
|
|
@@ -4323,7 +4383,7 @@ fail:
|
|
4323
4383
|
Document-method: Openwsman::XmlNode.find
|
4324
4384
|
|
4325
4385
|
call-seq:
|
4326
|
-
find(ns, name, recursive=1) ->
|
4386
|
+
find(ns, name, recursive=1) -> XmlNode
|
4327
4387
|
|
4328
4388
|
Find an element in the class.
|
4329
4389
|
*/
|
@@ -4388,7 +4448,7 @@ fail:
|
|
4388
4448
|
Document-method: Openwsman::XmlNode.next
|
4389
4449
|
|
4390
4450
|
call-seq:
|
4391
|
-
next(int all=0) ->
|
4451
|
+
next(int all=0) -> XmlNode
|
4392
4452
|
|
4393
4453
|
An instance method.
|
4394
4454
|
|
@@ -4491,8 +4551,8 @@ fail:
|
|
4491
4551
|
Document-method: Openwsman::XmlNode.add
|
4492
4552
|
|
4493
4553
|
call-seq:
|
4494
|
-
add(char ns, char name, char text=nil) ->
|
4495
|
-
add(
|
4554
|
+
add(char const * ns, char const * name, char const * text=nil) -> XmlNode
|
4555
|
+
add(XmlNode node) -> XmlNode
|
4496
4556
|
|
4497
4557
|
An instance method.
|
4498
4558
|
|
@@ -4561,7 +4621,7 @@ fail:
|
|
4561
4621
|
Document-method: Openwsman::XmlNode.add_before
|
4562
4622
|
|
4563
4623
|
call-seq:
|
4564
|
-
add_before(char ns, char name, char text=nil) ->
|
4624
|
+
add_before(char const * ns, char const * name, char const * text=nil) -> XmlNode
|
4565
4625
|
|
4566
4626
|
An instance method.
|
4567
4627
|
|
@@ -4630,8 +4690,8 @@ fail:
|
|
4630
4690
|
Document-method: Openwsman::XmlNode.add
|
4631
4691
|
|
4632
4692
|
call-seq:
|
4633
|
-
add(char ns, char name, char text=nil) ->
|
4634
|
-
add(
|
4693
|
+
add(char const * ns, char const * name, char const * text=nil) -> XmlNode
|
4694
|
+
add(XmlNode node) -> XmlNode
|
4635
4695
|
|
4636
4696
|
An instance method.
|
4637
4697
|
|
@@ -4788,8 +4848,8 @@ fail:
|
|
4788
4848
|
Document-method: Openwsman::XmlNode.get
|
4789
4849
|
|
4790
4850
|
call-seq:
|
4791
|
-
get(int i, char name=nil, char ns=nil) ->
|
4792
|
-
get(char name, char ns=nil) ->
|
4851
|
+
get(int i, char const * name=nil, char const * ns=nil) -> XmlNode
|
4852
|
+
get(char const * name, char const * ns=nil) -> XmlNode
|
4793
4853
|
|
4794
4854
|
An instance method.
|
4795
4855
|
|
@@ -4975,7 +5035,7 @@ fail:
|
|
4975
5035
|
Document-method: Openwsman::XmlNode.attr
|
4976
5036
|
|
4977
5037
|
call-seq:
|
4978
|
-
attr(VALUE index=Qnil, VALUE namespace=Qnil) ->
|
5038
|
+
attr(VALUE index=Qnil, VALUE namespace=Qnil) -> XmlAttr
|
4979
5039
|
|
4980
5040
|
An instance method.
|
4981
5041
|
|
@@ -5051,7 +5111,7 @@ fail:
|
|
5051
5111
|
Document-method: Openwsman::XmlNode.attr_find
|
5052
5112
|
|
5053
5113
|
call-seq:
|
5054
|
-
attr_find(char ns, char name) ->
|
5114
|
+
attr_find(char const * ns, char const * name) -> XmlAttr
|
5055
5115
|
|
5056
5116
|
An instance method.
|
5057
5117
|
|
@@ -5107,7 +5167,7 @@ fail:
|
|
5107
5167
|
Document-method: Openwsman::XmlNode.attr_add
|
5108
5168
|
|
5109
5169
|
call-seq:
|
5110
|
-
attr_add(char ns, char name, char value) ->
|
5170
|
+
attr_add(char const * ns, char const * name, char const * value) -> XmlAttr
|
5111
5171
|
|
5112
5172
|
An instance method.
|
5113
5173
|
|
@@ -5174,7 +5234,7 @@ fail:
|
|
5174
5234
|
Document-method: Openwsman::XmlNode.epr
|
5175
5235
|
|
5176
5236
|
call-seq:
|
5177
|
-
epr(char ns, char epr_node_name, int embedded) -> EndPointReference
|
5237
|
+
epr(char const * ns, char const * epr_node_name, int embedded) -> EndPointReference
|
5178
5238
|
|
5179
5239
|
An instance method.
|
5180
5240
|
|
@@ -5272,14 +5332,14 @@ fail:
|
|
5272
5332
|
|
5273
5333
|
|
5274
5334
|
*/
|
5275
|
-
swig_class SwigClassXmlAttr;
|
5335
|
+
static swig_class SwigClassXmlAttr;
|
5276
5336
|
|
5277
5337
|
|
5278
5338
|
/*
|
5279
5339
|
Document-method: Openwsman::XmlAttr.name
|
5280
5340
|
|
5281
5341
|
call-seq:
|
5282
|
-
name -> char
|
5342
|
+
name -> char *
|
5283
5343
|
|
5284
5344
|
An instance method.
|
5285
5345
|
|
@@ -5313,7 +5373,7 @@ fail:
|
|
5313
5373
|
Document-method: Openwsman::XmlAttr.ns
|
5314
5374
|
|
5315
5375
|
call-seq:
|
5316
|
-
ns -> char
|
5376
|
+
ns -> char *
|
5317
5377
|
|
5318
5378
|
An instance method.
|
5319
5379
|
|
@@ -5347,7 +5407,7 @@ fail:
|
|
5347
5407
|
Document-method: Openwsman::XmlAttr.value
|
5348
5408
|
|
5349
5409
|
call-seq:
|
5350
|
-
value -> char
|
5410
|
+
value -> char *
|
5351
5411
|
|
5352
5412
|
An instance method.
|
5353
5413
|
|
@@ -5415,7 +5475,7 @@ fail:
|
|
5415
5475
|
|
5416
5476
|
|
5417
5477
|
*/
|
5418
|
-
swig_class SwigClassEndPointReference;
|
5478
|
+
static swig_class SwigClassEndPointReference;
|
5419
5479
|
|
5420
5480
|
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
5421
5481
|
SWIGINTERN VALUE
|
@@ -5523,7 +5583,7 @@ fail:
|
|
5523
5583
|
Document-method: Openwsman::EndPointReference.add_selector
|
5524
5584
|
|
5525
5585
|
call-seq:
|
5526
|
-
add_selector(char name, char text)
|
5586
|
+
add_selector(char const * name, char const * text)
|
5527
5587
|
|
5528
5588
|
An instance method.
|
5529
5589
|
|
@@ -5576,7 +5636,7 @@ fail:
|
|
5576
5636
|
Document-method: Openwsman::EndPointReference.serialize
|
5577
5637
|
|
5578
5638
|
call-seq:
|
5579
|
-
serialize(
|
5639
|
+
serialize(XmlNode node, char const * ns, char const * epr_node_name, int embedded) -> int
|
5580
5640
|
|
5581
5641
|
An instance method.
|
5582
5642
|
|
@@ -5690,7 +5750,7 @@ fail:
|
|
5690
5750
|
Document-method: Openwsman::EndPointReference.to_xml
|
5691
5751
|
|
5692
5752
|
call-seq:
|
5693
|
-
to_xml(char ns=nil, char epr_node_name=nil) -> char
|
5753
|
+
to_xml(char const * ns=nil, char const * epr_node_name=nil) -> char *
|
5694
5754
|
|
5695
5755
|
An instance method.
|
5696
5756
|
|
@@ -5750,7 +5810,7 @@ fail:
|
|
5750
5810
|
Document-method: Openwsman::EndPointReference.to_s
|
5751
5811
|
|
5752
5812
|
call-seq:
|
5753
|
-
to_s -> char
|
5813
|
+
to_s -> char *
|
5754
5814
|
|
5755
5815
|
An instance method.
|
5756
5816
|
|
@@ -5785,7 +5845,7 @@ fail:
|
|
5785
5845
|
Document-method: Openwsman::EndPointReference.selector_count
|
5786
5846
|
|
5787
5847
|
call-seq:
|
5788
|
-
selector_count
|
5848
|
+
selector_count -> int
|
5789
5849
|
|
5790
5850
|
An instance method.
|
5791
5851
|
|
@@ -5819,7 +5879,7 @@ fail:
|
|
5819
5879
|
Document-method: Openwsman::EndPointReference.resource_uri
|
5820
5880
|
|
5821
5881
|
call-seq:
|
5822
|
-
resource_uri
|
5882
|
+
resource_uri -> char *
|
5823
5883
|
|
5824
5884
|
An instance method.
|
5825
5885
|
|
@@ -5853,7 +5913,7 @@ fail:
|
|
5853
5913
|
Document-method: Openwsman::EndPointReference.selector
|
5854
5914
|
|
5855
5915
|
call-seq:
|
5856
|
-
selector(VALUE v) -> char
|
5916
|
+
selector(VALUE v) -> char *
|
5857
5917
|
|
5858
5918
|
An instance method.
|
5859
5919
|
|
@@ -5889,7 +5949,7 @@ fail:
|
|
5889
5949
|
Document-method: Openwsman::EndPointReference.selector_names
|
5890
5950
|
|
5891
5951
|
call-seq:
|
5892
|
-
selector_names
|
5952
|
+
selector_names -> VALUE
|
5893
5953
|
|
5894
5954
|
An instance method.
|
5895
5955
|
|
@@ -5953,7 +6013,7 @@ fail:
|
|
5953
6013
|
Document-method: Openwsman::EndPointReference.classname
|
5954
6014
|
|
5955
6015
|
call-seq:
|
5956
|
-
classname
|
6016
|
+
classname -> char *
|
5957
6017
|
|
5958
6018
|
An instance method.
|
5959
6019
|
|
@@ -5988,7 +6048,7 @@ fail:
|
|
5988
6048
|
Document-method: Openwsman::EndPointReference.namespace
|
5989
6049
|
|
5990
6050
|
call-seq:
|
5991
|
-
namespace
|
6051
|
+
namespace -> char *
|
5992
6052
|
|
5993
6053
|
An instance method.
|
5994
6054
|
|
@@ -6023,7 +6083,7 @@ fail:
|
|
6023
6083
|
Document-method: Openwsman::EndPointReference.prefix
|
6024
6084
|
|
6025
6085
|
call-seq:
|
6026
|
-
prefix
|
6086
|
+
prefix -> char *
|
6027
6087
|
|
6028
6088
|
An instance method.
|
6029
6089
|
|
@@ -6061,14 +6121,14 @@ fail:
|
|
6061
6121
|
|
6062
6122
|
|
6063
6123
|
*/
|
6064
|
-
swig_class SwigClassFilter;
|
6124
|
+
static swig_class SwigClassFilter;
|
6065
6125
|
|
6066
6126
|
|
6067
6127
|
/*
|
6068
6128
|
Document-method: Openwsman::Filter.resultClass
|
6069
6129
|
|
6070
6130
|
call-seq:
|
6071
|
-
resultClass -> char
|
6131
|
+
resultClass -> char *
|
6072
6132
|
|
6073
6133
|
Get value of attribute.
|
6074
6134
|
|
@@ -6078,7 +6138,7 @@ Get value of attribute.
|
|
6078
6138
|
Document-method: Openwsman::Filter.resultClass=
|
6079
6139
|
|
6080
6140
|
call-seq:
|
6081
|
-
resultClass=(x) -> char
|
6141
|
+
resultClass=(x) -> char *
|
6082
6142
|
|
6083
6143
|
Set new value for attribute.
|
6084
6144
|
|
@@ -6150,7 +6210,7 @@ fail:
|
|
6150
6210
|
Document-method: Openwsman::Filter.assocClass
|
6151
6211
|
|
6152
6212
|
call-seq:
|
6153
|
-
assocClass -> char
|
6213
|
+
assocClass -> char *
|
6154
6214
|
|
6155
6215
|
Get value of attribute.
|
6156
6216
|
|
@@ -6160,7 +6220,7 @@ Get value of attribute.
|
|
6160
6220
|
Document-method: Openwsman::Filter.assocClass=
|
6161
6221
|
|
6162
6222
|
call-seq:
|
6163
|
-
assocClass=(x) -> char
|
6223
|
+
assocClass=(x) -> char *
|
6164
6224
|
|
6165
6225
|
Set new value for attribute.
|
6166
6226
|
|
@@ -6282,9 +6342,8 @@ free_filter_t(filter_t *arg1) {
|
|
6282
6342
|
Document-method: Openwsman::Filter.associators
|
6283
6343
|
|
6284
6344
|
call-seq:
|
6285
|
-
associators(
|
6286
|
-
|
6287
|
-
int propNum) -> int
|
6345
|
+
associators(VALUE epr_v=Qnil, VALUE assocClass_v=Qnil, VALUE resultClass_v=Qnil, VALUE role_v=Qnil,
|
6346
|
+
VALUE resultRole_v=Qnil, VALUE resultProp_v=Qnil, VALUE propNum_v=Qnil) -> int
|
6288
6347
|
|
6289
6348
|
An instance method.
|
6290
6349
|
|
@@ -6292,91 +6351,51 @@ An instance method.
|
|
6292
6351
|
SWIGINTERN VALUE
|
6293
6352
|
_wrap_Filter_associators(int argc, VALUE *argv, VALUE self) {
|
6294
6353
|
filter_t *arg1 = (filter_t *) 0 ;
|
6295
|
-
|
6296
|
-
|
6297
|
-
|
6298
|
-
|
6299
|
-
|
6300
|
-
|
6301
|
-
|
6354
|
+
VALUE arg2 = (VALUE) Qnil ;
|
6355
|
+
VALUE arg3 = (VALUE) Qnil ;
|
6356
|
+
VALUE arg4 = (VALUE) Qnil ;
|
6357
|
+
VALUE arg5 = (VALUE) Qnil ;
|
6358
|
+
VALUE arg6 = (VALUE) Qnil ;
|
6359
|
+
VALUE arg7 = (VALUE) Qnil ;
|
6360
|
+
VALUE arg8 = (VALUE) Qnil ;
|
6302
6361
|
void *argp1 = 0 ;
|
6303
6362
|
int res1 = 0 ;
|
6304
|
-
void *argp2 = 0 ;
|
6305
|
-
int res2 = 0 ;
|
6306
|
-
int res3 ;
|
6307
|
-
char *buf3 = 0 ;
|
6308
|
-
int alloc3 = 0 ;
|
6309
|
-
int res4 ;
|
6310
|
-
char *buf4 = 0 ;
|
6311
|
-
int alloc4 = 0 ;
|
6312
|
-
int res5 ;
|
6313
|
-
char *buf5 = 0 ;
|
6314
|
-
int alloc5 = 0 ;
|
6315
|
-
int res6 ;
|
6316
|
-
char *buf6 = 0 ;
|
6317
|
-
int alloc6 = 0 ;
|
6318
|
-
void *argp7 = 0 ;
|
6319
|
-
int res7 = 0 ;
|
6320
|
-
int val8 ;
|
6321
|
-
int ecode8 = 0 ;
|
6322
6363
|
int result;
|
6323
6364
|
VALUE vresult = Qnil;
|
6324
6365
|
|
6325
|
-
if ((argc <
|
6326
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for
|
6366
|
+
if ((argc < 0) || (argc > 7)) {
|
6367
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
6327
6368
|
}
|
6328
6369
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_filter_t, 0 | 0 );
|
6329
6370
|
if (!SWIG_IsOK(res1)) {
|
6330
6371
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "filter_t *","associators", 1, self ));
|
6331
6372
|
}
|
6332
6373
|
arg1 = (filter_t *)(argp1);
|
6333
|
-
|
6334
|
-
|
6335
|
-
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "epr_t *","associators", 2, argv[0] ));
|
6374
|
+
if (argc > 0) {
|
6375
|
+
arg2 = argv[0];
|
6336
6376
|
}
|
6337
|
-
|
6338
|
-
|
6339
|
-
if (!SWIG_IsOK(res3)) {
|
6340
|
-
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","associators", 3, argv[1] ));
|
6377
|
+
if (argc > 1) {
|
6378
|
+
arg3 = argv[1];
|
6341
6379
|
}
|
6342
|
-
|
6343
|
-
|
6344
|
-
if (!SWIG_IsOK(res4)) {
|
6345
|
-
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","associators", 4, argv[2] ));
|
6380
|
+
if (argc > 2) {
|
6381
|
+
arg4 = argv[2];
|
6346
6382
|
}
|
6347
|
-
|
6348
|
-
|
6349
|
-
if (!SWIG_IsOK(res5)) {
|
6350
|
-
SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","associators", 5, argv[3] ));
|
6383
|
+
if (argc > 3) {
|
6384
|
+
arg5 = argv[3];
|
6351
6385
|
}
|
6352
|
-
|
6353
|
-
|
6354
|
-
if (!SWIG_IsOK(res6)) {
|
6355
|
-
SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "char const *","associators", 6, argv[4] ));
|
6386
|
+
if (argc > 4) {
|
6387
|
+
arg6 = argv[4];
|
6356
6388
|
}
|
6357
|
-
|
6358
|
-
|
6359
|
-
|
6360
|
-
|
6361
|
-
|
6362
|
-
|
6363
|
-
|
6364
|
-
if (!SWIG_IsOK(ecode8)) {
|
6365
|
-
SWIG_exception_fail(SWIG_ArgError(ecode8), Ruby_Format_TypeError( "", "int","associators", 8, argv[6] ));
|
6366
|
-
}
|
6367
|
-
arg8 = (int)(val8);
|
6368
|
-
result = (int)filter_t_associators(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,arg7,arg8);
|
6389
|
+
if (argc > 5) {
|
6390
|
+
arg7 = argv[5];
|
6391
|
+
}
|
6392
|
+
if (argc > 6) {
|
6393
|
+
arg8 = argv[6];
|
6394
|
+
}
|
6395
|
+
result = (int)filter_t_associators(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
|
6369
6396
|
vresult = SWIG_From_int((int)(result));
|
6370
|
-
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
|
6371
|
-
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
|
6372
|
-
if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
|
6373
|
-
if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
|
6374
6397
|
return vresult;
|
6375
6398
|
fail:
|
6376
|
-
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
|
6377
|
-
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
|
6378
|
-
if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
|
6379
|
-
if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
|
6380
6399
|
return Qnil;
|
6381
6400
|
}
|
6382
6401
|
|
@@ -6386,9 +6405,8 @@ fail:
|
|
6386
6405
|
Document-method: Openwsman::Filter.references
|
6387
6406
|
|
6388
6407
|
call-seq:
|
6389
|
-
references(
|
6390
|
-
|
6391
|
-
int propNum) -> int
|
6408
|
+
references(VALUE epr_v=Qnil, VALUE assocClass_v=Qnil, VALUE resultClass_v=Qnil, VALUE role_v=Qnil,
|
6409
|
+
VALUE resultRole_v=Qnil, VALUE resultProp_v=Qnil, VALUE propNum_v=Qnil) -> int
|
6392
6410
|
|
6393
6411
|
An instance method.
|
6394
6412
|
|
@@ -6396,91 +6414,51 @@ An instance method.
|
|
6396
6414
|
SWIGINTERN VALUE
|
6397
6415
|
_wrap_Filter_references(int argc, VALUE *argv, VALUE self) {
|
6398
6416
|
filter_t *arg1 = (filter_t *) 0 ;
|
6399
|
-
|
6400
|
-
|
6401
|
-
|
6402
|
-
|
6403
|
-
|
6404
|
-
|
6405
|
-
|
6417
|
+
VALUE arg2 = (VALUE) Qnil ;
|
6418
|
+
VALUE arg3 = (VALUE) Qnil ;
|
6419
|
+
VALUE arg4 = (VALUE) Qnil ;
|
6420
|
+
VALUE arg5 = (VALUE) Qnil ;
|
6421
|
+
VALUE arg6 = (VALUE) Qnil ;
|
6422
|
+
VALUE arg7 = (VALUE) Qnil ;
|
6423
|
+
VALUE arg8 = (VALUE) Qnil ;
|
6406
6424
|
void *argp1 = 0 ;
|
6407
6425
|
int res1 = 0 ;
|
6408
|
-
void *argp2 = 0 ;
|
6409
|
-
int res2 = 0 ;
|
6410
|
-
int res3 ;
|
6411
|
-
char *buf3 = 0 ;
|
6412
|
-
int alloc3 = 0 ;
|
6413
|
-
int res4 ;
|
6414
|
-
char *buf4 = 0 ;
|
6415
|
-
int alloc4 = 0 ;
|
6416
|
-
int res5 ;
|
6417
|
-
char *buf5 = 0 ;
|
6418
|
-
int alloc5 = 0 ;
|
6419
|
-
int res6 ;
|
6420
|
-
char *buf6 = 0 ;
|
6421
|
-
int alloc6 = 0 ;
|
6422
|
-
void *argp7 = 0 ;
|
6423
|
-
int res7 = 0 ;
|
6424
|
-
int val8 ;
|
6425
|
-
int ecode8 = 0 ;
|
6426
6426
|
int result;
|
6427
6427
|
VALUE vresult = Qnil;
|
6428
6428
|
|
6429
|
-
if ((argc <
|
6430
|
-
rb_raise(rb_eArgError, "wrong # of arguments(%d for
|
6429
|
+
if ((argc < 0) || (argc > 7)) {
|
6430
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
6431
6431
|
}
|
6432
6432
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_filter_t, 0 | 0 );
|
6433
6433
|
if (!SWIG_IsOK(res1)) {
|
6434
6434
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "filter_t *","references", 1, self ));
|
6435
6435
|
}
|
6436
6436
|
arg1 = (filter_t *)(argp1);
|
6437
|
-
|
6438
|
-
|
6439
|
-
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "epr_t *","references", 2, argv[0] ));
|
6437
|
+
if (argc > 0) {
|
6438
|
+
arg2 = argv[0];
|
6440
6439
|
}
|
6441
|
-
|
6442
|
-
|
6443
|
-
if (!SWIG_IsOK(res3)) {
|
6444
|
-
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","references", 3, argv[1] ));
|
6440
|
+
if (argc > 1) {
|
6441
|
+
arg3 = argv[1];
|
6445
6442
|
}
|
6446
|
-
|
6447
|
-
|
6448
|
-
if (!SWIG_IsOK(res4)) {
|
6449
|
-
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","references", 4, argv[2] ));
|
6443
|
+
if (argc > 2) {
|
6444
|
+
arg4 = argv[2];
|
6450
6445
|
}
|
6451
|
-
|
6452
|
-
|
6453
|
-
if (!SWIG_IsOK(res5)) {
|
6454
|
-
SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","references", 5, argv[3] ));
|
6446
|
+
if (argc > 3) {
|
6447
|
+
arg5 = argv[3];
|
6455
6448
|
}
|
6456
|
-
|
6457
|
-
|
6458
|
-
if (!SWIG_IsOK(res6)) {
|
6459
|
-
SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "char const *","references", 6, argv[4] ));
|
6449
|
+
if (argc > 4) {
|
6450
|
+
arg6 = argv[4];
|
6460
6451
|
}
|
6461
|
-
|
6462
|
-
|
6463
|
-
|
6464
|
-
|
6465
|
-
|
6466
|
-
|
6467
|
-
|
6468
|
-
if (!SWIG_IsOK(ecode8)) {
|
6469
|
-
SWIG_exception_fail(SWIG_ArgError(ecode8), Ruby_Format_TypeError( "", "int","references", 8, argv[6] ));
|
6470
|
-
}
|
6471
|
-
arg8 = (int)(val8);
|
6472
|
-
result = (int)filter_t_references(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,arg7,arg8);
|
6452
|
+
if (argc > 5) {
|
6453
|
+
arg7 = argv[5];
|
6454
|
+
}
|
6455
|
+
if (argc > 6) {
|
6456
|
+
arg8 = argv[6];
|
6457
|
+
}
|
6458
|
+
result = (int)filter_t_references(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
|
6473
6459
|
vresult = SWIG_From_int((int)(result));
|
6474
|
-
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
|
6475
|
-
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
|
6476
|
-
if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
|
6477
|
-
if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
|
6478
6460
|
return vresult;
|
6479
6461
|
fail:
|
6480
|
-
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
|
6481
|
-
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
|
6482
|
-
if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
|
6483
|
-
if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
|
6484
6462
|
return Qnil;
|
6485
6463
|
}
|
6486
6464
|
|
@@ -6490,7 +6468,7 @@ fail:
|
|
6490
6468
|
Document-method: Openwsman::Filter.simple
|
6491
6469
|
|
6492
6470
|
call-seq:
|
6493
|
-
simple(char dialect, char query) -> int
|
6471
|
+
simple(char const * dialect, char const * query) -> int
|
6494
6472
|
|
6495
6473
|
An instance method.
|
6496
6474
|
|
@@ -6546,7 +6524,7 @@ fail:
|
|
6546
6524
|
Document-method: Openwsman::Filter.xpath
|
6547
6525
|
|
6548
6526
|
call-seq:
|
6549
|
-
xpath(char query) -> int
|
6527
|
+
xpath(char const * query) -> int
|
6550
6528
|
|
6551
6529
|
An instance method.
|
6552
6530
|
|
@@ -6591,7 +6569,7 @@ fail:
|
|
6591
6569
|
Document-method: Openwsman::Filter.cql
|
6592
6570
|
|
6593
6571
|
call-seq:
|
6594
|
-
cql(char query) -> int
|
6572
|
+
cql(char const * query) -> int
|
6595
6573
|
|
6596
6574
|
An instance method.
|
6597
6575
|
|
@@ -6636,7 +6614,7 @@ fail:
|
|
6636
6614
|
Document-method: Openwsman::Filter.wql
|
6637
6615
|
|
6638
6616
|
call-seq:
|
6639
|
-
wql(char query) -> int
|
6617
|
+
wql(char const * query) -> int
|
6640
6618
|
|
6641
6619
|
An instance method.
|
6642
6620
|
|
@@ -6684,7 +6662,7 @@ fail:
|
|
6684
6662
|
|
6685
6663
|
|
6686
6664
|
*/
|
6687
|
-
swig_class SwigClassEnumerateInfo;
|
6665
|
+
static swig_class SwigClassEnumerateInfo;
|
6688
6666
|
|
6689
6667
|
SWIGINTERN void delete___WsEnumerateInfo(struct __WsEnumerateInfo *self){
|
6690
6668
|
}
|
@@ -6805,7 +6783,7 @@ fail:
|
|
6805
6783
|
Document-method: Openwsman::EnumerateInfo.epr_to
|
6806
6784
|
|
6807
6785
|
call-seq:
|
6808
|
-
epr_to -> char
|
6786
|
+
epr_to -> char const *
|
6809
6787
|
|
6810
6788
|
An instance method.
|
6811
6789
|
|
@@ -6839,7 +6817,7 @@ fail:
|
|
6839
6817
|
Document-method: Openwsman::EnumerateInfo.epr_uri
|
6840
6818
|
|
6841
6819
|
call-seq:
|
6842
|
-
epr_uri -> char
|
6820
|
+
epr_uri -> char const *
|
6843
6821
|
|
6844
6822
|
An instance method.
|
6845
6823
|
|
@@ -6873,7 +6851,7 @@ fail:
|
|
6873
6851
|
Document-method: Openwsman::EnumerateInfo.encoding
|
6874
6852
|
|
6875
6853
|
call-seq:
|
6876
|
-
encoding -> char
|
6854
|
+
encoding -> char const *
|
6877
6855
|
|
6878
6856
|
An instance method.
|
6879
6857
|
|
@@ -7221,7 +7199,7 @@ fail:
|
|
7221
7199
|
Document-method: Openwsman::EnumerateInfo.pull_result
|
7222
7200
|
|
7223
7201
|
call-seq:
|
7224
|
-
pull_result ->
|
7202
|
+
pull_result -> XmlDoc
|
7225
7203
|
|
7226
7204
|
An instance method.
|
7227
7205
|
|
@@ -7255,7 +7233,7 @@ fail:
|
|
7255
7233
|
Document-method: Openwsman::EnumerateInfo.pull_result=
|
7256
7234
|
|
7257
7235
|
call-seq:
|
7258
|
-
pull_result=(
|
7236
|
+
pull_result=(XmlDoc result)
|
7259
7237
|
|
7260
7238
|
An instance method.
|
7261
7239
|
|
@@ -7297,14 +7275,14 @@ fail:
|
|
7297
7275
|
|
7298
7276
|
|
7299
7277
|
*/
|
7300
|
-
swig_class SwigClassSoapOp;
|
7278
|
+
static swig_class SwigClassSoapOp;
|
7301
7279
|
|
7302
7280
|
|
7303
7281
|
/*
|
7304
7282
|
Document-method: Openwsman::SoapOp.indoc
|
7305
7283
|
|
7306
7284
|
call-seq:
|
7307
|
-
indoc ->
|
7285
|
+
indoc -> XmlDoc
|
7308
7286
|
|
7309
7287
|
An instance method.
|
7310
7288
|
|
@@ -7338,7 +7316,7 @@ fail:
|
|
7338
7316
|
Document-method: Openwsman::SoapOp.indoc=
|
7339
7317
|
|
7340
7318
|
call-seq:
|
7341
|
-
indoc=(
|
7319
|
+
indoc=(XmlDoc doc)
|
7342
7320
|
|
7343
7321
|
An instance method.
|
7344
7322
|
|
@@ -7377,7 +7355,7 @@ fail:
|
|
7377
7355
|
Document-method: Openwsman::SoapOp.outdoc
|
7378
7356
|
|
7379
7357
|
call-seq:
|
7380
|
-
outdoc ->
|
7358
|
+
outdoc -> XmlDoc
|
7381
7359
|
|
7382
7360
|
An instance method.
|
7383
7361
|
|
@@ -7411,7 +7389,7 @@ fail:
|
|
7411
7389
|
Document-method: Openwsman::SoapOp.outdoc=
|
7412
7390
|
|
7413
7391
|
call-seq:
|
7414
|
-
outdoc=(
|
7392
|
+
outdoc=(XmlDoc doc)
|
7415
7393
|
|
7416
7394
|
An instance method.
|
7417
7395
|
|
@@ -7450,7 +7428,7 @@ fail:
|
|
7450
7428
|
Document-method: Openwsman::SoapOp.soap
|
7451
7429
|
|
7452
7430
|
call-seq:
|
7453
|
-
soap ->
|
7431
|
+
soap -> Soap
|
7454
7432
|
|
7455
7433
|
An instance method.
|
7456
7434
|
|
@@ -7484,7 +7462,7 @@ fail:
|
|
7484
7462
|
Document-method: Openwsman::SoapOp.msg
|
7485
7463
|
|
7486
7464
|
call-seq:
|
7487
|
-
msg -> WsmanMessage
|
7465
|
+
msg -> WsmanMessage *
|
7488
7466
|
|
7489
7467
|
An instance method.
|
7490
7468
|
|
@@ -7555,7 +7533,7 @@ fail:
|
|
7555
7533
|
|
7556
7534
|
|
7557
7535
|
*/
|
7558
|
-
swig_class SwigClassSoap;
|
7536
|
+
static swig_class SwigClassSoap;
|
7559
7537
|
|
7560
7538
|
SWIGINTERN void delete___Soap(struct __Soap *self){
|
7561
7539
|
soap_destroy(self);
|
@@ -7570,7 +7548,7 @@ free___Soap(struct __Soap *arg1) {
|
|
7570
7548
|
Document-method: Openwsman::Soap.create_context
|
7571
7549
|
|
7572
7550
|
call-seq:
|
7573
|
-
create_context ->
|
7551
|
+
create_context -> Context
|
7574
7552
|
|
7575
7553
|
An instance method.
|
7576
7554
|
|
@@ -7604,7 +7582,7 @@ fail:
|
|
7604
7582
|
Document-method: Openwsman::Soap.context
|
7605
7583
|
|
7606
7584
|
call-seq:
|
7607
|
-
context ->
|
7585
|
+
context -> Context
|
7608
7586
|
|
7609
7587
|
An instance method.
|
7610
7588
|
|
@@ -7638,7 +7616,7 @@ fail:
|
|
7638
7616
|
Document-method: Openwsman::Soap.create_ep_context
|
7639
7617
|
|
7640
7618
|
call-seq:
|
7641
|
-
create_ep_context(
|
7619
|
+
create_ep_context(XmlDoc doc) -> Context
|
7642
7620
|
|
7643
7621
|
An instance method.
|
7644
7622
|
|
@@ -7683,7 +7661,7 @@ fail:
|
|
7683
7661
|
|
7684
7662
|
|
7685
7663
|
*/
|
7686
|
-
swig_class SwigClassContext;
|
7664
|
+
static swig_class SwigClassContext;
|
7687
7665
|
|
7688
7666
|
SWIGINTERN void delete__WS_CONTEXT(struct _WS_CONTEXT *self){
|
7689
7667
|
ws_destroy_context(self);
|
@@ -7698,7 +7676,7 @@ free__WS_CONTEXT(struct _WS_CONTEXT *arg1) {
|
|
7698
7676
|
Document-method: Openwsman::Context.indoc
|
7699
7677
|
|
7700
7678
|
call-seq:
|
7701
|
-
indoc ->
|
7679
|
+
indoc -> XmlDoc
|
7702
7680
|
|
7703
7681
|
An instance method.
|
7704
7682
|
|
@@ -7732,7 +7710,7 @@ fail:
|
|
7732
7710
|
Document-method: Openwsman::Context.runtime
|
7733
7711
|
|
7734
7712
|
call-seq:
|
7735
|
-
runtime ->
|
7713
|
+
runtime -> Soap
|
7736
7714
|
|
7737
7715
|
An instance method.
|
7738
7716
|
|
@@ -7805,7 +7783,7 @@ fail:
|
|
7805
7783
|
Document-method: Openwsman::Context.classname
|
7806
7784
|
|
7807
7785
|
call-seq:
|
7808
|
-
classname -> char
|
7786
|
+
classname -> char const *
|
7809
7787
|
|
7810
7788
|
An instance method.
|
7811
7789
|
|
@@ -7839,7 +7817,7 @@ fail:
|
|
7839
7817
|
Document-method: Openwsman::Context.method
|
7840
7818
|
|
7841
7819
|
call-seq:
|
7842
|
-
method -> char
|
7820
|
+
method -> char const *
|
7843
7821
|
|
7844
7822
|
An instance method.
|
7845
7823
|
|
@@ -7873,7 +7851,7 @@ fail:
|
|
7873
7851
|
Document-method: Openwsman::Context.method_args
|
7874
7852
|
|
7875
7853
|
call-seq:
|
7876
|
-
method_args(char resource_uri) -> hash_t
|
7854
|
+
method_args(char const * resource_uri) -> hash_t *
|
7877
7855
|
|
7878
7856
|
An instance method.
|
7879
7857
|
|
@@ -7921,7 +7899,7 @@ fail:
|
|
7921
7899
|
Document-method: Openwsman::Context.max_elements
|
7922
7900
|
|
7923
7901
|
call-seq:
|
7924
|
-
max_elements(
|
7902
|
+
max_elements(XmlDoc doc=0) -> int
|
7925
7903
|
|
7926
7904
|
An instance method.
|
7927
7905
|
|
@@ -7965,7 +7943,7 @@ fail:
|
|
7965
7943
|
Document-method: Openwsman::Context.max_envelope_size
|
7966
7944
|
|
7967
7945
|
call-seq:
|
7968
|
-
max_envelope_size(
|
7946
|
+
max_envelope_size(XmlDoc doc=0) -> unsigned long
|
7969
7947
|
|
7970
7948
|
An instance method.
|
7971
7949
|
|
@@ -8009,7 +7987,7 @@ fail:
|
|
8009
7987
|
Document-method: Openwsman::Context.fragment_string
|
8010
7988
|
|
8011
7989
|
call-seq:
|
8012
|
-
fragment_string(
|
7990
|
+
fragment_string(XmlDoc doc=0) -> char const *
|
8013
7991
|
|
8014
7992
|
An instance method.
|
8015
7993
|
|
@@ -8053,7 +8031,7 @@ fail:
|
|
8053
8031
|
Document-method: Openwsman::Context.selector
|
8054
8032
|
|
8055
8033
|
call-seq:
|
8056
|
-
selector(
|
8034
|
+
selector(XmlDoc doc, char const * name, int index) -> char const *
|
8057
8035
|
|
8058
8036
|
An instance method.
|
8059
8037
|
|
@@ -8114,7 +8092,7 @@ fail:
|
|
8114
8092
|
Document-method: Openwsman::Context.selectors_from_epr
|
8115
8093
|
|
8116
8094
|
call-seq:
|
8117
|
-
selectors_from_epr(
|
8095
|
+
selectors_from_epr(XmlNode epr_node) -> hash_t *
|
8118
8096
|
|
8119
8097
|
An instance method.
|
8120
8098
|
|
@@ -8159,7 +8137,7 @@ fail:
|
|
8159
8137
|
Document-method: Openwsman::Context.selectors
|
8160
8138
|
|
8161
8139
|
call-seq:
|
8162
|
-
selectors(
|
8140
|
+
selectors(XmlDoc doc=0) -> hash_t *
|
8163
8141
|
|
8164
8142
|
An instance method.
|
8165
8143
|
|
@@ -8206,7 +8184,7 @@ fail:
|
|
8206
8184
|
Document-method: Openwsman::Context.selectors_from_filter
|
8207
8185
|
|
8208
8186
|
call-seq:
|
8209
|
-
selectors_from_filter(
|
8187
|
+
selectors_from_filter(XmlDoc doc=0) -> hash_t *
|
8210
8188
|
|
8211
8189
|
An instance method.
|
8212
8190
|
|
@@ -8253,7 +8231,7 @@ fail:
|
|
8253
8231
|
Document-method: Openwsman::Context.action
|
8254
8232
|
|
8255
8233
|
call-seq:
|
8256
|
-
action(
|
8234
|
+
action(XmlDoc doc=0) -> char const *
|
8257
8235
|
|
8258
8236
|
An instance method.
|
8259
8237
|
|
@@ -8297,7 +8275,7 @@ fail:
|
|
8297
8275
|
Document-method: Openwsman::Context.resource_uri
|
8298
8276
|
|
8299
8277
|
call-seq:
|
8300
|
-
resource_uri(
|
8278
|
+
resource_uri(XmlDoc doc=0) -> char const *
|
8301
8279
|
|
8302
8280
|
An instance method.
|
8303
8281
|
|
@@ -8341,7 +8319,7 @@ fail:
|
|
8341
8319
|
Document-method: Openwsman::Context.option_set
|
8342
8320
|
|
8343
8321
|
call-seq:
|
8344
|
-
option_set(
|
8322
|
+
option_set(XmlDoc doc, char const * op) -> char const *
|
8345
8323
|
|
8346
8324
|
An instance method.
|
8347
8325
|
|
@@ -8394,7 +8372,7 @@ fail:
|
|
8394
8372
|
Document-method: Openwsman::Context.parse_enum_request
|
8395
8373
|
|
8396
8374
|
call-seq:
|
8397
|
-
parse_enum_request(WsEnumerateInfo enumInfo) -> int
|
8375
|
+
parse_enum_request(WsEnumerateInfo * enumInfo) -> int
|
8398
8376
|
|
8399
8377
|
An instance method.
|
8400
8378
|
|
@@ -8439,7 +8417,7 @@ fail:
|
|
8439
8417
|
|
8440
8418
|
|
8441
8419
|
*/
|
8442
|
-
swig_class SwigClassStatus;
|
8420
|
+
static swig_class SwigClassStatus;
|
8443
8421
|
|
8444
8422
|
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
8445
8423
|
SWIGINTERN VALUE
|
@@ -8463,7 +8441,7 @@ _wrap_Status_allocate(VALUE self) {
|
|
8463
8441
|
Document-method: Openwsman::Status.new
|
8464
8442
|
|
8465
8443
|
call-seq:
|
8466
|
-
Status.new(int code=0, int detail=0, char msg=nil)
|
8444
|
+
Status.new(int code=0, int detail=0, char const * msg=nil)
|
8467
8445
|
|
8468
8446
|
Class constructor.
|
8469
8447
|
|
@@ -8530,7 +8508,7 @@ free__WsmanStatus(struct _WsmanStatus *arg1) {
|
|
8530
8508
|
Document-method: Openwsman::Status.to_s
|
8531
8509
|
|
8532
8510
|
call-seq:
|
8533
|
-
to_s -> char
|
8511
|
+
to_s -> char const *
|
8534
8512
|
|
8535
8513
|
Convert class to a String representation.
|
8536
8514
|
*/
|
@@ -8709,7 +8687,7 @@ fail:
|
|
8709
8687
|
Document-method: Openwsman::Status.msg=
|
8710
8688
|
|
8711
8689
|
call-seq:
|
8712
|
-
msg=(char msg)
|
8690
|
+
msg=(char const * msg)
|
8713
8691
|
|
8714
8692
|
An instance method.
|
8715
8693
|
|
@@ -8751,7 +8729,7 @@ fail:
|
|
8751
8729
|
Document-method: Openwsman::Status.msg
|
8752
8730
|
|
8753
8731
|
call-seq:
|
8754
|
-
msg -> char
|
8732
|
+
msg -> char const *
|
8755
8733
|
|
8756
8734
|
An instance method.
|
8757
8735
|
|
@@ -8785,7 +8763,7 @@ fail:
|
|
8785
8763
|
Document-method: Openwsman::Status.generate_fault
|
8786
8764
|
|
8787
8765
|
call-seq:
|
8788
|
-
generate_fault(
|
8766
|
+
generate_fault(XmlDoc doc) -> XmlDoc
|
8789
8767
|
|
8790
8768
|
An instance method.
|
8791
8769
|
|
@@ -8830,7 +8808,7 @@ fail:
|
|
8830
8808
|
|
8831
8809
|
|
8832
8810
|
*/
|
8833
|
-
swig_class SwigClassFault;
|
8811
|
+
static swig_class SwigClassFault;
|
8834
8812
|
|
8835
8813
|
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
8836
8814
|
SWIGINTERN VALUE
|
@@ -8854,7 +8832,7 @@ _wrap_Fault_allocate(VALUE self) {
|
|
8854
8832
|
Document-method: Openwsman::Fault.new
|
8855
8833
|
|
8856
8834
|
call-seq:
|
8857
|
-
Fault.new(
|
8835
|
+
Fault.new(XmlDoc doc)
|
8858
8836
|
|
8859
8837
|
Class constructor.
|
8860
8838
|
|
@@ -8895,7 +8873,7 @@ free__WsManFault(struct _WsManFault *arg1) {
|
|
8895
8873
|
Document-method: Openwsman::Fault.code
|
8896
8874
|
|
8897
8875
|
call-seq:
|
8898
|
-
code -> char
|
8876
|
+
code -> char const *
|
8899
8877
|
|
8900
8878
|
An instance method.
|
8901
8879
|
|
@@ -8929,7 +8907,7 @@ fail:
|
|
8929
8907
|
Document-method: Openwsman::Fault.subcode
|
8930
8908
|
|
8931
8909
|
call-seq:
|
8932
|
-
subcode -> char
|
8910
|
+
subcode -> char const *
|
8933
8911
|
|
8934
8912
|
An instance method.
|
8935
8913
|
|
@@ -8963,7 +8941,7 @@ fail:
|
|
8963
8941
|
Document-method: Openwsman::Fault.reason
|
8964
8942
|
|
8965
8943
|
call-seq:
|
8966
|
-
reason -> char
|
8944
|
+
reason -> char const *
|
8967
8945
|
|
8968
8946
|
An instance method.
|
8969
8947
|
|
@@ -8997,7 +8975,7 @@ fail:
|
|
8997
8975
|
Document-method: Openwsman::Fault.detail
|
8998
8976
|
|
8999
8977
|
call-seq:
|
9000
|
-
detail -> char
|
8978
|
+
detail -> char const *
|
9001
8979
|
|
9002
8980
|
An instance method.
|
9003
8981
|
|
@@ -9034,7 +9012,7 @@ fail:
|
|
9034
9012
|
|
9035
9013
|
|
9036
9014
|
*/
|
9037
|
-
swig_class SwigClassTransport;
|
9015
|
+
static swig_class SwigClassTransport;
|
9038
9016
|
|
9039
9017
|
|
9040
9018
|
/*
|
@@ -9048,7 +9026,7 @@ An instance method.
|
|
9048
9026
|
*/
|
9049
9027
|
SWIGINTERN VALUE
|
9050
9028
|
_wrap_Transport_auth_methodq___(int argc, VALUE *argv, VALUE self) {
|
9051
|
-
|
9029
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
9052
9030
|
int arg2 ;
|
9053
9031
|
void *argp1 = 0 ;
|
9054
9032
|
int res1 = 0 ;
|
@@ -9062,15 +9040,15 @@ _wrap_Transport_auth_methodq___(int argc, VALUE *argv, VALUE self) {
|
|
9062
9040
|
}
|
9063
9041
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
9064
9042
|
if (!SWIG_IsOK(res1)) {
|
9065
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
9043
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","is_auth_method", 1, self ));
|
9066
9044
|
}
|
9067
|
-
arg1 = (
|
9045
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
9068
9046
|
ecode2 = SWIG_AsVal_int(argv[0], &val2);
|
9069
9047
|
if (!SWIG_IsOK(ecode2)) {
|
9070
9048
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","is_auth_method", 2, argv[0] ));
|
9071
9049
|
}
|
9072
9050
|
arg2 = (int)(val2);
|
9073
|
-
result = (int)
|
9051
|
+
result = (int)_WsManTransport_is_auth_method(arg1,arg2);
|
9074
9052
|
vresult = SWIG_From_int((int)(result));
|
9075
9053
|
return vresult;
|
9076
9054
|
fail:
|
@@ -9090,7 +9068,7 @@ An instance method.
|
|
9090
9068
|
*/
|
9091
9069
|
SWIGINTERN VALUE
|
9092
9070
|
_wrap_Transport_close(int argc, VALUE *argv, VALUE self) {
|
9093
|
-
|
9071
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
9094
9072
|
void *argp1 = 0 ;
|
9095
9073
|
int res1 = 0 ;
|
9096
9074
|
|
@@ -9099,10 +9077,10 @@ _wrap_Transport_close(int argc, VALUE *argv, VALUE self) {
|
|
9099
9077
|
}
|
9100
9078
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
9101
9079
|
if (!SWIG_IsOK(res1)) {
|
9102
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
9080
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","close", 1, self ));
|
9103
9081
|
}
|
9104
|
-
arg1 = (
|
9105
|
-
|
9082
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
9083
|
+
_WsManTransport_close(arg1);
|
9106
9084
|
return Qnil;
|
9107
9085
|
fail:
|
9108
9086
|
return Qnil;
|
@@ -9114,14 +9092,14 @@ fail:
|
|
9114
9092
|
Document-method: Openwsman::Transport.agent=
|
9115
9093
|
|
9116
9094
|
call-seq:
|
9117
|
-
agent=(char agent)
|
9095
|
+
agent=(char const * agent)
|
9118
9096
|
|
9119
9097
|
An instance method.
|
9120
9098
|
|
9121
9099
|
*/
|
9122
9100
|
SWIGINTERN VALUE
|
9123
9101
|
_wrap_Transport_agente___(int argc, VALUE *argv, VALUE self) {
|
9124
|
-
|
9102
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
9125
9103
|
char *arg2 = (char *) 0 ;
|
9126
9104
|
void *argp1 = 0 ;
|
9127
9105
|
int res1 = 0 ;
|
@@ -9134,15 +9112,15 @@ _wrap_Transport_agente___(int argc, VALUE *argv, VALUE self) {
|
|
9134
9112
|
}
|
9135
9113
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
9136
9114
|
if (!SWIG_IsOK(res1)) {
|
9137
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
9115
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","set_agent", 1, self ));
|
9138
9116
|
}
|
9139
|
-
arg1 = (
|
9117
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
9140
9118
|
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
|
9141
9119
|
if (!SWIG_IsOK(res2)) {
|
9142
9120
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","set_agent", 2, argv[0] ));
|
9143
9121
|
}
|
9144
9122
|
arg2 = (char *)(buf2);
|
9145
|
-
|
9123
|
+
_WsManTransport_set_agent(arg1,(char const *)arg2);
|
9146
9124
|
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
|
9147
9125
|
return Qnil;
|
9148
9126
|
fail:
|
@@ -9156,14 +9134,14 @@ fail:
|
|
9156
9134
|
Document-method: Openwsman::Transport.agent
|
9157
9135
|
|
9158
9136
|
call-seq:
|
9159
|
-
agent -> char
|
9137
|
+
agent -> char *
|
9160
9138
|
|
9161
9139
|
An instance method.
|
9162
9140
|
|
9163
9141
|
*/
|
9164
9142
|
SWIGINTERN VALUE
|
9165
9143
|
_wrap_Transport_agent(int argc, VALUE *argv, VALUE self) {
|
9166
|
-
|
9144
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
9167
9145
|
void *argp1 = 0 ;
|
9168
9146
|
int res1 = 0 ;
|
9169
9147
|
char *result = 0 ;
|
@@ -9174,10 +9152,10 @@ _wrap_Transport_agent(int argc, VALUE *argv, VALUE self) {
|
|
9174
9152
|
}
|
9175
9153
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
9176
9154
|
if (!SWIG_IsOK(res1)) {
|
9177
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
9155
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","agent", 1, self ));
|
9178
9156
|
}
|
9179
|
-
arg1 = (
|
9180
|
-
result = (char *)
|
9157
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
9158
|
+
result = (char *)_WsManTransport_agent(arg1);
|
9181
9159
|
vresult = SWIG_FromCharPtr((const char *)result);
|
9182
9160
|
free(result);
|
9183
9161
|
return vresult;
|
@@ -9191,14 +9169,14 @@ fail:
|
|
9191
9169
|
Document-method: Openwsman::Transport.username
|
9192
9170
|
|
9193
9171
|
call-seq:
|
9194
|
-
username -> char
|
9172
|
+
username -> char *
|
9195
9173
|
|
9196
9174
|
An instance method.
|
9197
9175
|
|
9198
9176
|
*/
|
9199
9177
|
SWIGINTERN VALUE
|
9200
9178
|
_wrap_Transport_username(int argc, VALUE *argv, VALUE self) {
|
9201
|
-
|
9179
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
9202
9180
|
void *argp1 = 0 ;
|
9203
9181
|
int res1 = 0 ;
|
9204
9182
|
char *result = 0 ;
|
@@ -9209,10 +9187,10 @@ _wrap_Transport_username(int argc, VALUE *argv, VALUE self) {
|
|
9209
9187
|
}
|
9210
9188
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
9211
9189
|
if (!SWIG_IsOK(res1)) {
|
9212
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
9190
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","get_username", 1, self ));
|
9213
9191
|
}
|
9214
|
-
arg1 = (
|
9215
|
-
result = (char *)
|
9192
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
9193
|
+
result = (char *)_WsManTransport_get_username(arg1);
|
9216
9194
|
vresult = SWIG_FromCharPtr((const char *)result);
|
9217
9195
|
free(result);
|
9218
9196
|
return vresult;
|
@@ -9226,14 +9204,14 @@ fail:
|
|
9226
9204
|
Document-method: Openwsman::Transport.username=
|
9227
9205
|
|
9228
9206
|
call-seq:
|
9229
|
-
username=(char user_name)
|
9207
|
+
username=(char * user_name)
|
9230
9208
|
|
9231
9209
|
An instance method.
|
9232
9210
|
|
9233
9211
|
*/
|
9234
9212
|
SWIGINTERN VALUE
|
9235
9213
|
_wrap_Transport_usernamee___(int argc, VALUE *argv, VALUE self) {
|
9236
|
-
|
9214
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
9237
9215
|
char *arg2 = (char *) 0 ;
|
9238
9216
|
void *argp1 = 0 ;
|
9239
9217
|
int res1 = 0 ;
|
@@ -9246,15 +9224,15 @@ _wrap_Transport_usernamee___(int argc, VALUE *argv, VALUE self) {
|
|
9246
9224
|
}
|
9247
9225
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
9248
9226
|
if (!SWIG_IsOK(res1)) {
|
9249
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
9227
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","set_username", 1, self ));
|
9250
9228
|
}
|
9251
|
-
arg1 = (
|
9229
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
9252
9230
|
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
|
9253
9231
|
if (!SWIG_IsOK(res2)) {
|
9254
9232
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","set_username", 2, argv[0] ));
|
9255
9233
|
}
|
9256
9234
|
arg2 = (char *)(buf2);
|
9257
|
-
|
9235
|
+
_WsManTransport_set_username(arg1,arg2);
|
9258
9236
|
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
|
9259
9237
|
return Qnil;
|
9260
9238
|
fail:
|
@@ -9268,14 +9246,14 @@ fail:
|
|
9268
9246
|
Document-method: Openwsman::Transport.password
|
9269
9247
|
|
9270
9248
|
call-seq:
|
9271
|
-
password -> char
|
9249
|
+
password -> char *
|
9272
9250
|
|
9273
9251
|
An instance method.
|
9274
9252
|
|
9275
9253
|
*/
|
9276
9254
|
SWIGINTERN VALUE
|
9277
9255
|
_wrap_Transport_password(int argc, VALUE *argv, VALUE self) {
|
9278
|
-
|
9256
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
9279
9257
|
void *argp1 = 0 ;
|
9280
9258
|
int res1 = 0 ;
|
9281
9259
|
char *result = 0 ;
|
@@ -9286,10 +9264,10 @@ _wrap_Transport_password(int argc, VALUE *argv, VALUE self) {
|
|
9286
9264
|
}
|
9287
9265
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
9288
9266
|
if (!SWIG_IsOK(res1)) {
|
9289
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
9267
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","get_password", 1, self ));
|
9290
9268
|
}
|
9291
|
-
arg1 = (
|
9292
|
-
result = (char *)
|
9269
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
9270
|
+
result = (char *)_WsManTransport_get_password(arg1);
|
9293
9271
|
vresult = SWIG_FromCharPtr((const char *)result);
|
9294
9272
|
free(result);
|
9295
9273
|
return vresult;
|
@@ -9303,14 +9281,14 @@ fail:
|
|
9303
9281
|
Document-method: Openwsman::Transport.password=
|
9304
9282
|
|
9305
9283
|
call-seq:
|
9306
|
-
password=(char password)
|
9284
|
+
password=(char * password)
|
9307
9285
|
|
9308
9286
|
An instance method.
|
9309
9287
|
|
9310
9288
|
*/
|
9311
9289
|
SWIGINTERN VALUE
|
9312
9290
|
_wrap_Transport_passworde___(int argc, VALUE *argv, VALUE self) {
|
9313
|
-
|
9291
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
9314
9292
|
char *arg2 = (char *) 0 ;
|
9315
9293
|
void *argp1 = 0 ;
|
9316
9294
|
int res1 = 0 ;
|
@@ -9323,15 +9301,15 @@ _wrap_Transport_passworde___(int argc, VALUE *argv, VALUE self) {
|
|
9323
9301
|
}
|
9324
9302
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
9325
9303
|
if (!SWIG_IsOK(res1)) {
|
9326
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
9304
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","set_password", 1, self ));
|
9327
9305
|
}
|
9328
|
-
arg1 = (
|
9306
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
9329
9307
|
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
|
9330
9308
|
if (!SWIG_IsOK(res2)) {
|
9331
9309
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","set_password", 2, argv[0] ));
|
9332
9310
|
}
|
9333
9311
|
arg2 = (char *)(buf2);
|
9334
|
-
|
9312
|
+
_WsManTransport_set_password(arg1,arg2);
|
9335
9313
|
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
|
9336
9314
|
return Qnil;
|
9337
9315
|
fail:
|
@@ -9345,14 +9323,14 @@ fail:
|
|
9345
9323
|
Document-method: Openwsman::Transport.proxy_username
|
9346
9324
|
|
9347
9325
|
call-seq:
|
9348
|
-
proxy_username -> char
|
9326
|
+
proxy_username -> char *
|
9349
9327
|
|
9350
9328
|
An instance method.
|
9351
9329
|
|
9352
9330
|
*/
|
9353
9331
|
SWIGINTERN VALUE
|
9354
9332
|
_wrap_Transport_proxy_username(int argc, VALUE *argv, VALUE self) {
|
9355
|
-
|
9333
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
9356
9334
|
void *argp1 = 0 ;
|
9357
9335
|
int res1 = 0 ;
|
9358
9336
|
char *result = 0 ;
|
@@ -9363,10 +9341,10 @@ _wrap_Transport_proxy_username(int argc, VALUE *argv, VALUE self) {
|
|
9363
9341
|
}
|
9364
9342
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
9365
9343
|
if (!SWIG_IsOK(res1)) {
|
9366
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
9344
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","get_proxy_username", 1, self ));
|
9367
9345
|
}
|
9368
|
-
arg1 = (
|
9369
|
-
result = (char *)
|
9346
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
9347
|
+
result = (char *)_WsManTransport_get_proxy_username(arg1);
|
9370
9348
|
vresult = SWIG_FromCharPtr((const char *)result);
|
9371
9349
|
free(result);
|
9372
9350
|
return vresult;
|
@@ -9380,14 +9358,14 @@ fail:
|
|
9380
9358
|
Document-method: Openwsman::Transport.proxy_username=
|
9381
9359
|
|
9382
9360
|
call-seq:
|
9383
|
-
proxy_username=(char proxy_username)
|
9361
|
+
proxy_username=(char * proxy_username)
|
9384
9362
|
|
9385
9363
|
An instance method.
|
9386
9364
|
|
9387
9365
|
*/
|
9388
9366
|
SWIGINTERN VALUE
|
9389
9367
|
_wrap_Transport_proxy_usernamee___(int argc, VALUE *argv, VALUE self) {
|
9390
|
-
|
9368
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
9391
9369
|
char *arg2 = (char *) 0 ;
|
9392
9370
|
void *argp1 = 0 ;
|
9393
9371
|
int res1 = 0 ;
|
@@ -9400,15 +9378,15 @@ _wrap_Transport_proxy_usernamee___(int argc, VALUE *argv, VALUE self) {
|
|
9400
9378
|
}
|
9401
9379
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
9402
9380
|
if (!SWIG_IsOK(res1)) {
|
9403
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
9381
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","set_proxy_username", 1, self ));
|
9404
9382
|
}
|
9405
|
-
arg1 = (
|
9383
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
9406
9384
|
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
|
9407
9385
|
if (!SWIG_IsOK(res2)) {
|
9408
9386
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","set_proxy_username", 2, argv[0] ));
|
9409
9387
|
}
|
9410
9388
|
arg2 = (char *)(buf2);
|
9411
|
-
|
9389
|
+
_WsManTransport_set_proxy_username(arg1,arg2);
|
9412
9390
|
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
|
9413
9391
|
return Qnil;
|
9414
9392
|
fail:
|
@@ -9422,14 +9400,14 @@ fail:
|
|
9422
9400
|
Document-method: Openwsman::Transport.proxy_password
|
9423
9401
|
|
9424
9402
|
call-seq:
|
9425
|
-
proxy_password -> char
|
9403
|
+
proxy_password -> char *
|
9426
9404
|
|
9427
9405
|
An instance method.
|
9428
9406
|
|
9429
9407
|
*/
|
9430
9408
|
SWIGINTERN VALUE
|
9431
9409
|
_wrap_Transport_proxy_password(int argc, VALUE *argv, VALUE self) {
|
9432
|
-
|
9410
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
9433
9411
|
void *argp1 = 0 ;
|
9434
9412
|
int res1 = 0 ;
|
9435
9413
|
char *result = 0 ;
|
@@ -9440,10 +9418,10 @@ _wrap_Transport_proxy_password(int argc, VALUE *argv, VALUE self) {
|
|
9440
9418
|
}
|
9441
9419
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
9442
9420
|
if (!SWIG_IsOK(res1)) {
|
9443
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
9421
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","get_proxy_password", 1, self ));
|
9444
9422
|
}
|
9445
|
-
arg1 = (
|
9446
|
-
result = (char *)
|
9423
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
9424
|
+
result = (char *)_WsManTransport_get_proxy_password(arg1);
|
9447
9425
|
vresult = SWIG_FromCharPtr((const char *)result);
|
9448
9426
|
free(result);
|
9449
9427
|
return vresult;
|
@@ -9457,14 +9435,14 @@ fail:
|
|
9457
9435
|
Document-method: Openwsman::Transport.proxy_password=
|
9458
9436
|
|
9459
9437
|
call-seq:
|
9460
|
-
proxy_password=(char proxy_password)
|
9438
|
+
proxy_password=(char * proxy_password)
|
9461
9439
|
|
9462
9440
|
An instance method.
|
9463
9441
|
|
9464
9442
|
*/
|
9465
9443
|
SWIGINTERN VALUE
|
9466
9444
|
_wrap_Transport_proxy_passworde___(int argc, VALUE *argv, VALUE self) {
|
9467
|
-
|
9445
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
9468
9446
|
char *arg2 = (char *) 0 ;
|
9469
9447
|
void *argp1 = 0 ;
|
9470
9448
|
int res1 = 0 ;
|
@@ -9477,15 +9455,15 @@ _wrap_Transport_proxy_passworde___(int argc, VALUE *argv, VALUE self) {
|
|
9477
9455
|
}
|
9478
9456
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
9479
9457
|
if (!SWIG_IsOK(res1)) {
|
9480
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
9458
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","set_proxy_password", 1, self ));
|
9481
9459
|
}
|
9482
|
-
arg1 = (
|
9460
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
9483
9461
|
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
|
9484
9462
|
if (!SWIG_IsOK(res2)) {
|
9485
9463
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","set_proxy_password", 2, argv[0] ));
|
9486
9464
|
}
|
9487
9465
|
arg2 = (char *)(buf2);
|
9488
|
-
|
9466
|
+
_WsManTransport_set_proxy_password(arg1,arg2);
|
9489
9467
|
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
|
9490
9468
|
return Qnil;
|
9491
9469
|
fail:
|
@@ -9499,14 +9477,14 @@ fail:
|
|
9499
9477
|
Document-method: Openwsman::Transport.auth_method=
|
9500
9478
|
|
9501
9479
|
call-seq:
|
9502
|
-
auth_method=(char am)
|
9480
|
+
auth_method=(char const * am)
|
9503
9481
|
|
9504
9482
|
An instance method.
|
9505
9483
|
|
9506
9484
|
*/
|
9507
9485
|
SWIGINTERN VALUE
|
9508
9486
|
_wrap_Transport_auth_methode___(int argc, VALUE *argv, VALUE self) {
|
9509
|
-
|
9487
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
9510
9488
|
char *arg2 = (char *) 0 ;
|
9511
9489
|
void *argp1 = 0 ;
|
9512
9490
|
int res1 = 0 ;
|
@@ -9519,15 +9497,15 @@ _wrap_Transport_auth_methode___(int argc, VALUE *argv, VALUE self) {
|
|
9519
9497
|
}
|
9520
9498
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
9521
9499
|
if (!SWIG_IsOK(res1)) {
|
9522
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
9500
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","set_auth_method", 1, self ));
|
9523
9501
|
}
|
9524
|
-
arg1 = (
|
9502
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
9525
9503
|
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
|
9526
9504
|
if (!SWIG_IsOK(res2)) {
|
9527
9505
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","set_auth_method", 2, argv[0] ));
|
9528
9506
|
}
|
9529
9507
|
arg2 = (char *)(buf2);
|
9530
|
-
|
9508
|
+
_WsManTransport_set_auth_method(arg1,(char const *)arg2);
|
9531
9509
|
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
|
9532
9510
|
return Qnil;
|
9533
9511
|
fail:
|
@@ -9541,14 +9519,14 @@ fail:
|
|
9541
9519
|
Document-method: Openwsman::Transport.auth_method
|
9542
9520
|
|
9543
9521
|
call-seq:
|
9544
|
-
auth_method -> char
|
9522
|
+
auth_method -> char *
|
9545
9523
|
|
9546
9524
|
An instance method.
|
9547
9525
|
|
9548
9526
|
*/
|
9549
9527
|
SWIGINTERN VALUE
|
9550
9528
|
_wrap_Transport_auth_method(int argc, VALUE *argv, VALUE self) {
|
9551
|
-
|
9529
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
9552
9530
|
void *argp1 = 0 ;
|
9553
9531
|
int res1 = 0 ;
|
9554
9532
|
char *result = 0 ;
|
@@ -9559,10 +9537,10 @@ _wrap_Transport_auth_method(int argc, VALUE *argv, VALUE self) {
|
|
9559
9537
|
}
|
9560
9538
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
9561
9539
|
if (!SWIG_IsOK(res1)) {
|
9562
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
9540
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","auth_method", 1, self ));
|
9563
9541
|
}
|
9564
|
-
arg1 = (
|
9565
|
-
result = (char *)
|
9542
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
9543
|
+
result = (char *)_WsManTransport_auth_method(arg1);
|
9566
9544
|
vresult = SWIG_FromCharPtr((const char *)result);
|
9567
9545
|
free(result);
|
9568
9546
|
return vresult;
|
@@ -9576,7 +9554,7 @@ fail:
|
|
9576
9554
|
Document-method: Openwsman::Transport.auth_name
|
9577
9555
|
|
9578
9556
|
call-seq:
|
9579
|
-
auth_name(int auth) -> char
|
9557
|
+
auth_name(int auth) -> char const *
|
9580
9558
|
|
9581
9559
|
A class method.
|
9582
9560
|
|
@@ -9594,10 +9572,10 @@ _wrap_Transport_auth_name(int argc, VALUE *argv, VALUE self) {
|
|
9594
9572
|
}
|
9595
9573
|
ecode1 = SWIG_AsVal_int(argv[0], &val1);
|
9596
9574
|
if (!SWIG_IsOK(ecode1)) {
|
9597
|
-
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","
|
9575
|
+
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","_WsManTransport_auth_name", 1, argv[0] ));
|
9598
9576
|
}
|
9599
9577
|
arg1 = (int)(val1);
|
9600
|
-
result = (char *)
|
9578
|
+
result = (char *)_WsManTransport_auth_name(arg1);
|
9601
9579
|
vresult = SWIG_FromCharPtr((const char *)result);
|
9602
9580
|
return vresult;
|
9603
9581
|
fail:
|
@@ -9617,7 +9595,7 @@ An instance method.
|
|
9617
9595
|
*/
|
9618
9596
|
SWIGINTERN VALUE
|
9619
9597
|
_wrap_Transport_auth_value(int argc, VALUE *argv, VALUE self) {
|
9620
|
-
|
9598
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
9621
9599
|
void *argp1 = 0 ;
|
9622
9600
|
int res1 = 0 ;
|
9623
9601
|
int result;
|
@@ -9628,10 +9606,10 @@ _wrap_Transport_auth_value(int argc, VALUE *argv, VALUE self) {
|
|
9628
9606
|
}
|
9629
9607
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
9630
9608
|
if (!SWIG_IsOK(res1)) {
|
9631
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
9609
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","auth_value", 1, self ));
|
9632
9610
|
}
|
9633
|
-
arg1 = (
|
9634
|
-
result = (int)
|
9611
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
9612
|
+
result = (int)_WsManTransport_auth_value(arg1);
|
9635
9613
|
vresult = SWIG_From_int((int)(result));
|
9636
9614
|
return vresult;
|
9637
9615
|
fail:
|
@@ -9644,7 +9622,7 @@ fail:
|
|
9644
9622
|
Document-method: Openwsman::Transport.error_string
|
9645
9623
|
|
9646
9624
|
call-seq:
|
9647
|
-
error_string(int err) -> char
|
9625
|
+
error_string(int err) -> char *
|
9648
9626
|
|
9649
9627
|
A class method.
|
9650
9628
|
|
@@ -9662,10 +9640,10 @@ _wrap_Transport_error_string(int argc, VALUE *argv, VALUE self) {
|
|
9662
9640
|
}
|
9663
9641
|
ecode1 = SWIG_AsVal_int(argv[0], &val1);
|
9664
9642
|
if (!SWIG_IsOK(ecode1)) {
|
9665
|
-
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","
|
9643
|
+
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "int","_WsManTransport_error_string", 1, argv[0] ));
|
9666
9644
|
}
|
9667
9645
|
arg1 = (int)(val1);
|
9668
|
-
result = (char *)
|
9646
|
+
result = (char *)_WsManTransport_error_string(arg1);
|
9669
9647
|
vresult = SWIG_FromCharPtr((const char *)result);
|
9670
9648
|
return vresult;
|
9671
9649
|
fail:
|
@@ -9685,7 +9663,7 @@ An instance method.
|
|
9685
9663
|
*/
|
9686
9664
|
SWIGINTERN VALUE
|
9687
9665
|
_wrap_Transport_timeoute___(int argc, VALUE *argv, VALUE self) {
|
9688
|
-
|
9666
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
9689
9667
|
unsigned long arg2 ;
|
9690
9668
|
void *argp1 = 0 ;
|
9691
9669
|
int res1 = 0 ;
|
@@ -9697,15 +9675,15 @@ _wrap_Transport_timeoute___(int argc, VALUE *argv, VALUE self) {
|
|
9697
9675
|
}
|
9698
9676
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
9699
9677
|
if (!SWIG_IsOK(res1)) {
|
9700
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
9678
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","set_timeout", 1, self ));
|
9701
9679
|
}
|
9702
|
-
arg1 = (
|
9680
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
9703
9681
|
ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2);
|
9704
9682
|
if (!SWIG_IsOK(ecode2)) {
|
9705
9683
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned long","set_timeout", 2, argv[0] ));
|
9706
9684
|
}
|
9707
9685
|
arg2 = (unsigned long)(val2);
|
9708
|
-
|
9686
|
+
_WsManTransport_set_timeout(arg1,arg2);
|
9709
9687
|
return Qnil;
|
9710
9688
|
fail:
|
9711
9689
|
return Qnil;
|
@@ -9724,7 +9702,7 @@ An instance method.
|
|
9724
9702
|
*/
|
9725
9703
|
SWIGINTERN VALUE
|
9726
9704
|
_wrap_Transport_timeout(int argc, VALUE *argv, VALUE self) {
|
9727
|
-
|
9705
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
9728
9706
|
void *argp1 = 0 ;
|
9729
9707
|
int res1 = 0 ;
|
9730
9708
|
unsigned long result;
|
@@ -9735,10 +9713,10 @@ _wrap_Transport_timeout(int argc, VALUE *argv, VALUE self) {
|
|
9735
9713
|
}
|
9736
9714
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
9737
9715
|
if (!SWIG_IsOK(res1)) {
|
9738
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
9716
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","timeout", 1, self ));
|
9739
9717
|
}
|
9740
|
-
arg1 = (
|
9741
|
-
result = (unsigned long)
|
9718
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
9719
|
+
result = (unsigned long)_WsManTransport_timeout(arg1);
|
9742
9720
|
vresult = SWIG_From_unsigned_SS_long((unsigned long)(result));
|
9743
9721
|
return vresult;
|
9744
9722
|
fail:
|
@@ -9758,7 +9736,7 @@ An instance method.
|
|
9758
9736
|
*/
|
9759
9737
|
SWIGINTERN VALUE
|
9760
9738
|
_wrap_Transport_verify_peere___(int argc, VALUE *argv, VALUE self) {
|
9761
|
-
|
9739
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
9762
9740
|
unsigned int arg2 ;
|
9763
9741
|
void *argp1 = 0 ;
|
9764
9742
|
int res1 = 0 ;
|
@@ -9770,15 +9748,15 @@ _wrap_Transport_verify_peere___(int argc, VALUE *argv, VALUE self) {
|
|
9770
9748
|
}
|
9771
9749
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
9772
9750
|
if (!SWIG_IsOK(res1)) {
|
9773
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
9751
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","set_verify_peer", 1, self ));
|
9774
9752
|
}
|
9775
|
-
arg1 = (
|
9753
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
9776
9754
|
ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
|
9777
9755
|
if (!SWIG_IsOK(ecode2)) {
|
9778
9756
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned int","set_verify_peer", 2, argv[0] ));
|
9779
9757
|
}
|
9780
9758
|
arg2 = (unsigned int)(val2);
|
9781
|
-
|
9759
|
+
_WsManTransport_set_verify_peer(arg1,arg2);
|
9782
9760
|
return Qnil;
|
9783
9761
|
fail:
|
9784
9762
|
return Qnil;
|
@@ -9797,7 +9775,7 @@ An instance method.
|
|
9797
9775
|
*/
|
9798
9776
|
SWIGINTERN VALUE
|
9799
9777
|
_wrap_Transport_verify_peer(int argc, VALUE *argv, VALUE self) {
|
9800
|
-
|
9778
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
9801
9779
|
void *argp1 = 0 ;
|
9802
9780
|
int res1 = 0 ;
|
9803
9781
|
unsigned int result;
|
@@ -9808,10 +9786,10 @@ _wrap_Transport_verify_peer(int argc, VALUE *argv, VALUE self) {
|
|
9808
9786
|
}
|
9809
9787
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
9810
9788
|
if (!SWIG_IsOK(res1)) {
|
9811
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
9789
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","verify_peer", 1, self ));
|
9812
9790
|
}
|
9813
|
-
arg1 = (
|
9814
|
-
result = (unsigned int)
|
9791
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
9792
|
+
result = (unsigned int)_WsManTransport_verify_peer(arg1);
|
9815
9793
|
vresult = SWIG_From_unsigned_SS_int((unsigned int)(result));
|
9816
9794
|
return vresult;
|
9817
9795
|
fail:
|
@@ -9831,7 +9809,7 @@ An instance method.
|
|
9831
9809
|
*/
|
9832
9810
|
SWIGINTERN VALUE
|
9833
9811
|
_wrap_Transport_verify_hoste___(int argc, VALUE *argv, VALUE self) {
|
9834
|
-
|
9812
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
9835
9813
|
unsigned int arg2 ;
|
9836
9814
|
void *argp1 = 0 ;
|
9837
9815
|
int res1 = 0 ;
|
@@ -9843,15 +9821,15 @@ _wrap_Transport_verify_hoste___(int argc, VALUE *argv, VALUE self) {
|
|
9843
9821
|
}
|
9844
9822
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
9845
9823
|
if (!SWIG_IsOK(res1)) {
|
9846
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
9824
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","set_verify_host", 1, self ));
|
9847
9825
|
}
|
9848
|
-
arg1 = (
|
9826
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
9849
9827
|
ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
|
9850
9828
|
if (!SWIG_IsOK(ecode2)) {
|
9851
9829
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned int","set_verify_host", 2, argv[0] ));
|
9852
9830
|
}
|
9853
9831
|
arg2 = (unsigned int)(val2);
|
9854
|
-
|
9832
|
+
_WsManTransport_set_verify_host(arg1,arg2);
|
9855
9833
|
return Qnil;
|
9856
9834
|
fail:
|
9857
9835
|
return Qnil;
|
@@ -9870,7 +9848,7 @@ An instance method.
|
|
9870
9848
|
*/
|
9871
9849
|
SWIGINTERN VALUE
|
9872
9850
|
_wrap_Transport_verify_host(int argc, VALUE *argv, VALUE self) {
|
9873
|
-
|
9851
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
9874
9852
|
void *argp1 = 0 ;
|
9875
9853
|
int res1 = 0 ;
|
9876
9854
|
unsigned int result;
|
@@ -9881,10 +9859,10 @@ _wrap_Transport_verify_host(int argc, VALUE *argv, VALUE self) {
|
|
9881
9859
|
}
|
9882
9860
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
9883
9861
|
if (!SWIG_IsOK(res1)) {
|
9884
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
9862
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","verify_host", 1, self ));
|
9885
9863
|
}
|
9886
|
-
arg1 = (
|
9887
|
-
result = (unsigned int)
|
9864
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
9865
|
+
result = (unsigned int)_WsManTransport_verify_host(arg1);
|
9888
9866
|
vresult = SWIG_From_unsigned_SS_int((unsigned int)(result));
|
9889
9867
|
return vresult;
|
9890
9868
|
fail:
|
@@ -9897,14 +9875,14 @@ fail:
|
|
9897
9875
|
Document-method: Openwsman::Transport.proxy=
|
9898
9876
|
|
9899
9877
|
call-seq:
|
9900
|
-
proxy=(char proxy)
|
9878
|
+
proxy=(char const * proxy)
|
9901
9879
|
|
9902
9880
|
An instance method.
|
9903
9881
|
|
9904
9882
|
*/
|
9905
9883
|
SWIGINTERN VALUE
|
9906
9884
|
_wrap_Transport_proxye___(int argc, VALUE *argv, VALUE self) {
|
9907
|
-
|
9885
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
9908
9886
|
char *arg2 = (char *) 0 ;
|
9909
9887
|
void *argp1 = 0 ;
|
9910
9888
|
int res1 = 0 ;
|
@@ -9917,15 +9895,15 @@ _wrap_Transport_proxye___(int argc, VALUE *argv, VALUE self) {
|
|
9917
9895
|
}
|
9918
9896
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
9919
9897
|
if (!SWIG_IsOK(res1)) {
|
9920
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
9898
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","set_proxy", 1, self ));
|
9921
9899
|
}
|
9922
|
-
arg1 = (
|
9900
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
9923
9901
|
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
|
9924
9902
|
if (!SWIG_IsOK(res2)) {
|
9925
9903
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","set_proxy", 2, argv[0] ));
|
9926
9904
|
}
|
9927
9905
|
arg2 = (char *)(buf2);
|
9928
|
-
|
9906
|
+
_WsManTransport_set_proxy(arg1,(char const *)arg2);
|
9929
9907
|
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
|
9930
9908
|
return Qnil;
|
9931
9909
|
fail:
|
@@ -9939,14 +9917,14 @@ fail:
|
|
9939
9917
|
Document-method: Openwsman::Transport.proxy
|
9940
9918
|
|
9941
9919
|
call-seq:
|
9942
|
-
proxy -> char
|
9920
|
+
proxy -> char *
|
9943
9921
|
|
9944
9922
|
An instance method.
|
9945
9923
|
|
9946
9924
|
*/
|
9947
9925
|
SWIGINTERN VALUE
|
9948
9926
|
_wrap_Transport_proxy(int argc, VALUE *argv, VALUE self) {
|
9949
|
-
|
9927
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
9950
9928
|
void *argp1 = 0 ;
|
9951
9929
|
int res1 = 0 ;
|
9952
9930
|
char *result = 0 ;
|
@@ -9957,10 +9935,10 @@ _wrap_Transport_proxy(int argc, VALUE *argv, VALUE self) {
|
|
9957
9935
|
}
|
9958
9936
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
9959
9937
|
if (!SWIG_IsOK(res1)) {
|
9960
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
9938
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","proxy", 1, self ));
|
9961
9939
|
}
|
9962
|
-
arg1 = (
|
9963
|
-
result = (char *)
|
9940
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
9941
|
+
result = (char *)_WsManTransport_proxy(arg1);
|
9964
9942
|
vresult = SWIG_FromCharPtr((const char *)result);
|
9965
9943
|
free(result);
|
9966
9944
|
return vresult;
|
@@ -9974,14 +9952,14 @@ fail:
|
|
9974
9952
|
Document-method: Openwsman::Transport.proxyauth=
|
9975
9953
|
|
9976
9954
|
call-seq:
|
9977
|
-
proxyauth=(char pauth)
|
9955
|
+
proxyauth=(char const * pauth)
|
9978
9956
|
|
9979
9957
|
An instance method.
|
9980
9958
|
|
9981
9959
|
*/
|
9982
9960
|
SWIGINTERN VALUE
|
9983
9961
|
_wrap_Transport_proxyauthe___(int argc, VALUE *argv, VALUE self) {
|
9984
|
-
|
9962
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
9985
9963
|
char *arg2 = (char *) 0 ;
|
9986
9964
|
void *argp1 = 0 ;
|
9987
9965
|
int res1 = 0 ;
|
@@ -9994,15 +9972,15 @@ _wrap_Transport_proxyauthe___(int argc, VALUE *argv, VALUE self) {
|
|
9994
9972
|
}
|
9995
9973
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
9996
9974
|
if (!SWIG_IsOK(res1)) {
|
9997
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
9975
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","set_proxyauth", 1, self ));
|
9998
9976
|
}
|
9999
|
-
arg1 = (
|
9977
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
10000
9978
|
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
|
10001
9979
|
if (!SWIG_IsOK(res2)) {
|
10002
9980
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","set_proxyauth", 2, argv[0] ));
|
10003
9981
|
}
|
10004
9982
|
arg2 = (char *)(buf2);
|
10005
|
-
|
9983
|
+
_WsManTransport_set_proxyauth(arg1,(char const *)arg2);
|
10006
9984
|
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
|
10007
9985
|
return Qnil;
|
10008
9986
|
fail:
|
@@ -10016,14 +9994,14 @@ fail:
|
|
10016
9994
|
Document-method: Openwsman::Transport.proxyauth
|
10017
9995
|
|
10018
9996
|
call-seq:
|
10019
|
-
proxyauth -> char
|
9997
|
+
proxyauth -> char *
|
10020
9998
|
|
10021
9999
|
An instance method.
|
10022
10000
|
|
10023
10001
|
*/
|
10024
10002
|
SWIGINTERN VALUE
|
10025
10003
|
_wrap_Transport_proxyauth(int argc, VALUE *argv, VALUE self) {
|
10026
|
-
|
10004
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
10027
10005
|
void *argp1 = 0 ;
|
10028
10006
|
int res1 = 0 ;
|
10029
10007
|
char *result = 0 ;
|
@@ -10034,10 +10012,10 @@ _wrap_Transport_proxyauth(int argc, VALUE *argv, VALUE self) {
|
|
10034
10012
|
}
|
10035
10013
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
10036
10014
|
if (!SWIG_IsOK(res1)) {
|
10037
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
10015
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","proxyauth", 1, self ));
|
10038
10016
|
}
|
10039
|
-
arg1 = (
|
10040
|
-
result = (char *)
|
10017
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
10018
|
+
result = (char *)_WsManTransport_proxyauth(arg1);
|
10041
10019
|
vresult = SWIG_FromCharPtr((const char *)result);
|
10042
10020
|
free(result);
|
10043
10021
|
return vresult;
|
@@ -10051,14 +10029,14 @@ fail:
|
|
10051
10029
|
Document-method: Openwsman::Transport.cainfo=
|
10052
10030
|
|
10053
10031
|
call-seq:
|
10054
|
-
cainfo=(char cainfo)
|
10032
|
+
cainfo=(char const * cainfo)
|
10055
10033
|
|
10056
10034
|
An instance method.
|
10057
10035
|
|
10058
10036
|
*/
|
10059
10037
|
SWIGINTERN VALUE
|
10060
10038
|
_wrap_Transport_cainfoe___(int argc, VALUE *argv, VALUE self) {
|
10061
|
-
|
10039
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
10062
10040
|
char *arg2 = (char *) 0 ;
|
10063
10041
|
void *argp1 = 0 ;
|
10064
10042
|
int res1 = 0 ;
|
@@ -10071,15 +10049,15 @@ _wrap_Transport_cainfoe___(int argc, VALUE *argv, VALUE self) {
|
|
10071
10049
|
}
|
10072
10050
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
10073
10051
|
if (!SWIG_IsOK(res1)) {
|
10074
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
10052
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","set_cainfo", 1, self ));
|
10075
10053
|
}
|
10076
|
-
arg1 = (
|
10054
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
10077
10055
|
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
|
10078
10056
|
if (!SWIG_IsOK(res2)) {
|
10079
10057
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","set_cainfo", 2, argv[0] ));
|
10080
10058
|
}
|
10081
10059
|
arg2 = (char *)(buf2);
|
10082
|
-
|
10060
|
+
_WsManTransport_set_cainfo(arg1,(char const *)arg2);
|
10083
10061
|
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
|
10084
10062
|
return Qnil;
|
10085
10063
|
fail:
|
@@ -10093,14 +10071,14 @@ fail:
|
|
10093
10071
|
Document-method: Openwsman::Transport.cainfo
|
10094
10072
|
|
10095
10073
|
call-seq:
|
10096
|
-
cainfo -> char
|
10074
|
+
cainfo -> char *
|
10097
10075
|
|
10098
10076
|
An instance method.
|
10099
10077
|
|
10100
10078
|
*/
|
10101
10079
|
SWIGINTERN VALUE
|
10102
10080
|
_wrap_Transport_cainfo(int argc, VALUE *argv, VALUE self) {
|
10103
|
-
|
10081
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
10104
10082
|
void *argp1 = 0 ;
|
10105
10083
|
int res1 = 0 ;
|
10106
10084
|
char *result = 0 ;
|
@@ -10111,10 +10089,10 @@ _wrap_Transport_cainfo(int argc, VALUE *argv, VALUE self) {
|
|
10111
10089
|
}
|
10112
10090
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
10113
10091
|
if (!SWIG_IsOK(res1)) {
|
10114
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
10092
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","cainfo", 1, self ));
|
10115
10093
|
}
|
10116
|
-
arg1 = (
|
10117
|
-
result = (char *)
|
10094
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
10095
|
+
result = (char *)_WsManTransport_cainfo(arg1);
|
10118
10096
|
vresult = SWIG_FromCharPtr((const char *)result);
|
10119
10097
|
free(result);
|
10120
10098
|
return vresult;
|
@@ -10128,14 +10106,14 @@ fail:
|
|
10128
10106
|
Document-method: Openwsman::Transport.certhumbprint=
|
10129
10107
|
|
10130
10108
|
call-seq:
|
10131
|
-
certhumbprint=(char arg)
|
10109
|
+
certhumbprint=(char const * arg)
|
10132
10110
|
|
10133
10111
|
An instance method.
|
10134
10112
|
|
10135
10113
|
*/
|
10136
10114
|
SWIGINTERN VALUE
|
10137
10115
|
_wrap_Transport_certhumbprinte___(int argc, VALUE *argv, VALUE self) {
|
10138
|
-
|
10116
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
10139
10117
|
char *arg2 = (char *) 0 ;
|
10140
10118
|
void *argp1 = 0 ;
|
10141
10119
|
int res1 = 0 ;
|
@@ -10148,15 +10126,15 @@ _wrap_Transport_certhumbprinte___(int argc, VALUE *argv, VALUE self) {
|
|
10148
10126
|
}
|
10149
10127
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
10150
10128
|
if (!SWIG_IsOK(res1)) {
|
10151
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
10129
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","set_certhumbprint", 1, self ));
|
10152
10130
|
}
|
10153
|
-
arg1 = (
|
10131
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
10154
10132
|
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
|
10155
10133
|
if (!SWIG_IsOK(res2)) {
|
10156
10134
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","set_certhumbprint", 2, argv[0] ));
|
10157
10135
|
}
|
10158
10136
|
arg2 = (char *)(buf2);
|
10159
|
-
|
10137
|
+
_WsManTransport_set_certhumbprint(arg1,(char const *)arg2);
|
10160
10138
|
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
|
10161
10139
|
return Qnil;
|
10162
10140
|
fail:
|
@@ -10170,14 +10148,14 @@ fail:
|
|
10170
10148
|
Document-method: Openwsman::Transport.certhumbprint
|
10171
10149
|
|
10172
10150
|
call-seq:
|
10173
|
-
certhumbprint -> char
|
10151
|
+
certhumbprint -> char *
|
10174
10152
|
|
10175
10153
|
An instance method.
|
10176
10154
|
|
10177
10155
|
*/
|
10178
10156
|
SWIGINTERN VALUE
|
10179
10157
|
_wrap_Transport_certhumbprint(int argc, VALUE *argv, VALUE self) {
|
10180
|
-
|
10158
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
10181
10159
|
void *argp1 = 0 ;
|
10182
10160
|
int res1 = 0 ;
|
10183
10161
|
char *result = 0 ;
|
@@ -10188,10 +10166,10 @@ _wrap_Transport_certhumbprint(int argc, VALUE *argv, VALUE self) {
|
|
10188
10166
|
}
|
10189
10167
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
10190
10168
|
if (!SWIG_IsOK(res1)) {
|
10191
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
10169
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","certhumbprint", 1, self ));
|
10192
10170
|
}
|
10193
|
-
arg1 = (
|
10194
|
-
result = (char *)
|
10171
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
10172
|
+
result = (char *)_WsManTransport_certhumbprint(arg1);
|
10195
10173
|
vresult = SWIG_FromCharPtr((const char *)result);
|
10196
10174
|
free(result);
|
10197
10175
|
return vresult;
|
@@ -10205,14 +10183,14 @@ fail:
|
|
10205
10183
|
Document-method: Openwsman::Transport.capath=
|
10206
10184
|
|
10207
10185
|
call-seq:
|
10208
|
-
capath=(char capath)
|
10186
|
+
capath=(char const * capath)
|
10209
10187
|
|
10210
10188
|
An instance method.
|
10211
10189
|
|
10212
10190
|
*/
|
10213
10191
|
SWIGINTERN VALUE
|
10214
10192
|
_wrap_Transport_capathe___(int argc, VALUE *argv, VALUE self) {
|
10215
|
-
|
10193
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
10216
10194
|
char *arg2 = (char *) 0 ;
|
10217
10195
|
void *argp1 = 0 ;
|
10218
10196
|
int res1 = 0 ;
|
@@ -10225,15 +10203,15 @@ _wrap_Transport_capathe___(int argc, VALUE *argv, VALUE self) {
|
|
10225
10203
|
}
|
10226
10204
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
10227
10205
|
if (!SWIG_IsOK(res1)) {
|
10228
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
10206
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","set_capath", 1, self ));
|
10229
10207
|
}
|
10230
|
-
arg1 = (
|
10208
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
10231
10209
|
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
|
10232
10210
|
if (!SWIG_IsOK(res2)) {
|
10233
10211
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","set_capath", 2, argv[0] ));
|
10234
10212
|
}
|
10235
10213
|
arg2 = (char *)(buf2);
|
10236
|
-
|
10214
|
+
_WsManTransport_set_capath(arg1,(char const *)arg2);
|
10237
10215
|
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
|
10238
10216
|
return Qnil;
|
10239
10217
|
fail:
|
@@ -10247,14 +10225,14 @@ fail:
|
|
10247
10225
|
Document-method: Openwsman::Transport.capath
|
10248
10226
|
|
10249
10227
|
call-seq:
|
10250
|
-
capath -> char
|
10228
|
+
capath -> char *
|
10251
10229
|
|
10252
10230
|
An instance method.
|
10253
10231
|
|
10254
10232
|
*/
|
10255
10233
|
SWIGINTERN VALUE
|
10256
10234
|
_wrap_Transport_capath(int argc, VALUE *argv, VALUE self) {
|
10257
|
-
|
10235
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
10258
10236
|
void *argp1 = 0 ;
|
10259
10237
|
int res1 = 0 ;
|
10260
10238
|
char *result = 0 ;
|
@@ -10265,10 +10243,10 @@ _wrap_Transport_capath(int argc, VALUE *argv, VALUE self) {
|
|
10265
10243
|
}
|
10266
10244
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
10267
10245
|
if (!SWIG_IsOK(res1)) {
|
10268
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
10246
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","capath", 1, self ));
|
10269
10247
|
}
|
10270
|
-
arg1 = (
|
10271
|
-
result = (char *)
|
10248
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
10249
|
+
result = (char *)_WsManTransport_capath(arg1);
|
10272
10250
|
vresult = SWIG_FromCharPtr((const char *)result);
|
10273
10251
|
free(result);
|
10274
10252
|
return vresult;
|
@@ -10282,14 +10260,14 @@ fail:
|
|
10282
10260
|
Document-method: Openwsman::Transport.caoid=
|
10283
10261
|
|
10284
10262
|
call-seq:
|
10285
|
-
caoid=(char oid)
|
10263
|
+
caoid=(char const * oid)
|
10286
10264
|
|
10287
10265
|
An instance method.
|
10288
10266
|
|
10289
10267
|
*/
|
10290
10268
|
SWIGINTERN VALUE
|
10291
10269
|
_wrap_Transport_caoide___(int argc, VALUE *argv, VALUE self) {
|
10292
|
-
|
10270
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
10293
10271
|
char *arg2 = (char *) 0 ;
|
10294
10272
|
void *argp1 = 0 ;
|
10295
10273
|
int res1 = 0 ;
|
@@ -10302,15 +10280,15 @@ _wrap_Transport_caoide___(int argc, VALUE *argv, VALUE self) {
|
|
10302
10280
|
}
|
10303
10281
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
10304
10282
|
if (!SWIG_IsOK(res1)) {
|
10305
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
10283
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","set_caoid", 1, self ));
|
10306
10284
|
}
|
10307
|
-
arg1 = (
|
10285
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
10308
10286
|
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
|
10309
10287
|
if (!SWIG_IsOK(res2)) {
|
10310
10288
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","set_caoid", 2, argv[0] ));
|
10311
10289
|
}
|
10312
10290
|
arg2 = (char *)(buf2);
|
10313
|
-
|
10291
|
+
_WsManTransport_set_caoid(arg1,(char const *)arg2);
|
10314
10292
|
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
|
10315
10293
|
return Qnil;
|
10316
10294
|
fail:
|
@@ -10324,14 +10302,14 @@ fail:
|
|
10324
10302
|
Document-method: Openwsman::Transport.caoid
|
10325
10303
|
|
10326
10304
|
call-seq:
|
10327
|
-
caoid -> char
|
10305
|
+
caoid -> char *
|
10328
10306
|
|
10329
10307
|
An instance method.
|
10330
10308
|
|
10331
10309
|
*/
|
10332
10310
|
SWIGINTERN VALUE
|
10333
10311
|
_wrap_Transport_caoid(int argc, VALUE *argv, VALUE self) {
|
10334
|
-
|
10312
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
10335
10313
|
void *argp1 = 0 ;
|
10336
10314
|
int res1 = 0 ;
|
10337
10315
|
char *result = 0 ;
|
@@ -10342,10 +10320,10 @@ _wrap_Transport_caoid(int argc, VALUE *argv, VALUE self) {
|
|
10342
10320
|
}
|
10343
10321
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
10344
10322
|
if (!SWIG_IsOK(res1)) {
|
10345
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
10323
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","caoid", 1, self ));
|
10346
10324
|
}
|
10347
|
-
arg1 = (
|
10348
|
-
result = (char *)
|
10325
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
10326
|
+
result = (char *)_WsManTransport_caoid(arg1);
|
10349
10327
|
vresult = SWIG_FromCharPtr((const char *)result);
|
10350
10328
|
free(result);
|
10351
10329
|
return vresult;
|
@@ -10359,14 +10337,14 @@ fail:
|
|
10359
10337
|
Document-method: Openwsman::Transport.cert=
|
10360
10338
|
|
10361
10339
|
call-seq:
|
10362
|
-
cert=(char cert)
|
10340
|
+
cert=(char const * cert)
|
10363
10341
|
|
10364
10342
|
An instance method.
|
10365
10343
|
|
10366
10344
|
*/
|
10367
10345
|
SWIGINTERN VALUE
|
10368
10346
|
_wrap_Transport_certe___(int argc, VALUE *argv, VALUE self) {
|
10369
|
-
|
10347
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
10370
10348
|
char *arg2 = (char *) 0 ;
|
10371
10349
|
void *argp1 = 0 ;
|
10372
10350
|
int res1 = 0 ;
|
@@ -10379,15 +10357,15 @@ _wrap_Transport_certe___(int argc, VALUE *argv, VALUE self) {
|
|
10379
10357
|
}
|
10380
10358
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
10381
10359
|
if (!SWIG_IsOK(res1)) {
|
10382
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
10360
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","set_cert", 1, self ));
|
10383
10361
|
}
|
10384
|
-
arg1 = (
|
10362
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
10385
10363
|
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
|
10386
10364
|
if (!SWIG_IsOK(res2)) {
|
10387
10365
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","set_cert", 2, argv[0] ));
|
10388
10366
|
}
|
10389
10367
|
arg2 = (char *)(buf2);
|
10390
|
-
|
10368
|
+
_WsManTransport_set_cert(arg1,(char const *)arg2);
|
10391
10369
|
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
|
10392
10370
|
return Qnil;
|
10393
10371
|
fail:
|
@@ -10401,14 +10379,14 @@ fail:
|
|
10401
10379
|
Document-method: Openwsman::Transport.cert
|
10402
10380
|
|
10403
10381
|
call-seq:
|
10404
|
-
cert -> char
|
10382
|
+
cert -> char *
|
10405
10383
|
|
10406
10384
|
An instance method.
|
10407
10385
|
|
10408
10386
|
*/
|
10409
10387
|
SWIGINTERN VALUE
|
10410
10388
|
_wrap_Transport_cert(int argc, VALUE *argv, VALUE self) {
|
10411
|
-
|
10389
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
10412
10390
|
void *argp1 = 0 ;
|
10413
10391
|
int res1 = 0 ;
|
10414
10392
|
char *result = 0 ;
|
@@ -10419,10 +10397,10 @@ _wrap_Transport_cert(int argc, VALUE *argv, VALUE self) {
|
|
10419
10397
|
}
|
10420
10398
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
10421
10399
|
if (!SWIG_IsOK(res1)) {
|
10422
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
10400
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","cert", 1, self ));
|
10423
10401
|
}
|
10424
|
-
arg1 = (
|
10425
|
-
result = (char *)
|
10402
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
10403
|
+
result = (char *)_WsManTransport_cert(arg1);
|
10426
10404
|
vresult = SWIG_FromCharPtr((const char *)result);
|
10427
10405
|
free(result);
|
10428
10406
|
return vresult;
|
@@ -10436,14 +10414,14 @@ fail:
|
|
10436
10414
|
Document-method: Openwsman::Transport.key=
|
10437
10415
|
|
10438
10416
|
call-seq:
|
10439
|
-
key=(char key)
|
10417
|
+
key=(char const * key)
|
10440
10418
|
|
10441
10419
|
An instance method.
|
10442
10420
|
|
10443
10421
|
*/
|
10444
10422
|
SWIGINTERN VALUE
|
10445
10423
|
_wrap_Transport_keye___(int argc, VALUE *argv, VALUE self) {
|
10446
|
-
|
10424
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
10447
10425
|
char *arg2 = (char *) 0 ;
|
10448
10426
|
void *argp1 = 0 ;
|
10449
10427
|
int res1 = 0 ;
|
@@ -10456,15 +10434,15 @@ _wrap_Transport_keye___(int argc, VALUE *argv, VALUE self) {
|
|
10456
10434
|
}
|
10457
10435
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
10458
10436
|
if (!SWIG_IsOK(res1)) {
|
10459
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
10437
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","set_key", 1, self ));
|
10460
10438
|
}
|
10461
|
-
arg1 = (
|
10439
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
10462
10440
|
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
|
10463
10441
|
if (!SWIG_IsOK(res2)) {
|
10464
10442
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","set_key", 2, argv[0] ));
|
10465
10443
|
}
|
10466
10444
|
arg2 = (char *)(buf2);
|
10467
|
-
|
10445
|
+
_WsManTransport_set_key(arg1,(char const *)arg2);
|
10468
10446
|
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
|
10469
10447
|
return Qnil;
|
10470
10448
|
fail:
|
@@ -10478,14 +10456,14 @@ fail:
|
|
10478
10456
|
Document-method: Openwsman::Transport.key
|
10479
10457
|
|
10480
10458
|
call-seq:
|
10481
|
-
key -> char
|
10459
|
+
key -> char *
|
10482
10460
|
|
10483
10461
|
An instance method.
|
10484
10462
|
|
10485
10463
|
*/
|
10486
10464
|
SWIGINTERN VALUE
|
10487
10465
|
_wrap_Transport_key(int argc, VALUE *argv, VALUE self) {
|
10488
|
-
|
10466
|
+
struct _WsManTransport *arg1 = (struct _WsManTransport *) 0 ;
|
10489
10467
|
void *argp1 = 0 ;
|
10490
10468
|
int res1 = 0 ;
|
10491
10469
|
char *result = 0 ;
|
@@ -10496,10 +10474,10 @@ _wrap_Transport_key(int argc, VALUE *argv, VALUE self) {
|
|
10496
10474
|
}
|
10497
10475
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManTransport, 0 | 0 );
|
10498
10476
|
if (!SWIG_IsOK(res1)) {
|
10499
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
10477
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManTransport *","key", 1, self ));
|
10500
10478
|
}
|
10501
|
-
arg1 = (
|
10502
|
-
result = (char *)
|
10479
|
+
arg1 = (struct _WsManTransport *)(argp1);
|
10480
|
+
result = (char *)_WsManTransport_key(arg1);
|
10503
10481
|
vresult = SWIG_FromCharPtr((const char *)result);
|
10504
10482
|
free(result);
|
10505
10483
|
return vresult;
|
@@ -10513,7 +10491,7 @@ fail:
|
|
10513
10491
|
Document-method: Openwsman.wsman_send_request
|
10514
10492
|
|
10515
10493
|
call-seq:
|
10516
|
-
wsman_send_request(
|
10494
|
+
wsman_send_request(Client cl, XmlDoc request) -> int
|
10517
10495
|
|
10518
10496
|
A module function.
|
10519
10497
|
|
@@ -10555,7 +10533,7 @@ fail:
|
|
10555
10533
|
Document-method: Openwsman.wsmc_transport_set_auth_request_func
|
10556
10534
|
|
10557
10535
|
call-seq:
|
10558
|
-
wsmc_transport_set_auth_request_func(
|
10536
|
+
wsmc_transport_set_auth_request_func(Client cl, wsman_auth_request_func_t f)
|
10559
10537
|
|
10560
10538
|
A module function.
|
10561
10539
|
|
@@ -10600,7 +10578,7 @@ fail:
|
|
10600
10578
|
Document-method: Openwsman.wsman_is_auth_method
|
10601
10579
|
|
10602
10580
|
call-seq:
|
10603
|
-
wsman_is_auth_method(
|
10581
|
+
wsman_is_auth_method(Client cl, int method) -> int
|
10604
10582
|
|
10605
10583
|
A module function.
|
10606
10584
|
|
@@ -10642,7 +10620,7 @@ fail:
|
|
10642
10620
|
Document-method: Openwsman.wsmc_transport_init
|
10643
10621
|
|
10644
10622
|
call-seq:
|
10645
|
-
wsmc_transport_init(
|
10623
|
+
wsmc_transport_init(Client cl, void * arg) -> int
|
10646
10624
|
|
10647
10625
|
A module function.
|
10648
10626
|
|
@@ -10682,7 +10660,7 @@ fail:
|
|
10682
10660
|
Document-method: Openwsman.wsman_transport_close_transport
|
10683
10661
|
|
10684
10662
|
call-seq:
|
10685
|
-
wsman_transport_close_transport(
|
10663
|
+
wsman_transport_close_transport(Client cl)
|
10686
10664
|
|
10687
10665
|
A module function.
|
10688
10666
|
|
@@ -10713,7 +10691,7 @@ fail:
|
|
10713
10691
|
Document-method: Openwsman.wsmc_transport_fini
|
10714
10692
|
|
10715
10693
|
call-seq:
|
10716
|
-
wsmc_transport_fini(
|
10694
|
+
wsmc_transport_fini(Client cl)
|
10717
10695
|
|
10718
10696
|
A module function.
|
10719
10697
|
|
@@ -10744,7 +10722,7 @@ fail:
|
|
10744
10722
|
Document-method: Openwsman.wsman_transport_set_agent
|
10745
10723
|
|
10746
10724
|
call-seq:
|
10747
|
-
wsman_transport_set_agent(
|
10725
|
+
wsman_transport_set_agent(Client cl, char const * agent)
|
10748
10726
|
|
10749
10727
|
A module function.
|
10750
10728
|
|
@@ -10786,7 +10764,7 @@ fail:
|
|
10786
10764
|
Document-method: Openwsman.wsman_transport_get_agent
|
10787
10765
|
|
10788
10766
|
call-seq:
|
10789
|
-
wsman_transport_get_agent(
|
10767
|
+
wsman_transport_get_agent(Client cl) -> char *
|
10790
10768
|
|
10791
10769
|
A module function.
|
10792
10770
|
|
@@ -10820,7 +10798,7 @@ fail:
|
|
10820
10798
|
Document-method: Openwsman.wsman_transport_set_user_name
|
10821
10799
|
|
10822
10800
|
call-seq:
|
10823
|
-
wsman_transport_set_user_name(
|
10801
|
+
wsman_transport_set_user_name(Client cl, char const * user_name)
|
10824
10802
|
|
10825
10803
|
A module function.
|
10826
10804
|
|
@@ -10862,7 +10840,7 @@ fail:
|
|
10862
10840
|
Document-method: Openwsman.wsman_transport_get_user_name
|
10863
10841
|
|
10864
10842
|
call-seq:
|
10865
|
-
wsman_transport_get_user_name(
|
10843
|
+
wsman_transport_get_user_name(Client cl) -> char *
|
10866
10844
|
|
10867
10845
|
A module function.
|
10868
10846
|
|
@@ -10896,7 +10874,7 @@ fail:
|
|
10896
10874
|
Document-method: Openwsman.wsman_transport_set_password
|
10897
10875
|
|
10898
10876
|
call-seq:
|
10899
|
-
wsman_transport_set_password(
|
10877
|
+
wsman_transport_set_password(Client cl, char const * password)
|
10900
10878
|
|
10901
10879
|
A module function.
|
10902
10880
|
|
@@ -10938,7 +10916,7 @@ fail:
|
|
10938
10916
|
Document-method: Openwsman.wsman_transport_get_password
|
10939
10917
|
|
10940
10918
|
call-seq:
|
10941
|
-
wsman_transport_get_password(
|
10919
|
+
wsman_transport_get_password(Client cl) -> char *
|
10942
10920
|
|
10943
10921
|
A module function.
|
10944
10922
|
|
@@ -10972,7 +10950,7 @@ fail:
|
|
10972
10950
|
Document-method: Openwsman.wsman_transport_set_proxy_username
|
10973
10951
|
|
10974
10952
|
call-seq:
|
10975
|
-
wsman_transport_set_proxy_username(
|
10953
|
+
wsman_transport_set_proxy_username(Client cl, char const * proxy_username)
|
10976
10954
|
|
10977
10955
|
A module function.
|
10978
10956
|
|
@@ -11014,7 +10992,7 @@ fail:
|
|
11014
10992
|
Document-method: Openwsman.wsman_transport_get_proxy_username
|
11015
10993
|
|
11016
10994
|
call-seq:
|
11017
|
-
wsman_transport_get_proxy_username(
|
10995
|
+
wsman_transport_get_proxy_username(Client cl) -> char *
|
11018
10996
|
|
11019
10997
|
A module function.
|
11020
10998
|
|
@@ -11048,7 +11026,7 @@ fail:
|
|
11048
11026
|
Document-method: Openwsman.wsman_transport_set_proxy_password
|
11049
11027
|
|
11050
11028
|
call-seq:
|
11051
|
-
wsman_transport_set_proxy_password(
|
11029
|
+
wsman_transport_set_proxy_password(Client cl, char const * proxy_password)
|
11052
11030
|
|
11053
11031
|
A module function.
|
11054
11032
|
|
@@ -11090,7 +11068,7 @@ fail:
|
|
11090
11068
|
Document-method: Openwsman.wsman_transport_get_proxy_password
|
11091
11069
|
|
11092
11070
|
call-seq:
|
11093
|
-
wsman_transport_get_proxy_password(
|
11071
|
+
wsman_transport_get_proxy_password(Client cl) -> char *
|
11094
11072
|
|
11095
11073
|
A module function.
|
11096
11074
|
|
@@ -11124,7 +11102,7 @@ fail:
|
|
11124
11102
|
Document-method: Openwsman.wsman_transport_set_auth_method
|
11125
11103
|
|
11126
11104
|
call-seq:
|
11127
|
-
wsman_transport_set_auth_method(
|
11105
|
+
wsman_transport_set_auth_method(Client cl, char const * am)
|
11128
11106
|
|
11129
11107
|
A module function.
|
11130
11108
|
|
@@ -11166,7 +11144,7 @@ fail:
|
|
11166
11144
|
Document-method: Openwsman.wsman_transport_get_auth_method
|
11167
11145
|
|
11168
11146
|
call-seq:
|
11169
|
-
wsman_transport_get_auth_method(
|
11147
|
+
wsman_transport_get_auth_method(Client cl) -> char *
|
11170
11148
|
|
11171
11149
|
A module function.
|
11172
11150
|
|
@@ -11200,7 +11178,7 @@ fail:
|
|
11200
11178
|
Document-method: Openwsman.wsmc_transport_get_auth_name
|
11201
11179
|
|
11202
11180
|
call-seq:
|
11203
|
-
wsmc_transport_get_auth_name(wsman_auth_type_t auth) -> char
|
11181
|
+
wsmc_transport_get_auth_name(wsman_auth_type_t auth) -> char const *
|
11204
11182
|
|
11205
11183
|
A module function.
|
11206
11184
|
|
@@ -11240,7 +11218,7 @@ fail:
|
|
11240
11218
|
Document-method: Openwsman.wsmc_transport_get_auth_value
|
11241
11219
|
|
11242
11220
|
call-seq:
|
11243
|
-
wsmc_transport_get_auth_value(
|
11221
|
+
wsmc_transport_get_auth_value(Client cl) -> wsman_auth_type_t
|
11244
11222
|
|
11245
11223
|
A module function.
|
11246
11224
|
|
@@ -11274,7 +11252,7 @@ fail:
|
|
11274
11252
|
Document-method: Openwsman.wsman_transport_get_last_error_string
|
11275
11253
|
|
11276
11254
|
call-seq:
|
11277
|
-
wsman_transport_get_last_error_string(WS_LASTERR_Code err) -> char
|
11255
|
+
wsman_transport_get_last_error_string(WS_LASTERR_Code err) -> char *
|
11278
11256
|
|
11279
11257
|
A module function.
|
11280
11258
|
|
@@ -11314,7 +11292,7 @@ fail:
|
|
11314
11292
|
Document-method: Openwsman.wsman_transport_set_timeout
|
11315
11293
|
|
11316
11294
|
call-seq:
|
11317
|
-
wsman_transport_set_timeout(
|
11295
|
+
wsman_transport_set_timeout(Client cl, unsigned long timeout)
|
11318
11296
|
|
11319
11297
|
A module function.
|
11320
11298
|
|
@@ -11353,7 +11331,7 @@ fail:
|
|
11353
11331
|
Document-method: Openwsman.wsman_transport_get_timeout
|
11354
11332
|
|
11355
11333
|
call-seq:
|
11356
|
-
wsman_transport_get_timeout(
|
11334
|
+
wsman_transport_get_timeout(Client cl) -> unsigned long
|
11357
11335
|
|
11358
11336
|
A module function.
|
11359
11337
|
|
@@ -11387,7 +11365,7 @@ fail:
|
|
11387
11365
|
Document-method: Openwsman.wsman_transport_set_verify_peer
|
11388
11366
|
|
11389
11367
|
call-seq:
|
11390
|
-
wsman_transport_set_verify_peer(
|
11368
|
+
wsman_transport_set_verify_peer(Client cl, unsigned int value)
|
11391
11369
|
|
11392
11370
|
A module function.
|
11393
11371
|
|
@@ -11426,7 +11404,7 @@ fail:
|
|
11426
11404
|
Document-method: Openwsman.wsman_transport_get_verify_peer
|
11427
11405
|
|
11428
11406
|
call-seq:
|
11429
|
-
wsman_transport_get_verify_peer(
|
11407
|
+
wsman_transport_get_verify_peer(Client cl) -> unsigned int
|
11430
11408
|
|
11431
11409
|
A module function.
|
11432
11410
|
|
@@ -11460,7 +11438,7 @@ fail:
|
|
11460
11438
|
Document-method: Openwsman.wsman_transport_set_verify_host
|
11461
11439
|
|
11462
11440
|
call-seq:
|
11463
|
-
wsman_transport_set_verify_host(
|
11441
|
+
wsman_transport_set_verify_host(Client cl, unsigned int value)
|
11464
11442
|
|
11465
11443
|
A module function.
|
11466
11444
|
|
@@ -11499,7 +11477,7 @@ fail:
|
|
11499
11477
|
Document-method: Openwsman.wsman_transport_get_verify_host
|
11500
11478
|
|
11501
11479
|
call-seq:
|
11502
|
-
wsman_transport_get_verify_host(
|
11480
|
+
wsman_transport_get_verify_host(Client cl) -> unsigned int
|
11503
11481
|
|
11504
11482
|
A module function.
|
11505
11483
|
|
@@ -11533,7 +11511,7 @@ fail:
|
|
11533
11511
|
Document-method: Openwsman.wsman_transport_set_crlcheck
|
11534
11512
|
|
11535
11513
|
call-seq:
|
11536
|
-
wsman_transport_set_crlcheck(
|
11514
|
+
wsman_transport_set_crlcheck(Client cl, unsigned int value)
|
11537
11515
|
|
11538
11516
|
A module function.
|
11539
11517
|
|
@@ -11572,7 +11550,7 @@ fail:
|
|
11572
11550
|
Document-method: Openwsman.wsman_transport_get_crlcheck
|
11573
11551
|
|
11574
11552
|
call-seq:
|
11575
|
-
wsman_transport_get_crlcheck(
|
11553
|
+
wsman_transport_get_crlcheck(Client cl) -> unsigned int
|
11576
11554
|
|
11577
11555
|
A module function.
|
11578
11556
|
|
@@ -11606,7 +11584,7 @@ fail:
|
|
11606
11584
|
Document-method: Openwsman.wsman_transport_set_crlfile
|
11607
11585
|
|
11608
11586
|
call-seq:
|
11609
|
-
wsman_transport_set_crlfile(
|
11587
|
+
wsman_transport_set_crlfile(Client cl, char const * arg)
|
11610
11588
|
|
11611
11589
|
A module function.
|
11612
11590
|
|
@@ -11648,7 +11626,7 @@ fail:
|
|
11648
11626
|
Document-method: Openwsman.wsman_transport_get_crlfile
|
11649
11627
|
|
11650
11628
|
call-seq:
|
11651
|
-
wsman_transport_get_crlfile(
|
11629
|
+
wsman_transport_get_crlfile(Client cl) -> char *
|
11652
11630
|
|
11653
11631
|
A module function.
|
11654
11632
|
|
@@ -11682,7 +11660,7 @@ fail:
|
|
11682
11660
|
Document-method: Openwsman.wsman_transport_set_proxy
|
11683
11661
|
|
11684
11662
|
call-seq:
|
11685
|
-
wsman_transport_set_proxy(
|
11663
|
+
wsman_transport_set_proxy(Client cl, char const * proxy)
|
11686
11664
|
|
11687
11665
|
A module function.
|
11688
11666
|
|
@@ -11724,7 +11702,7 @@ fail:
|
|
11724
11702
|
Document-method: Openwsman.wsman_transport_get_proxy
|
11725
11703
|
|
11726
11704
|
call-seq:
|
11727
|
-
wsman_transport_get_proxy(
|
11705
|
+
wsman_transport_get_proxy(Client cl) -> char *
|
11728
11706
|
|
11729
11707
|
A module function.
|
11730
11708
|
|
@@ -11758,7 +11736,7 @@ fail:
|
|
11758
11736
|
Document-method: Openwsman.wsman_transport_set_proxyauth
|
11759
11737
|
|
11760
11738
|
call-seq:
|
11761
|
-
wsman_transport_set_proxyauth(
|
11739
|
+
wsman_transport_set_proxyauth(Client cl, char const * pauth)
|
11762
11740
|
|
11763
11741
|
A module function.
|
11764
11742
|
|
@@ -11800,7 +11778,7 @@ fail:
|
|
11800
11778
|
Document-method: Openwsman.wsman_transport_get_proxyauth
|
11801
11779
|
|
11802
11780
|
call-seq:
|
11803
|
-
wsman_transport_get_proxyauth(
|
11781
|
+
wsman_transport_get_proxyauth(Client cl) -> char *
|
11804
11782
|
|
11805
11783
|
A module function.
|
11806
11784
|
|
@@ -11834,7 +11812,7 @@ fail:
|
|
11834
11812
|
Document-method: Openwsman.wsman_transport_set_cainfo
|
11835
11813
|
|
11836
11814
|
call-seq:
|
11837
|
-
wsman_transport_set_cainfo(
|
11815
|
+
wsman_transport_set_cainfo(Client cl, char const * cainfo)
|
11838
11816
|
|
11839
11817
|
A module function.
|
11840
11818
|
|
@@ -11876,7 +11854,7 @@ fail:
|
|
11876
11854
|
Document-method: Openwsman.wsman_transport_get_cainfo
|
11877
11855
|
|
11878
11856
|
call-seq:
|
11879
|
-
wsman_transport_get_cainfo(
|
11857
|
+
wsman_transport_get_cainfo(Client cl) -> char *
|
11880
11858
|
|
11881
11859
|
A module function.
|
11882
11860
|
|
@@ -11910,7 +11888,7 @@ fail:
|
|
11910
11888
|
Document-method: Openwsman.wsman_transport_set_certhumbprint
|
11911
11889
|
|
11912
11890
|
call-seq:
|
11913
|
-
wsman_transport_set_certhumbprint(
|
11891
|
+
wsman_transport_set_certhumbprint(Client cl, char const * arg)
|
11914
11892
|
|
11915
11893
|
A module function.
|
11916
11894
|
|
@@ -11952,7 +11930,7 @@ fail:
|
|
11952
11930
|
Document-method: Openwsman.wsman_transport_get_certhumbprint
|
11953
11931
|
|
11954
11932
|
call-seq:
|
11955
|
-
wsman_transport_get_certhumbprint(
|
11933
|
+
wsman_transport_get_certhumbprint(Client cl) -> char *
|
11956
11934
|
|
11957
11935
|
A module function.
|
11958
11936
|
|
@@ -11986,7 +11964,7 @@ fail:
|
|
11986
11964
|
Document-method: Openwsman.wsman_transport_set_capath
|
11987
11965
|
|
11988
11966
|
call-seq:
|
11989
|
-
wsman_transport_set_capath(
|
11967
|
+
wsman_transport_set_capath(Client cl, char const * capath)
|
11990
11968
|
|
11991
11969
|
A module function.
|
11992
11970
|
|
@@ -12028,7 +12006,7 @@ fail:
|
|
12028
12006
|
Document-method: Openwsman.wsman_transport_get_capath
|
12029
12007
|
|
12030
12008
|
call-seq:
|
12031
|
-
wsman_transport_get_capath(
|
12009
|
+
wsman_transport_get_capath(Client cl) -> char *
|
12032
12010
|
|
12033
12011
|
A module function.
|
12034
12012
|
|
@@ -12062,7 +12040,7 @@ fail:
|
|
12062
12040
|
Document-method: Openwsman.wsman_transport_set_caoid
|
12063
12041
|
|
12064
12042
|
call-seq:
|
12065
|
-
wsman_transport_set_caoid(
|
12043
|
+
wsman_transport_set_caoid(Client cl, char const * oid)
|
12066
12044
|
|
12067
12045
|
A module function.
|
12068
12046
|
|
@@ -12104,7 +12082,7 @@ fail:
|
|
12104
12082
|
Document-method: Openwsman.wsman_transport_get_caoid
|
12105
12083
|
|
12106
12084
|
call-seq:
|
12107
|
-
wsman_transport_get_caoid(
|
12085
|
+
wsman_transport_get_caoid(Client cl) -> char *
|
12108
12086
|
|
12109
12087
|
A module function.
|
12110
12088
|
|
@@ -12138,7 +12116,7 @@ fail:
|
|
12138
12116
|
Document-method: Openwsman.wsman_transport_set_cert
|
12139
12117
|
|
12140
12118
|
call-seq:
|
12141
|
-
wsman_transport_set_cert(
|
12119
|
+
wsman_transport_set_cert(Client cl, char const * cert)
|
12142
12120
|
|
12143
12121
|
A module function.
|
12144
12122
|
|
@@ -12180,7 +12158,7 @@ fail:
|
|
12180
12158
|
Document-method: Openwsman.wsman_transport_get_cert
|
12181
12159
|
|
12182
12160
|
call-seq:
|
12183
|
-
wsman_transport_get_cert(
|
12161
|
+
wsman_transport_get_cert(Client cl) -> char *
|
12184
12162
|
|
12185
12163
|
A module function.
|
12186
12164
|
|
@@ -12214,7 +12192,7 @@ fail:
|
|
12214
12192
|
Document-method: Openwsman.wsman_transport_set_key
|
12215
12193
|
|
12216
12194
|
call-seq:
|
12217
|
-
wsman_transport_set_key(
|
12195
|
+
wsman_transport_set_key(Client cl, char const * key)
|
12218
12196
|
|
12219
12197
|
A module function.
|
12220
12198
|
|
@@ -12256,7 +12234,7 @@ fail:
|
|
12256
12234
|
Document-method: Openwsman.wsman_transport_get_key
|
12257
12235
|
|
12258
12236
|
call-seq:
|
12259
|
-
wsman_transport_get_key(
|
12237
|
+
wsman_transport_get_key(Client cl) -> char *
|
12260
12238
|
|
12261
12239
|
A module function.
|
12262
12240
|
|
@@ -12293,7 +12271,7 @@ fail:
|
|
12293
12271
|
|
12294
12272
|
|
12295
12273
|
*/
|
12296
|
-
swig_class SwigClassClientOptions;
|
12274
|
+
static swig_class SwigClassClientOptions;
|
12297
12275
|
|
12298
12276
|
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
12299
12277
|
SWIGINTERN VALUE
|
@@ -12350,7 +12328,7 @@ free_client_opt_t(client_opt_t *arg1) {
|
|
12350
12328
|
Document-method: Openwsman::ClientOptions.set_dump_request
|
12351
12329
|
|
12352
12330
|
call-seq:
|
12353
|
-
set_dump_request
|
12331
|
+
set_dump_request
|
12354
12332
|
|
12355
12333
|
An instance method.
|
12356
12334
|
|
@@ -12381,7 +12359,7 @@ fail:
|
|
12381
12359
|
Document-method: Openwsman::ClientOptions.clear_dump_request
|
12382
12360
|
|
12383
12361
|
call-seq:
|
12384
|
-
clear_dump_request
|
12362
|
+
clear_dump_request
|
12385
12363
|
|
12386
12364
|
An instance method.
|
12387
12365
|
|
@@ -12774,7 +12752,7 @@ fail:
|
|
12774
12752
|
Document-method: Openwsman::ClientOptions.fragment=
|
12775
12753
|
|
12776
12754
|
call-seq:
|
12777
|
-
fragment=(char fragment)
|
12755
|
+
fragment=(char * fragment)
|
12778
12756
|
|
12779
12757
|
An instance method.
|
12780
12758
|
|
@@ -12816,7 +12794,7 @@ fail:
|
|
12816
12794
|
Document-method: Openwsman::ClientOptions.fragment
|
12817
12795
|
|
12818
12796
|
call-seq:
|
12819
|
-
fragment -> char
|
12797
|
+
fragment -> char const *
|
12820
12798
|
|
12821
12799
|
An instance method.
|
12822
12800
|
|
@@ -12850,7 +12828,7 @@ fail:
|
|
12850
12828
|
Document-method: Openwsman::ClientOptions.cim_namespace=
|
12851
12829
|
|
12852
12830
|
call-seq:
|
12853
|
-
cim_namespace=(char cim_namespace)
|
12831
|
+
cim_namespace=(char * cim_namespace)
|
12854
12832
|
|
12855
12833
|
An instance method.
|
12856
12834
|
|
@@ -12892,7 +12870,7 @@ fail:
|
|
12892
12870
|
Document-method: Openwsman::ClientOptions.cim_namespace
|
12893
12871
|
|
12894
12872
|
call-seq:
|
12895
|
-
cim_namespace -> char
|
12873
|
+
cim_namespace -> char const *
|
12896
12874
|
|
12897
12875
|
An instance method.
|
12898
12876
|
|
@@ -12926,7 +12904,7 @@ fail:
|
|
12926
12904
|
Document-method: Openwsman::ClientOptions.reference=
|
12927
12905
|
|
12928
12906
|
call-seq:
|
12929
|
-
reference=(char reference)
|
12907
|
+
reference=(char const * reference)
|
12930
12908
|
|
12931
12909
|
An instance method.
|
12932
12910
|
|
@@ -12968,7 +12946,7 @@ fail:
|
|
12968
12946
|
Document-method: Openwsman::ClientOptions.reference
|
12969
12947
|
|
12970
12948
|
call-seq:
|
12971
|
-
reference -> char
|
12949
|
+
reference -> char const *
|
12972
12950
|
|
12973
12951
|
An instance method.
|
12974
12952
|
|
@@ -13138,7 +13116,7 @@ fail:
|
|
13138
13116
|
Document-method: Openwsman::ClientOptions.delivery_uri=
|
13139
13117
|
|
13140
13118
|
call-seq:
|
13141
|
-
delivery_uri=(char delivery_uri)
|
13119
|
+
delivery_uri=(char const * delivery_uri)
|
13142
13120
|
|
13143
13121
|
An instance method.
|
13144
13122
|
|
@@ -13180,7 +13158,7 @@ fail:
|
|
13180
13158
|
Document-method: Openwsman::ClientOptions.delivery_uri
|
13181
13159
|
|
13182
13160
|
call-seq:
|
13183
|
-
delivery_uri -> char
|
13161
|
+
delivery_uri -> char const *
|
13184
13162
|
|
13185
13163
|
An instance method.
|
13186
13164
|
|
@@ -13509,16 +13487,16 @@ fail:
|
|
13509
13487
|
|
13510
13488
|
|
13511
13489
|
*/
|
13512
|
-
swig_class SwigClassClient;
|
13490
|
+
static swig_class SwigClassClient;
|
13513
13491
|
|
13514
13492
|
|
13515
13493
|
/*
|
13516
13494
|
Document-method: Openwsman::Client.new
|
13517
13495
|
|
13518
13496
|
call-seq:
|
13519
|
-
Client.new(char uri)
|
13520
|
-
Client.new(char hostname, int port, char path, char scheme, char username,
|
13521
|
-
char password)
|
13497
|
+
Client.new(char const * uri)
|
13498
|
+
Client.new(char const * hostname, int const port, char const * path, char const * scheme, char const * username,
|
13499
|
+
char const * password)
|
13522
13500
|
|
13523
13501
|
Class constructor.
|
13524
13502
|
|
@@ -13529,17 +13507,17 @@ _wrap_new_Client__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
13529
13507
|
int res1 ;
|
13530
13508
|
char *buf1 = 0 ;
|
13531
13509
|
int alloc1 = 0 ;
|
13532
|
-
|
13510
|
+
struct _WsManClient *result = 0 ;
|
13533
13511
|
|
13534
13512
|
if ((argc < 1) || (argc > 1)) {
|
13535
13513
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
13536
13514
|
}
|
13537
13515
|
res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
|
13538
13516
|
if (!SWIG_IsOK(res1)) {
|
13539
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","
|
13517
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","_WsManClient", 1, argv[0] ));
|
13540
13518
|
}
|
13541
13519
|
arg1 = (char *)(buf1);
|
13542
|
-
result = (
|
13520
|
+
result = (struct _WsManClient *)new__WsManClient__SWIG_0((char const *)arg1);
|
13543
13521
|
DATA_PTR(self) = result;
|
13544
13522
|
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
|
13545
13523
|
return self;
|
@@ -13591,42 +13569,42 @@ _wrap_new_Client__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
13591
13569
|
int res6 ;
|
13592
13570
|
char *buf6 = 0 ;
|
13593
13571
|
int alloc6 = 0 ;
|
13594
|
-
|
13572
|
+
struct _WsManClient *result = 0 ;
|
13595
13573
|
|
13596
13574
|
if ((argc < 6) || (argc > 6)) {
|
13597
13575
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail;
|
13598
13576
|
}
|
13599
13577
|
res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
|
13600
13578
|
if (!SWIG_IsOK(res1)) {
|
13601
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","
|
13579
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","_WsManClient", 1, argv[0] ));
|
13602
13580
|
}
|
13603
13581
|
arg1 = (char *)(buf1);
|
13604
13582
|
ecode2 = SWIG_AsVal_int(argv[1], &val2);
|
13605
13583
|
if (!SWIG_IsOK(ecode2)) {
|
13606
|
-
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","
|
13584
|
+
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","_WsManClient", 2, argv[1] ));
|
13607
13585
|
}
|
13608
13586
|
arg2 = (int)(val2);
|
13609
13587
|
res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
|
13610
13588
|
if (!SWIG_IsOK(res3)) {
|
13611
|
-
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","
|
13589
|
+
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","_WsManClient", 3, argv[2] ));
|
13612
13590
|
}
|
13613
13591
|
arg3 = (char *)(buf3);
|
13614
13592
|
res4 = SWIG_AsCharPtrAndSize(argv[3], &buf4, NULL, &alloc4);
|
13615
13593
|
if (!SWIG_IsOK(res4)) {
|
13616
|
-
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","
|
13594
|
+
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","_WsManClient", 4, argv[3] ));
|
13617
13595
|
}
|
13618
13596
|
arg4 = (char *)(buf4);
|
13619
13597
|
res5 = SWIG_AsCharPtrAndSize(argv[4], &buf5, NULL, &alloc5);
|
13620
13598
|
if (!SWIG_IsOK(res5)) {
|
13621
|
-
SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","
|
13599
|
+
SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char const *","_WsManClient", 5, argv[4] ));
|
13622
13600
|
}
|
13623
13601
|
arg5 = (char *)(buf5);
|
13624
13602
|
res6 = SWIG_AsCharPtrAndSize(argv[5], &buf6, NULL, &alloc6);
|
13625
13603
|
if (!SWIG_IsOK(res6)) {
|
13626
|
-
SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "char const *","
|
13604
|
+
SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "char const *","_WsManClient", 6, argv[5] ));
|
13627
13605
|
}
|
13628
13606
|
arg6 = (char *)(buf6);
|
13629
|
-
result = (
|
13607
|
+
result = (struct _WsManClient *)new__WsManClient__SWIG_1((char const *)arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6);
|
13630
13608
|
DATA_PTR(self) = result;
|
13631
13609
|
if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
|
13632
13610
|
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
|
@@ -13702,12 +13680,12 @@ fail:
|
|
13702
13680
|
}
|
13703
13681
|
|
13704
13682
|
|
13705
|
-
SWIGINTERN void
|
13683
|
+
SWIGINTERN void delete__WsManClient(struct _WsManClient *self){
|
13706
13684
|
wsmc_release( self );
|
13707
13685
|
}
|
13708
13686
|
SWIGINTERN void
|
13709
|
-
|
13710
|
-
|
13687
|
+
free__WsManClient(struct _WsManClient *arg1) {
|
13688
|
+
delete__WsManClient(arg1);
|
13711
13689
|
}
|
13712
13690
|
|
13713
13691
|
|
@@ -13715,14 +13693,14 @@ free_WsManClient(WsManClient *arg1) {
|
|
13715
13693
|
Document-method: Openwsman::Client.dumpfile=
|
13716
13694
|
|
13717
13695
|
call-seq:
|
13718
|
-
dumpfile=(FILE f)
|
13696
|
+
dumpfile=(FILE * f)
|
13719
13697
|
|
13720
13698
|
An instance method.
|
13721
13699
|
|
13722
13700
|
*/
|
13723
13701
|
SWIGINTERN VALUE
|
13724
13702
|
_wrap_Client_dumpfilee___(int argc, VALUE *argv, VALUE self) {
|
13725
|
-
|
13703
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
13726
13704
|
FILE *arg2 = (FILE *) 0 ;
|
13727
13705
|
void *argp1 = 0 ;
|
13728
13706
|
int res1 = 0 ;
|
@@ -13732,9 +13710,9 @@ _wrap_Client_dumpfilee___(int argc, VALUE *argv, VALUE self) {
|
|
13732
13710
|
}
|
13733
13711
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
13734
13712
|
if (!SWIG_IsOK(res1)) {
|
13735
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
13713
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","set_dumpfile", 1, self ));
|
13736
13714
|
}
|
13737
|
-
arg1 = (
|
13715
|
+
arg1 = (struct _WsManClient *)(argp1);
|
13738
13716
|
{
|
13739
13717
|
struct rb_io_t *fptr;
|
13740
13718
|
|
@@ -13749,7 +13727,7 @@ _wrap_Client_dumpfilee___(int argc, VALUE *argv, VALUE self) {
|
|
13749
13727
|
|
13750
13728
|
|
13751
13729
|
}
|
13752
|
-
|
13730
|
+
_WsManClient_set_dumpfile(arg1,arg2);
|
13753
13731
|
return Qnil;
|
13754
13732
|
fail:
|
13755
13733
|
return Qnil;
|
@@ -13768,7 +13746,7 @@ An instance method.
|
|
13768
13746
|
*/
|
13769
13747
|
SWIGINTERN VALUE
|
13770
13748
|
_wrap_Client_response_code(int argc, VALUE *argv, VALUE self) {
|
13771
|
-
|
13749
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
13772
13750
|
void *argp1 = 0 ;
|
13773
13751
|
int res1 = 0 ;
|
13774
13752
|
long result;
|
@@ -13779,10 +13757,10 @@ _wrap_Client_response_code(int argc, VALUE *argv, VALUE self) {
|
|
13779
13757
|
}
|
13780
13758
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
13781
13759
|
if (!SWIG_IsOK(res1)) {
|
13782
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
13760
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","response_code", 1, self ));
|
13783
13761
|
}
|
13784
|
-
arg1 = (
|
13785
|
-
result = (long)
|
13762
|
+
arg1 = (struct _WsManClient *)(argp1);
|
13763
|
+
result = (long)_WsManClient_response_code(arg1);
|
13786
13764
|
vresult = SWIG_From_long((long)(result));
|
13787
13765
|
return vresult;
|
13788
13766
|
fail:
|
@@ -13795,14 +13773,14 @@ fail:
|
|
13795
13773
|
Document-method: Openwsman::Client.scheme
|
13796
13774
|
|
13797
13775
|
call-seq:
|
13798
|
-
scheme -> char
|
13776
|
+
scheme -> char *
|
13799
13777
|
|
13800
13778
|
An instance method.
|
13801
13779
|
|
13802
13780
|
*/
|
13803
13781
|
SWIGINTERN VALUE
|
13804
13782
|
_wrap_Client_scheme(int argc, VALUE *argv, VALUE self) {
|
13805
|
-
|
13783
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
13806
13784
|
void *argp1 = 0 ;
|
13807
13785
|
int res1 = 0 ;
|
13808
13786
|
char *result = 0 ;
|
@@ -13813,10 +13791,10 @@ _wrap_Client_scheme(int argc, VALUE *argv, VALUE self) {
|
|
13813
13791
|
}
|
13814
13792
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
13815
13793
|
if (!SWIG_IsOK(res1)) {
|
13816
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
13794
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","scheme", 1, self ));
|
13817
13795
|
}
|
13818
|
-
arg1 = (
|
13819
|
-
result = (char *)
|
13796
|
+
arg1 = (struct _WsManClient *)(argp1);
|
13797
|
+
result = (char *)_WsManClient_scheme(arg1);
|
13820
13798
|
vresult = SWIG_FromCharPtr((const char *)result);
|
13821
13799
|
return vresult;
|
13822
13800
|
fail:
|
@@ -13829,14 +13807,14 @@ fail:
|
|
13829
13807
|
Document-method: Openwsman::Client.host
|
13830
13808
|
|
13831
13809
|
call-seq:
|
13832
|
-
host -> char
|
13810
|
+
host -> char *
|
13833
13811
|
|
13834
13812
|
An instance method.
|
13835
13813
|
|
13836
13814
|
*/
|
13837
13815
|
SWIGINTERN VALUE
|
13838
13816
|
_wrap_Client_host(int argc, VALUE *argv, VALUE self) {
|
13839
|
-
|
13817
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
13840
13818
|
void *argp1 = 0 ;
|
13841
13819
|
int res1 = 0 ;
|
13842
13820
|
char *result = 0 ;
|
@@ -13847,10 +13825,10 @@ _wrap_Client_host(int argc, VALUE *argv, VALUE self) {
|
|
13847
13825
|
}
|
13848
13826
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
13849
13827
|
if (!SWIG_IsOK(res1)) {
|
13850
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
13828
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","host", 1, self ));
|
13851
13829
|
}
|
13852
|
-
arg1 = (
|
13853
|
-
result = (char *)
|
13830
|
+
arg1 = (struct _WsManClient *)(argp1);
|
13831
|
+
result = (char *)_WsManClient_host(arg1);
|
13854
13832
|
vresult = SWIG_FromCharPtr((const char *)result);
|
13855
13833
|
return vresult;
|
13856
13834
|
fail:
|
@@ -13870,7 +13848,7 @@ An instance method.
|
|
13870
13848
|
*/
|
13871
13849
|
SWIGINTERN VALUE
|
13872
13850
|
_wrap_Client_port(int argc, VALUE *argv, VALUE self) {
|
13873
|
-
|
13851
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
13874
13852
|
void *argp1 = 0 ;
|
13875
13853
|
int res1 = 0 ;
|
13876
13854
|
int result;
|
@@ -13881,10 +13859,10 @@ _wrap_Client_port(int argc, VALUE *argv, VALUE self) {
|
|
13881
13859
|
}
|
13882
13860
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
13883
13861
|
if (!SWIG_IsOK(res1)) {
|
13884
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
13862
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","port", 1, self ));
|
13885
13863
|
}
|
13886
|
-
arg1 = (
|
13887
|
-
result = (int)
|
13864
|
+
arg1 = (struct _WsManClient *)(argp1);
|
13865
|
+
result = (int)_WsManClient_port(arg1);
|
13888
13866
|
vresult = SWIG_From_int((int)(result));
|
13889
13867
|
return vresult;
|
13890
13868
|
fail:
|
@@ -13897,14 +13875,14 @@ fail:
|
|
13897
13875
|
Document-method: Openwsman::Client.path
|
13898
13876
|
|
13899
13877
|
call-seq:
|
13900
|
-
path -> char
|
13878
|
+
path -> char *
|
13901
13879
|
|
13902
13880
|
An instance method.
|
13903
13881
|
|
13904
13882
|
*/
|
13905
13883
|
SWIGINTERN VALUE
|
13906
13884
|
_wrap_Client_path(int argc, VALUE *argv, VALUE self) {
|
13907
|
-
|
13885
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
13908
13886
|
void *argp1 = 0 ;
|
13909
13887
|
int res1 = 0 ;
|
13910
13888
|
char *result = 0 ;
|
@@ -13915,10 +13893,10 @@ _wrap_Client_path(int argc, VALUE *argv, VALUE self) {
|
|
13915
13893
|
}
|
13916
13894
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
13917
13895
|
if (!SWIG_IsOK(res1)) {
|
13918
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
13896
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","path", 1, self ));
|
13919
13897
|
}
|
13920
|
-
arg1 = (
|
13921
|
-
result = (char *)
|
13898
|
+
arg1 = (struct _WsManClient *)(argp1);
|
13899
|
+
result = (char *)_WsManClient_path(arg1);
|
13922
13900
|
vresult = SWIG_FromCharPtr((const char *)result);
|
13923
13901
|
return vresult;
|
13924
13902
|
fail:
|
@@ -13931,14 +13909,14 @@ fail:
|
|
13931
13909
|
Document-method: Openwsman::Client.user
|
13932
13910
|
|
13933
13911
|
call-seq:
|
13934
|
-
user -> char
|
13912
|
+
user -> char *
|
13935
13913
|
|
13936
13914
|
An instance method.
|
13937
13915
|
|
13938
13916
|
*/
|
13939
13917
|
SWIGINTERN VALUE
|
13940
13918
|
_wrap_Client_user(int argc, VALUE *argv, VALUE self) {
|
13941
|
-
|
13919
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
13942
13920
|
void *argp1 = 0 ;
|
13943
13921
|
int res1 = 0 ;
|
13944
13922
|
char *result = 0 ;
|
@@ -13949,10 +13927,10 @@ _wrap_Client_user(int argc, VALUE *argv, VALUE self) {
|
|
13949
13927
|
}
|
13950
13928
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
13951
13929
|
if (!SWIG_IsOK(res1)) {
|
13952
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
13930
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","user", 1, self ));
|
13953
13931
|
}
|
13954
|
-
arg1 = (
|
13955
|
-
result = (char *)
|
13932
|
+
arg1 = (struct _WsManClient *)(argp1);
|
13933
|
+
result = (char *)_WsManClient_user(arg1);
|
13956
13934
|
vresult = SWIG_FromCharPtr((const char *)result);
|
13957
13935
|
return vresult;
|
13958
13936
|
fail:
|
@@ -13965,14 +13943,14 @@ fail:
|
|
13965
13943
|
Document-method: Openwsman::Client.password
|
13966
13944
|
|
13967
13945
|
call-seq:
|
13968
|
-
password -> char
|
13946
|
+
password -> char *
|
13969
13947
|
|
13970
13948
|
An instance method.
|
13971
13949
|
|
13972
13950
|
*/
|
13973
13951
|
SWIGINTERN VALUE
|
13974
13952
|
_wrap_Client_password(int argc, VALUE *argv, VALUE self) {
|
13975
|
-
|
13953
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
13976
13954
|
void *argp1 = 0 ;
|
13977
13955
|
int res1 = 0 ;
|
13978
13956
|
char *result = 0 ;
|
@@ -13983,10 +13961,10 @@ _wrap_Client_password(int argc, VALUE *argv, VALUE self) {
|
|
13983
13961
|
}
|
13984
13962
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
13985
13963
|
if (!SWIG_IsOK(res1)) {
|
13986
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
13964
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","password", 1, self ));
|
13987
13965
|
}
|
13988
|
-
arg1 = (
|
13989
|
-
result = (char *)
|
13966
|
+
arg1 = (struct _WsManClient *)(argp1);
|
13967
|
+
result = (char *)_WsManClient_password(arg1);
|
13990
13968
|
vresult = SWIG_FromCharPtr((const char *)result);
|
13991
13969
|
return vresult;
|
13992
13970
|
fail:
|
@@ -13999,14 +13977,14 @@ fail:
|
|
13999
13977
|
Document-method: Openwsman::Client.transport
|
14000
13978
|
|
14001
13979
|
call-seq:
|
14002
|
-
transport ->
|
13980
|
+
transport -> Transport
|
14003
13981
|
|
14004
13982
|
An instance method.
|
14005
13983
|
|
14006
13984
|
*/
|
14007
13985
|
SWIGINTERN VALUE
|
14008
13986
|
_wrap_Client_transport(int argc, VALUE *argv, VALUE self) {
|
14009
|
-
|
13987
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
14010
13988
|
void *argp1 = 0 ;
|
14011
13989
|
int res1 = 0 ;
|
14012
13990
|
WsManTransport *result = 0 ;
|
@@ -14017,10 +13995,10 @@ _wrap_Client_transport(int argc, VALUE *argv, VALUE self) {
|
|
14017
13995
|
}
|
14018
13996
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
14019
13997
|
if (!SWIG_IsOK(res1)) {
|
14020
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
13998
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","transport", 1, self ));
|
14021
13999
|
}
|
14022
|
-
arg1 = (
|
14023
|
-
result = (WsManTransport *)
|
14000
|
+
arg1 = (struct _WsManClient *)(argp1);
|
14001
|
+
result = (WsManTransport *)_WsManClient_transport(arg1);
|
14024
14002
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__WsManTransport, 0 | 0 );
|
14025
14003
|
return vresult;
|
14026
14004
|
fail:
|
@@ -14033,14 +14011,14 @@ fail:
|
|
14033
14011
|
Document-method: Openwsman::Client.send_request
|
14034
14012
|
|
14035
14013
|
call-seq:
|
14036
|
-
send_request(
|
14014
|
+
send_request(XmlDoc request) -> int
|
14037
14015
|
|
14038
14016
|
An instance method.
|
14039
14017
|
|
14040
14018
|
*/
|
14041
14019
|
SWIGINTERN VALUE
|
14042
14020
|
_wrap_Client_send_request(int argc, VALUE *argv, VALUE self) {
|
14043
|
-
|
14021
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
14044
14022
|
WsXmlDocH arg2 = (WsXmlDocH) 0 ;
|
14045
14023
|
void *argp1 = 0 ;
|
14046
14024
|
int res1 = 0 ;
|
@@ -14054,15 +14032,15 @@ _wrap_Client_send_request(int argc, VALUE *argv, VALUE self) {
|
|
14054
14032
|
}
|
14055
14033
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
14056
14034
|
if (!SWIG_IsOK(res1)) {
|
14057
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
14035
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","send_request", 1, self ));
|
14058
14036
|
}
|
14059
|
-
arg1 = (
|
14037
|
+
arg1 = (struct _WsManClient *)(argp1);
|
14060
14038
|
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p__WsXmlDoc, 0 | 0 );
|
14061
14039
|
if (!SWIG_IsOK(res2)) {
|
14062
14040
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "WsXmlDocH","send_request", 2, argv[0] ));
|
14063
14041
|
}
|
14064
14042
|
arg2 = (WsXmlDocH)(argp2);
|
14065
|
-
result = (int)
|
14043
|
+
result = (int)_WsManClient_send_request(arg1,arg2);
|
14066
14044
|
vresult = SWIG_From_int((int)(result));
|
14067
14045
|
return vresult;
|
14068
14046
|
fail:
|
@@ -14075,14 +14053,14 @@ fail:
|
|
14075
14053
|
Document-method: Openwsman::Client.encoding
|
14076
14054
|
|
14077
14055
|
call-seq:
|
14078
|
-
encoding -> char
|
14056
|
+
encoding -> char *
|
14079
14057
|
|
14080
14058
|
An instance method.
|
14081
14059
|
|
14082
14060
|
*/
|
14083
14061
|
SWIGINTERN VALUE
|
14084
14062
|
_wrap_Client_encoding(int argc, VALUE *argv, VALUE self) {
|
14085
|
-
|
14063
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
14086
14064
|
void *argp1 = 0 ;
|
14087
14065
|
int res1 = 0 ;
|
14088
14066
|
char *result = 0 ;
|
@@ -14093,10 +14071,10 @@ _wrap_Client_encoding(int argc, VALUE *argv, VALUE self) {
|
|
14093
14071
|
}
|
14094
14072
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
14095
14073
|
if (!SWIG_IsOK(res1)) {
|
14096
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
14074
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","encoding", 1, self ));
|
14097
14075
|
}
|
14098
|
-
arg1 = (
|
14099
|
-
result = (char *)
|
14076
|
+
arg1 = (struct _WsManClient *)(argp1);
|
14077
|
+
result = (char *)_WsManClient_encoding(arg1);
|
14100
14078
|
vresult = SWIG_FromCharPtr((const char *)result);
|
14101
14079
|
return vresult;
|
14102
14080
|
fail:
|
@@ -14109,14 +14087,14 @@ fail:
|
|
14109
14087
|
Document-method: Openwsman::Client.encoding=
|
14110
14088
|
|
14111
14089
|
call-seq:
|
14112
|
-
encoding=(char encoding)
|
14090
|
+
encoding=(char const * encoding)
|
14113
14091
|
|
14114
14092
|
An instance method.
|
14115
14093
|
|
14116
14094
|
*/
|
14117
14095
|
SWIGINTERN VALUE
|
14118
14096
|
_wrap_Client_encodinge___(int argc, VALUE *argv, VALUE self) {
|
14119
|
-
|
14097
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
14120
14098
|
char *arg2 = (char *) 0 ;
|
14121
14099
|
void *argp1 = 0 ;
|
14122
14100
|
int res1 = 0 ;
|
@@ -14129,15 +14107,15 @@ _wrap_Client_encodinge___(int argc, VALUE *argv, VALUE self) {
|
|
14129
14107
|
}
|
14130
14108
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
14131
14109
|
if (!SWIG_IsOK(res1)) {
|
14132
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
14110
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","set_encoding", 1, self ));
|
14133
14111
|
}
|
14134
|
-
arg1 = (
|
14112
|
+
arg1 = (struct _WsManClient *)(argp1);
|
14135
14113
|
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
|
14136
14114
|
if (!SWIG_IsOK(res2)) {
|
14137
14115
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","set_encoding", 2, argv[0] ));
|
14138
14116
|
}
|
14139
14117
|
arg2 = (char *)(buf2);
|
14140
|
-
|
14118
|
+
_WsManClient_set_encoding(arg1,(char const *)arg2);
|
14141
14119
|
if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
|
14142
14120
|
return Qnil;
|
14143
14121
|
fail:
|
@@ -14151,14 +14129,14 @@ fail:
|
|
14151
14129
|
Document-method: Openwsman::Client.identify
|
14152
14130
|
|
14153
14131
|
call-seq:
|
14154
|
-
identify(ClientOptions options) ->
|
14132
|
+
identify(ClientOptions options) -> XmlDoc
|
14155
14133
|
|
14156
14134
|
An instance method.
|
14157
14135
|
|
14158
14136
|
*/
|
14159
14137
|
SWIGINTERN VALUE
|
14160
14138
|
_wrap_Client_identify(int argc, VALUE *argv, VALUE self) {
|
14161
|
-
|
14139
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
14162
14140
|
client_opt_t *arg2 = (client_opt_t *) 0 ;
|
14163
14141
|
void *argp1 = 0 ;
|
14164
14142
|
int res1 = 0 ;
|
@@ -14172,15 +14150,15 @@ _wrap_Client_identify(int argc, VALUE *argv, VALUE self) {
|
|
14172
14150
|
}
|
14173
14151
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
14174
14152
|
if (!SWIG_IsOK(res1)) {
|
14175
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
14153
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","identify", 1, self ));
|
14176
14154
|
}
|
14177
|
-
arg1 = (
|
14155
|
+
arg1 = (struct _WsManClient *)(argp1);
|
14178
14156
|
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_client_opt_t, 0 | 0 );
|
14179
14157
|
if (!SWIG_IsOK(res2)) {
|
14180
14158
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "client_opt_t *","identify", 2, argv[0] ));
|
14181
14159
|
}
|
14182
14160
|
arg2 = (client_opt_t *)(argp2);
|
14183
|
-
result = (WsXmlDocH)
|
14161
|
+
result = (WsXmlDocH)_WsManClient_identify(arg1,arg2);
|
14184
14162
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__WsXmlDoc, 0 | 0 );
|
14185
14163
|
return vresult;
|
14186
14164
|
fail:
|
@@ -14193,14 +14171,14 @@ fail:
|
|
14193
14171
|
Document-method: Openwsman::Client.get_from_epr
|
14194
14172
|
|
14195
14173
|
call-seq:
|
14196
|
-
get_from_epr(ClientOptions options, EndPointReference epr) ->
|
14174
|
+
get_from_epr(ClientOptions options, EndPointReference epr) -> XmlDoc
|
14197
14175
|
|
14198
14176
|
An instance method.
|
14199
14177
|
|
14200
14178
|
*/
|
14201
14179
|
SWIGINTERN VALUE
|
14202
14180
|
_wrap_Client_get_from_epr(int argc, VALUE *argv, VALUE self) {
|
14203
|
-
|
14181
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
14204
14182
|
client_opt_t *arg2 = (client_opt_t *) 0 ;
|
14205
14183
|
epr_t *arg3 = (epr_t *) 0 ;
|
14206
14184
|
void *argp1 = 0 ;
|
@@ -14217,9 +14195,9 @@ _wrap_Client_get_from_epr(int argc, VALUE *argv, VALUE self) {
|
|
14217
14195
|
}
|
14218
14196
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
14219
14197
|
if (!SWIG_IsOK(res1)) {
|
14220
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
14198
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","get_from_epr", 1, self ));
|
14221
14199
|
}
|
14222
|
-
arg1 = (
|
14200
|
+
arg1 = (struct _WsManClient *)(argp1);
|
14223
14201
|
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_client_opt_t, 0 | 0 );
|
14224
14202
|
if (!SWIG_IsOK(res2)) {
|
14225
14203
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "client_opt_t *","get_from_epr", 2, argv[0] ));
|
@@ -14230,7 +14208,7 @@ _wrap_Client_get_from_epr(int argc, VALUE *argv, VALUE self) {
|
|
14230
14208
|
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "epr_t *","get_from_epr", 3, argv[1] ));
|
14231
14209
|
}
|
14232
14210
|
arg3 = (epr_t *)(argp3);
|
14233
|
-
result = (WsXmlDocH)
|
14211
|
+
result = (WsXmlDocH)_WsManClient_get_from_epr(arg1,arg2,arg3);
|
14234
14212
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__WsXmlDoc, 0 | 0 );
|
14235
14213
|
return vresult;
|
14236
14214
|
fail:
|
@@ -14243,14 +14221,14 @@ fail:
|
|
14243
14221
|
Document-method: Openwsman::Client.delete_from_epr
|
14244
14222
|
|
14245
14223
|
call-seq:
|
14246
|
-
delete_from_epr(ClientOptions options, EndPointReference epr) ->
|
14224
|
+
delete_from_epr(ClientOptions options, EndPointReference epr) -> XmlDoc
|
14247
14225
|
|
14248
14226
|
An instance method.
|
14249
14227
|
|
14250
14228
|
*/
|
14251
14229
|
SWIGINTERN VALUE
|
14252
14230
|
_wrap_Client_delete_from_epr(int argc, VALUE *argv, VALUE self) {
|
14253
|
-
|
14231
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
14254
14232
|
client_opt_t *arg2 = (client_opt_t *) 0 ;
|
14255
14233
|
epr_t *arg3 = (epr_t *) 0 ;
|
14256
14234
|
void *argp1 = 0 ;
|
@@ -14267,9 +14245,9 @@ _wrap_Client_delete_from_epr(int argc, VALUE *argv, VALUE self) {
|
|
14267
14245
|
}
|
14268
14246
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
14269
14247
|
if (!SWIG_IsOK(res1)) {
|
14270
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
14248
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","delete_from_epr", 1, self ));
|
14271
14249
|
}
|
14272
|
-
arg1 = (
|
14250
|
+
arg1 = (struct _WsManClient *)(argp1);
|
14273
14251
|
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_client_opt_t, 0 | 0 );
|
14274
14252
|
if (!SWIG_IsOK(res2)) {
|
14275
14253
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "client_opt_t *","delete_from_epr", 2, argv[0] ));
|
@@ -14280,7 +14258,7 @@ _wrap_Client_delete_from_epr(int argc, VALUE *argv, VALUE self) {
|
|
14280
14258
|
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "epr_t *","delete_from_epr", 3, argv[1] ));
|
14281
14259
|
}
|
14282
14260
|
arg3 = (epr_t *)(argp3);
|
14283
|
-
result = (WsXmlDocH)
|
14261
|
+
result = (WsXmlDocH)_WsManClient_delete_from_epr(arg1,arg2,arg3);
|
14284
14262
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__WsXmlDoc, 0 | 0 );
|
14285
14263
|
return vresult;
|
14286
14264
|
fail:
|
@@ -14293,14 +14271,14 @@ fail:
|
|
14293
14271
|
Document-method: Openwsman::Client.enumerate
|
14294
14272
|
|
14295
14273
|
call-seq:
|
14296
|
-
enumerate(ClientOptions options, Filter filter, char resource_uri) ->
|
14274
|
+
enumerate(ClientOptions options, Filter filter, char * resource_uri) -> XmlDoc
|
14297
14275
|
|
14298
14276
|
An instance method.
|
14299
14277
|
|
14300
14278
|
*/
|
14301
14279
|
SWIGINTERN VALUE
|
14302
14280
|
_wrap_Client_enumerate(int argc, VALUE *argv, VALUE self) {
|
14303
|
-
|
14281
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
14304
14282
|
client_opt_t *arg2 = (client_opt_t *) 0 ;
|
14305
14283
|
filter_t *arg3 = (filter_t *) 0 ;
|
14306
14284
|
char *arg4 = (char *) 0 ;
|
@@ -14321,9 +14299,9 @@ _wrap_Client_enumerate(int argc, VALUE *argv, VALUE self) {
|
|
14321
14299
|
}
|
14322
14300
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
14323
14301
|
if (!SWIG_IsOK(res1)) {
|
14324
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
14302
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","enumerate", 1, self ));
|
14325
14303
|
}
|
14326
|
-
arg1 = (
|
14304
|
+
arg1 = (struct _WsManClient *)(argp1);
|
14327
14305
|
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_client_opt_t, 0 | 0 );
|
14328
14306
|
if (!SWIG_IsOK(res2)) {
|
14329
14307
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "client_opt_t *","enumerate", 2, argv[0] ));
|
@@ -14339,7 +14317,7 @@ _wrap_Client_enumerate(int argc, VALUE *argv, VALUE self) {
|
|
14339
14317
|
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char *","enumerate", 4, argv[2] ));
|
14340
14318
|
}
|
14341
14319
|
arg4 = (char *)(buf4);
|
14342
|
-
result = (WsXmlDocH)
|
14320
|
+
result = (WsXmlDocH)_WsManClient_enumerate(arg1,arg2,arg3,arg4);
|
14343
14321
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__WsXmlDoc, 0 | 0 );
|
14344
14322
|
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
|
14345
14323
|
return vresult;
|
@@ -14354,15 +14332,14 @@ fail:
|
|
14354
14332
|
Document-method: Openwsman::Client.pull
|
14355
14333
|
|
14356
14334
|
call-seq:
|
14357
|
-
pull(ClientOptions options, Filter filter, char resource_uri,
|
14358
|
-
char enum_ctx) -> WsXmlDocH
|
14335
|
+
pull(ClientOptions options, Filter filter, char * resource_uri, char * enum_ctx) -> XmlDoc
|
14359
14336
|
|
14360
14337
|
An instance method.
|
14361
14338
|
|
14362
14339
|
*/
|
14363
14340
|
SWIGINTERN VALUE
|
14364
14341
|
_wrap_Client_pull(int argc, VALUE *argv, VALUE self) {
|
14365
|
-
|
14342
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
14366
14343
|
client_opt_t *arg2 = (client_opt_t *) 0 ;
|
14367
14344
|
filter_t *arg3 = (filter_t *) 0 ;
|
14368
14345
|
char *arg4 = (char *) 0 ;
|
@@ -14387,9 +14364,9 @@ _wrap_Client_pull(int argc, VALUE *argv, VALUE self) {
|
|
14387
14364
|
}
|
14388
14365
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
14389
14366
|
if (!SWIG_IsOK(res1)) {
|
14390
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
14367
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","pull", 1, self ));
|
14391
14368
|
}
|
14392
|
-
arg1 = (
|
14369
|
+
arg1 = (struct _WsManClient *)(argp1);
|
14393
14370
|
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_client_opt_t, 0 | 0 );
|
14394
14371
|
if (!SWIG_IsOK(res2)) {
|
14395
14372
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "client_opt_t *","pull", 2, argv[0] ));
|
@@ -14410,7 +14387,7 @@ _wrap_Client_pull(int argc, VALUE *argv, VALUE self) {
|
|
14410
14387
|
SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char *","pull", 5, argv[3] ));
|
14411
14388
|
}
|
14412
14389
|
arg5 = (char *)(buf5);
|
14413
|
-
result = (WsXmlDocH)
|
14390
|
+
result = (WsXmlDocH)_WsManClient_pull(arg1,arg2,arg3,arg4,arg5);
|
14414
14391
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__WsXmlDoc, 0 | 0 );
|
14415
14392
|
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
|
14416
14393
|
if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
|
@@ -14427,15 +14404,14 @@ fail:
|
|
14427
14404
|
Document-method: Openwsman::Client.create
|
14428
14405
|
|
14429
14406
|
call-seq:
|
14430
|
-
create(ClientOptions options, char resource_uri, char data,
|
14431
|
-
size_t size, char encoding="utf-8") -> WsXmlDocH
|
14407
|
+
create(ClientOptions options, char * resource_uri, char * data, size_t size, char * encoding="utf-8") -> XmlDoc
|
14432
14408
|
|
14433
14409
|
An instance method.
|
14434
14410
|
|
14435
14411
|
*/
|
14436
14412
|
SWIGINTERN VALUE
|
14437
14413
|
_wrap_Client_create(int argc, VALUE *argv, VALUE self) {
|
14438
|
-
|
14414
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
14439
14415
|
client_opt_t *arg2 = (client_opt_t *) 0 ;
|
14440
14416
|
char *arg3 = (char *) 0 ;
|
14441
14417
|
char *arg4 = (char *) 0 ;
|
@@ -14464,9 +14440,9 @@ _wrap_Client_create(int argc, VALUE *argv, VALUE self) {
|
|
14464
14440
|
}
|
14465
14441
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
14466
14442
|
if (!SWIG_IsOK(res1)) {
|
14467
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
14443
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","create", 1, self ));
|
14468
14444
|
}
|
14469
|
-
arg1 = (
|
14445
|
+
arg1 = (struct _WsManClient *)(argp1);
|
14470
14446
|
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_client_opt_t, 0 | 0 );
|
14471
14447
|
if (!SWIG_IsOK(res2)) {
|
14472
14448
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "client_opt_t *","create", 2, argv[0] ));
|
@@ -14494,7 +14470,7 @@ _wrap_Client_create(int argc, VALUE *argv, VALUE self) {
|
|
14494
14470
|
}
|
14495
14471
|
arg6 = (char *)(buf6);
|
14496
14472
|
}
|
14497
|
-
result = (WsXmlDocH)
|
14473
|
+
result = (WsXmlDocH)_WsManClient_create(arg1,arg2,arg3,arg4,arg5,arg6);
|
14498
14474
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__WsXmlDoc, 0 | 0 );
|
14499
14475
|
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
|
14500
14476
|
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
|
@@ -14513,15 +14489,14 @@ fail:
|
|
14513
14489
|
Document-method: Openwsman::Client.put
|
14514
14490
|
|
14515
14491
|
call-seq:
|
14516
|
-
put(ClientOptions options, char resource_uri, char data,
|
14517
|
-
size_t size, char encoding="utf-8") -> WsXmlDocH
|
14492
|
+
put(ClientOptions options, char * resource_uri, char * data, size_t size, char * encoding="utf-8") -> XmlDoc
|
14518
14493
|
|
14519
14494
|
An instance method.
|
14520
14495
|
|
14521
14496
|
*/
|
14522
14497
|
SWIGINTERN VALUE
|
14523
14498
|
_wrap_Client_put(int argc, VALUE *argv, VALUE self) {
|
14524
|
-
|
14499
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
14525
14500
|
client_opt_t *arg2 = (client_opt_t *) 0 ;
|
14526
14501
|
char *arg3 = (char *) 0 ;
|
14527
14502
|
char *arg4 = (char *) 0 ;
|
@@ -14550,9 +14525,9 @@ _wrap_Client_put(int argc, VALUE *argv, VALUE self) {
|
|
14550
14525
|
}
|
14551
14526
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
14552
14527
|
if (!SWIG_IsOK(res1)) {
|
14553
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
14528
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","put", 1, self ));
|
14554
14529
|
}
|
14555
|
-
arg1 = (
|
14530
|
+
arg1 = (struct _WsManClient *)(argp1);
|
14556
14531
|
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_client_opt_t, 0 | 0 );
|
14557
14532
|
if (!SWIG_IsOK(res2)) {
|
14558
14533
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "client_opt_t *","put", 2, argv[0] ));
|
@@ -14580,7 +14555,7 @@ _wrap_Client_put(int argc, VALUE *argv, VALUE self) {
|
|
14580
14555
|
}
|
14581
14556
|
arg6 = (char *)(buf6);
|
14582
14557
|
}
|
14583
|
-
result = (WsXmlDocH)
|
14558
|
+
result = (WsXmlDocH)_WsManClient_put(arg1,arg2,arg3,arg4,arg5,arg6);
|
14584
14559
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__WsXmlDoc, 0 | 0 );
|
14585
14560
|
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
|
14586
14561
|
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
|
@@ -14599,14 +14574,14 @@ fail:
|
|
14599
14574
|
Document-method: Openwsman::Client.release
|
14600
14575
|
|
14601
14576
|
call-seq:
|
14602
|
-
release(ClientOptions options, char resource_uri, char enum_ctx) ->
|
14577
|
+
release(ClientOptions options, char * resource_uri, char * enum_ctx) -> XmlDoc
|
14603
14578
|
|
14604
14579
|
An instance method.
|
14605
14580
|
|
14606
14581
|
*/
|
14607
14582
|
SWIGINTERN VALUE
|
14608
14583
|
_wrap_Client_release(int argc, VALUE *argv, VALUE self) {
|
14609
|
-
|
14584
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
14610
14585
|
client_opt_t *arg2 = (client_opt_t *) 0 ;
|
14611
14586
|
char *arg3 = (char *) 0 ;
|
14612
14587
|
char *arg4 = (char *) 0 ;
|
@@ -14628,9 +14603,9 @@ _wrap_Client_release(int argc, VALUE *argv, VALUE self) {
|
|
14628
14603
|
}
|
14629
14604
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
14630
14605
|
if (!SWIG_IsOK(res1)) {
|
14631
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
14606
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","release", 1, self ));
|
14632
14607
|
}
|
14633
|
-
arg1 = (
|
14608
|
+
arg1 = (struct _WsManClient *)(argp1);
|
14634
14609
|
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_client_opt_t, 0 | 0 );
|
14635
14610
|
if (!SWIG_IsOK(res2)) {
|
14636
14611
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "client_opt_t *","release", 2, argv[0] ));
|
@@ -14646,7 +14621,7 @@ _wrap_Client_release(int argc, VALUE *argv, VALUE self) {
|
|
14646
14621
|
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char *","release", 4, argv[2] ));
|
14647
14622
|
}
|
14648
14623
|
arg4 = (char *)(buf4);
|
14649
|
-
result = (WsXmlDocH)
|
14624
|
+
result = (WsXmlDocH)_WsManClient_release(arg1,arg2,arg3,arg4);
|
14650
14625
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__WsXmlDoc, 0 | 0 );
|
14651
14626
|
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
|
14652
14627
|
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
|
@@ -14663,14 +14638,14 @@ fail:
|
|
14663
14638
|
Document-method: Openwsman::Client.get
|
14664
14639
|
|
14665
14640
|
call-seq:
|
14666
|
-
get(ClientOptions options, char resource_uri) ->
|
14641
|
+
get(ClientOptions options, char * resource_uri) -> XmlDoc
|
14667
14642
|
|
14668
14643
|
An instance method.
|
14669
14644
|
|
14670
14645
|
*/
|
14671
14646
|
SWIGINTERN VALUE
|
14672
14647
|
_wrap_Client_get(int argc, VALUE *argv, VALUE self) {
|
14673
|
-
|
14648
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
14674
14649
|
client_opt_t *arg2 = (client_opt_t *) 0 ;
|
14675
14650
|
char *arg3 = (char *) 0 ;
|
14676
14651
|
void *argp1 = 0 ;
|
@@ -14688,9 +14663,9 @@ _wrap_Client_get(int argc, VALUE *argv, VALUE self) {
|
|
14688
14663
|
}
|
14689
14664
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
14690
14665
|
if (!SWIG_IsOK(res1)) {
|
14691
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
14666
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","get", 1, self ));
|
14692
14667
|
}
|
14693
|
-
arg1 = (
|
14668
|
+
arg1 = (struct _WsManClient *)(argp1);
|
14694
14669
|
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_client_opt_t, 0 | 0 );
|
14695
14670
|
if (!SWIG_IsOK(res2)) {
|
14696
14671
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "client_opt_t *","get", 2, argv[0] ));
|
@@ -14701,7 +14676,7 @@ _wrap_Client_get(int argc, VALUE *argv, VALUE self) {
|
|
14701
14676
|
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char *","get", 3, argv[1] ));
|
14702
14677
|
}
|
14703
14678
|
arg3 = (char *)(buf3);
|
14704
|
-
result = (WsXmlDocH)
|
14679
|
+
result = (WsXmlDocH)_WsManClient_get(arg1,arg2,arg3);
|
14705
14680
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__WsXmlDoc, 0 | 0 );
|
14706
14681
|
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
|
14707
14682
|
return vresult;
|
@@ -14716,14 +14691,14 @@ fail:
|
|
14716
14691
|
Document-method: Openwsman::Client.delete
|
14717
14692
|
|
14718
14693
|
call-seq:
|
14719
|
-
delete(ClientOptions options, char resource_uri) ->
|
14694
|
+
delete(ClientOptions options, char * resource_uri) -> XmlDoc
|
14720
14695
|
|
14721
14696
|
An instance method.
|
14722
14697
|
|
14723
14698
|
*/
|
14724
14699
|
SWIGINTERN VALUE
|
14725
14700
|
_wrap_Client_delete(int argc, VALUE *argv, VALUE self) {
|
14726
|
-
|
14701
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
14727
14702
|
client_opt_t *arg2 = (client_opt_t *) 0 ;
|
14728
14703
|
char *arg3 = (char *) 0 ;
|
14729
14704
|
void *argp1 = 0 ;
|
@@ -14741,9 +14716,9 @@ _wrap_Client_delete(int argc, VALUE *argv, VALUE self) {
|
|
14741
14716
|
}
|
14742
14717
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
14743
14718
|
if (!SWIG_IsOK(res1)) {
|
14744
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
14719
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","delete", 1, self ));
|
14745
14720
|
}
|
14746
|
-
arg1 = (
|
14721
|
+
arg1 = (struct _WsManClient *)(argp1);
|
14747
14722
|
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_client_opt_t, 0 | 0 );
|
14748
14723
|
if (!SWIG_IsOK(res2)) {
|
14749
14724
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "client_opt_t *","delete", 2, argv[0] ));
|
@@ -14754,7 +14729,7 @@ _wrap_Client_delete(int argc, VALUE *argv, VALUE self) {
|
|
14754
14729
|
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char *","delete", 3, argv[1] ));
|
14755
14730
|
}
|
14756
14731
|
arg3 = (char *)(buf3);
|
14757
|
-
result = (WsXmlDocH)
|
14732
|
+
result = (WsXmlDocH)_WsManClient_delete(arg1,arg2,arg3);
|
14758
14733
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__WsXmlDoc, 0 | 0 );
|
14759
14734
|
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
|
14760
14735
|
return vresult;
|
@@ -14769,15 +14744,14 @@ fail:
|
|
14769
14744
|
Document-method: Openwsman::Client.invoke
|
14770
14745
|
|
14771
14746
|
call-seq:
|
14772
|
-
invoke(ClientOptions options, char resource_uri, char method,
|
14773
|
-
WsXmlDocH data=nil) -> WsXmlDocH
|
14747
|
+
invoke(ClientOptions options, char * resource_uri, char * method, XmlDoc data=0) -> XmlDoc
|
14774
14748
|
|
14775
14749
|
An instance method.
|
14776
14750
|
|
14777
14751
|
*/
|
14778
14752
|
SWIGINTERN VALUE
|
14779
14753
|
_wrap_Client_invoke(int argc, VALUE *argv, VALUE self) {
|
14780
|
-
|
14754
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
14781
14755
|
client_opt_t *arg2 = (client_opt_t *) 0 ;
|
14782
14756
|
char *arg3 = (char *) 0 ;
|
14783
14757
|
char *arg4 = (char *) 0 ;
|
@@ -14802,9 +14776,9 @@ _wrap_Client_invoke(int argc, VALUE *argv, VALUE self) {
|
|
14802
14776
|
}
|
14803
14777
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
14804
14778
|
if (!SWIG_IsOK(res1)) {
|
14805
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
14779
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","invoke", 1, self ));
|
14806
14780
|
}
|
14807
|
-
arg1 = (
|
14781
|
+
arg1 = (struct _WsManClient *)(argp1);
|
14808
14782
|
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_client_opt_t, 0 | 0 );
|
14809
14783
|
if (!SWIG_IsOK(res2)) {
|
14810
14784
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "client_opt_t *","invoke", 2, argv[0] ));
|
@@ -14827,7 +14801,7 @@ _wrap_Client_invoke(int argc, VALUE *argv, VALUE self) {
|
|
14827
14801
|
}
|
14828
14802
|
arg5 = (WsXmlDocH)(argp5);
|
14829
14803
|
}
|
14830
|
-
result = (WsXmlDocH)
|
14804
|
+
result = (WsXmlDocH)_WsManClient_invoke(arg1,arg2,arg3,arg4,arg5);
|
14831
14805
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__WsXmlDoc, 0 | 0 );
|
14832
14806
|
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
|
14833
14807
|
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
|
@@ -14844,14 +14818,14 @@ fail:
|
|
14844
14818
|
Document-method: Openwsman::Client.subscribe
|
14845
14819
|
|
14846
14820
|
call-seq:
|
14847
|
-
subscribe(ClientOptions options, Filter filter, char resource_uri) ->
|
14821
|
+
subscribe(ClientOptions options, Filter filter, char * resource_uri) -> XmlDoc
|
14848
14822
|
|
14849
14823
|
An instance method.
|
14850
14824
|
|
14851
14825
|
*/
|
14852
14826
|
SWIGINTERN VALUE
|
14853
14827
|
_wrap_Client_subscribe(int argc, VALUE *argv, VALUE self) {
|
14854
|
-
|
14828
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
14855
14829
|
client_opt_t *arg2 = (client_opt_t *) 0 ;
|
14856
14830
|
filter_t *arg3 = (filter_t *) 0 ;
|
14857
14831
|
char *arg4 = (char *) 0 ;
|
@@ -14872,9 +14846,9 @@ _wrap_Client_subscribe(int argc, VALUE *argv, VALUE self) {
|
|
14872
14846
|
}
|
14873
14847
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
14874
14848
|
if (!SWIG_IsOK(res1)) {
|
14875
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
14849
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","subscribe", 1, self ));
|
14876
14850
|
}
|
14877
|
-
arg1 = (
|
14851
|
+
arg1 = (struct _WsManClient *)(argp1);
|
14878
14852
|
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_client_opt_t, 0 | 0 );
|
14879
14853
|
if (!SWIG_IsOK(res2)) {
|
14880
14854
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "client_opt_t *","subscribe", 2, argv[0] ));
|
@@ -14890,7 +14864,7 @@ _wrap_Client_subscribe(int argc, VALUE *argv, VALUE self) {
|
|
14890
14864
|
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char *","subscribe", 4, argv[2] ));
|
14891
14865
|
}
|
14892
14866
|
arg4 = (char *)(buf4);
|
14893
|
-
result = (WsXmlDocH)
|
14867
|
+
result = (WsXmlDocH)_WsManClient_subscribe(arg1,arg2,arg3,arg4);
|
14894
14868
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__WsXmlDoc, 0 | 0 );
|
14895
14869
|
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
|
14896
14870
|
return vresult;
|
@@ -14905,15 +14879,14 @@ fail:
|
|
14905
14879
|
Document-method: Openwsman::Client.unsubscribe
|
14906
14880
|
|
14907
14881
|
call-seq:
|
14908
|
-
unsubscribe(ClientOptions options, Filter filter, char resource_uri,
|
14909
|
-
char identifier) -> WsXmlDocH
|
14882
|
+
unsubscribe(ClientOptions options, Filter filter, char * resource_uri, char * identifier) -> XmlDoc
|
14910
14883
|
|
14911
14884
|
An instance method.
|
14912
14885
|
|
14913
14886
|
*/
|
14914
14887
|
SWIGINTERN VALUE
|
14915
14888
|
_wrap_Client_unsubscribe(int argc, VALUE *argv, VALUE self) {
|
14916
|
-
|
14889
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
14917
14890
|
client_opt_t *arg2 = (client_opt_t *) 0 ;
|
14918
14891
|
filter_t *arg3 = (filter_t *) 0 ;
|
14919
14892
|
char *arg4 = (char *) 0 ;
|
@@ -14938,9 +14911,9 @@ _wrap_Client_unsubscribe(int argc, VALUE *argv, VALUE self) {
|
|
14938
14911
|
}
|
14939
14912
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
14940
14913
|
if (!SWIG_IsOK(res1)) {
|
14941
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
14914
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","unsubscribe", 1, self ));
|
14942
14915
|
}
|
14943
|
-
arg1 = (
|
14916
|
+
arg1 = (struct _WsManClient *)(argp1);
|
14944
14917
|
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_client_opt_t, 0 | 0 );
|
14945
14918
|
if (!SWIG_IsOK(res2)) {
|
14946
14919
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "client_opt_t *","unsubscribe", 2, argv[0] ));
|
@@ -14961,7 +14934,7 @@ _wrap_Client_unsubscribe(int argc, VALUE *argv, VALUE self) {
|
|
14961
14934
|
SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "char *","unsubscribe", 5, argv[3] ));
|
14962
14935
|
}
|
14963
14936
|
arg5 = (char *)(buf5);
|
14964
|
-
result = (WsXmlDocH)
|
14937
|
+
result = (WsXmlDocH)_WsManClient_unsubscribe(arg1,arg2,arg3,arg4,arg5);
|
14965
14938
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__WsXmlDoc, 0 | 0 );
|
14966
14939
|
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
|
14967
14940
|
if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
|
@@ -14978,14 +14951,14 @@ fail:
|
|
14978
14951
|
Document-method: Openwsman::Client.renew
|
14979
14952
|
|
14980
14953
|
call-seq:
|
14981
|
-
renew(ClientOptions options, char resource_uri, char identifier) ->
|
14954
|
+
renew(ClientOptions options, char * resource_uri, char * identifier) -> XmlDoc
|
14982
14955
|
|
14983
14956
|
An instance method.
|
14984
14957
|
|
14985
14958
|
*/
|
14986
14959
|
SWIGINTERN VALUE
|
14987
14960
|
_wrap_Client_renew(int argc, VALUE *argv, VALUE self) {
|
14988
|
-
|
14961
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
14989
14962
|
client_opt_t *arg2 = (client_opt_t *) 0 ;
|
14990
14963
|
char *arg3 = (char *) 0 ;
|
14991
14964
|
char *arg4 = (char *) 0 ;
|
@@ -15007,9 +14980,9 @@ _wrap_Client_renew(int argc, VALUE *argv, VALUE self) {
|
|
15007
14980
|
}
|
15008
14981
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
15009
14982
|
if (!SWIG_IsOK(res1)) {
|
15010
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
14983
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","renew", 1, self ));
|
15011
14984
|
}
|
15012
|
-
arg1 = (
|
14985
|
+
arg1 = (struct _WsManClient *)(argp1);
|
15013
14986
|
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_client_opt_t, 0 | 0 );
|
15014
14987
|
if (!SWIG_IsOK(res2)) {
|
15015
14988
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "client_opt_t *","renew", 2, argv[0] ));
|
@@ -15025,7 +14998,7 @@ _wrap_Client_renew(int argc, VALUE *argv, VALUE self) {
|
|
15025
14998
|
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char *","renew", 4, argv[2] ));
|
15026
14999
|
}
|
15027
15000
|
arg4 = (char *)(buf4);
|
15028
|
-
result = (WsXmlDocH)
|
15001
|
+
result = (WsXmlDocH)_WsManClient_renew(arg1,arg2,arg3,arg4);
|
15029
15002
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__WsXmlDoc, 0 | 0 );
|
15030
15003
|
if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
|
15031
15004
|
if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
|
@@ -15042,14 +15015,14 @@ fail:
|
|
15042
15015
|
Document-method: Openwsman::Client.fault_string
|
15043
15016
|
|
15044
15017
|
call-seq:
|
15045
|
-
fault_string -> char
|
15018
|
+
fault_string -> char *
|
15046
15019
|
|
15047
15020
|
An instance method.
|
15048
15021
|
|
15049
15022
|
*/
|
15050
15023
|
SWIGINTERN VALUE
|
15051
15024
|
_wrap_Client_fault_string(int argc, VALUE *argv, VALUE self) {
|
15052
|
-
|
15025
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
15053
15026
|
void *argp1 = 0 ;
|
15054
15027
|
int res1 = 0 ;
|
15055
15028
|
char *result = 0 ;
|
@@ -15060,10 +15033,10 @@ _wrap_Client_fault_string(int argc, VALUE *argv, VALUE self) {
|
|
15060
15033
|
}
|
15061
15034
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
15062
15035
|
if (!SWIG_IsOK(res1)) {
|
15063
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
15036
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","fault_string", 1, self ));
|
15064
15037
|
}
|
15065
|
-
arg1 = (
|
15066
|
-
result = (char *)
|
15038
|
+
arg1 = (struct _WsManClient *)(argp1);
|
15039
|
+
result = (char *)_WsManClient_fault_string(arg1);
|
15067
15040
|
vresult = SWIG_FromCharPtr((const char *)result);
|
15068
15041
|
return vresult;
|
15069
15042
|
fail:
|
@@ -15083,7 +15056,7 @@ An instance method.
|
|
15083
15056
|
*/
|
15084
15057
|
SWIGINTERN VALUE
|
15085
15058
|
_wrap_Client_last_error(int argc, VALUE *argv, VALUE self) {
|
15086
|
-
|
15059
|
+
struct _WsManClient *arg1 = (struct _WsManClient *) 0 ;
|
15087
15060
|
void *argp1 = 0 ;
|
15088
15061
|
int res1 = 0 ;
|
15089
15062
|
int result;
|
@@ -15094,10 +15067,10 @@ _wrap_Client_last_error(int argc, VALUE *argv, VALUE self) {
|
|
15094
15067
|
}
|
15095
15068
|
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__WsManClient, 0 | 0 );
|
15096
15069
|
if (!SWIG_IsOK(res1)) {
|
15097
|
-
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "
|
15070
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _WsManClient *","last_error", 1, self ));
|
15098
15071
|
}
|
15099
|
-
arg1 = (
|
15100
|
-
result = (int)
|
15072
|
+
arg1 = (struct _WsManClient *)(argp1);
|
15073
|
+
result = (int)_WsManClient_last_error(arg1);
|
15101
15074
|
vresult = SWIG_From_int((int)(result));
|
15102
15075
|
return vresult;
|
15103
15076
|
fail:
|
@@ -15167,7 +15140,7 @@ fail:
|
|
15167
15140
|
Document-method: Openwsman.create_soap_envelope
|
15168
15141
|
|
15169
15142
|
call-seq:
|
15170
|
-
create_soap_envelope ->
|
15143
|
+
create_soap_envelope -> XmlDoc
|
15171
15144
|
|
15172
15145
|
A module function.
|
15173
15146
|
|
@@ -15193,7 +15166,7 @@ fail:
|
|
15193
15166
|
Document-method: Openwsman.create_doc_from_file
|
15194
15167
|
|
15195
15168
|
call-seq:
|
15196
|
-
create_doc_from_file(char filename, char encoding="UTF-8") ->
|
15169
|
+
create_doc_from_file(char const * filename, char const * encoding="UTF-8") -> XmlDoc
|
15197
15170
|
|
15198
15171
|
A module function.
|
15199
15172
|
|
@@ -15243,7 +15216,7 @@ fail:
|
|
15243
15216
|
Document-method: Openwsman.create_doc_from_string
|
15244
15217
|
|
15245
15218
|
call-seq:
|
15246
|
-
create_doc_from_string(char buf, char encoding="UTF-8") ->
|
15219
|
+
create_doc_from_string(char const * buf, char const * encoding="UTF-8") -> XmlDoc
|
15247
15220
|
|
15248
15221
|
A module function.
|
15249
15222
|
|
@@ -15293,7 +15266,7 @@ fail:
|
|
15293
15266
|
Document-method: Openwsman.uri_prefix
|
15294
15267
|
|
15295
15268
|
call-seq:
|
15296
|
-
uri_prefix(char classname) -> char
|
15269
|
+
uri_prefix(char const * classname) -> char const *
|
15297
15270
|
|
15298
15271
|
A module function.
|
15299
15272
|
|
@@ -15334,9 +15307,9 @@ static swig_type_info _swigt__p_WsEnumerateInfo = {"_p_WsEnumerateInfo", "WsEnum
|
|
15334
15307
|
static swig_type_info _swigt__p_WsmanKnownStatusCode = {"_p_WsmanKnownStatusCode", "enum WsmanKnownStatusCode *|WsmanKnownStatusCode *", 0, 0, (void*)0, 0};
|
15335
15308
|
static swig_type_info _swigt__p_WsmanMessage = {"_p_WsmanMessage", "WsmanMessage *", 0, 0, (void*)0, 0};
|
15336
15309
|
static swig_type_info _swigt__p__WS_CONTEXT = {"_p__WS_CONTEXT", "_WS_CONTEXT *|struct _WS_CONTEXT *|WsContextH", 0, 0, (void*)0, 0};
|
15337
|
-
static swig_type_info _swigt__p__WsManClient = {"_p__WsManClient", "struct _WsManClient *|WsManClient *", 0, 0, (void*)0, 0};
|
15310
|
+
static swig_type_info _swigt__p__WsManClient = {"_p__WsManClient", "struct _WsManClient *|WsManClient *|_WsManClient *", 0, 0, (void*)0, 0};
|
15338
15311
|
static swig_type_info _swigt__p__WsManFault = {"_p__WsManFault", "struct _WsManFault *|WsManFault *|_WsManFault *", 0, 0, (void*)0, 0};
|
15339
|
-
static swig_type_info _swigt__p__WsManTransport = {"_p__WsManTransport", "struct _WsManTransport *|WsManTransport *", 0, 0, (void*)0, 0};
|
15312
|
+
static swig_type_info _swigt__p__WsManTransport = {"_p__WsManTransport", "_WsManTransport *|struct _WsManTransport *|WsManTransport *", 0, 0, (void*)0, 0};
|
15340
15313
|
static swig_type_info _swigt__p__WsXmlDoc = {"_p__WsXmlDoc", "_WsXmlDoc *|struct _WsXmlDoc *|WsXmlDocH", 0, 0, (void*)0, 0};
|
15341
15314
|
static swig_type_info _swigt__p__WsmanStatus = {"_p__WsmanStatus", "struct _WsmanStatus *|WsmanStatus *|_WsmanStatus *", 0, 0, (void*)0, 0};
|
15342
15315
|
static swig_type_info _swigt__p___Soap = {"_p___Soap", "struct __Soap *|__Soap *", 0, 0, (void*)0, 0};
|
@@ -15353,7 +15326,6 @@ static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
|
|
15353
15326
|
static swig_type_info _swigt__p_client_opt_t = {"_p_client_opt_t", "client_opt_t *", 0, 0, (void*)0, 0};
|
15354
15327
|
static swig_type_info _swigt__p_epr_t = {"_p_epr_t", "epr_t *", 0, 0, (void*)0, 0};
|
15355
15328
|
static swig_type_info _swigt__p_filter_t = {"_p_filter_t", "filter_t *", 0, 0, (void*)0, 0};
|
15356
|
-
static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0};
|
15357
15329
|
static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
|
15358
15330
|
static swig_type_info _swigt__p_wsman_auth_request_func_t = {"_p_wsman_auth_request_func_t", "wsman_auth_request_func_t *", 0, 0, (void*)0, 0};
|
15359
15331
|
static swig_type_info _swigt__p_wsman_auth_type_t = {"_p_wsman_auth_type_t", "wsman_auth_type_t *", 0, 0, (void*)0, 0};
|
@@ -15384,7 +15356,6 @@ static swig_type_info *swig_type_initial[] = {
|
|
15384
15356
|
&_swigt__p_client_opt_t,
|
15385
15357
|
&_swigt__p_epr_t,
|
15386
15358
|
&_swigt__p_filter_t,
|
15387
|
-
&_swigt__p_p_char,
|
15388
15359
|
&_swigt__p_void,
|
15389
15360
|
&_swigt__p_wsman_auth_request_func_t,
|
15390
15361
|
&_swigt__p_wsman_auth_type_t,
|
@@ -15415,7 +15386,6 @@ static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0,
|
|
15415
15386
|
static swig_cast_info _swigc__p_client_opt_t[] = { {&_swigt__p_client_opt_t, 0, 0, 0},{0, 0, 0, 0}};
|
15416
15387
|
static swig_cast_info _swigc__p_epr_t[] = { {&_swigt__p_epr_t, 0, 0, 0},{0, 0, 0, 0}};
|
15417
15388
|
static swig_cast_info _swigc__p_filter_t[] = { {&_swigt__p_filter_t, 0, 0, 0},{0, 0, 0, 0}};
|
15418
|
-
static swig_cast_info _swigc__p_p_char[] = { {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}};
|
15419
15389
|
static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
|
15420
15390
|
static swig_cast_info _swigc__p_wsman_auth_request_func_t[] = { {&_swigt__p_wsman_auth_request_func_t, 0, 0, 0},{0, 0, 0, 0}};
|
15421
15391
|
static swig_cast_info _swigc__p_wsman_auth_type_t[] = { {&_swigt__p_wsman_auth_type_t, 0, 0, 0},{0, 0, 0, 0}};
|
@@ -15446,7 +15416,6 @@ static swig_cast_info *swig_cast_initial[] = {
|
|
15446
15416
|
_swigc__p_client_opt_t,
|
15447
15417
|
_swigc__p_epr_t,
|
15448
15418
|
_swigc__p_filter_t,
|
15449
|
-
_swigc__p_p_char,
|
15450
15419
|
_swigc__p_void,
|
15451
15420
|
_swigc__p_wsman_auth_request_func_t,
|
15452
15421
|
_swigc__p_wsman_auth_type_t,
|
@@ -15712,8 +15681,8 @@ SWIGEXPORT void Init_Openwsman(void) {
|
|
15712
15681
|
SWIG_RubyInitializeTrackings();
|
15713
15682
|
rb_define_const(mOpenwsman, "OPENWSMAN_MAJOR", SWIG_From_int((int)(2)));
|
15714
15683
|
rb_define_const(mOpenwsman, "OPENWSMAN_MINOR", SWIG_From_int((int)(3)));
|
15715
|
-
rb_define_const(mOpenwsman, "OPENWSMAN_PATCH", SWIG_From_int((int)(
|
15716
|
-
rb_define_const(mOpenwsman, "OPENWSMAN_VERSION", SWIG_FromCharPtr("2.3.
|
15684
|
+
rb_define_const(mOpenwsman, "OPENWSMAN_PATCH", SWIG_From_int((int)(4)));
|
15685
|
+
rb_define_const(mOpenwsman, "OPENWSMAN_VERSION", SWIG_FromCharPtr("2.3.4"));
|
15717
15686
|
|
15718
15687
|
SwigClassXmlNs.klass = rb_define_class_under(mOpenwsman, "XmlNs", rb_cObject);
|
15719
15688
|
SWIG_TypeClientData(SWIGTYPE_p___WsXmlNs, (void *) &SwigClassXmlNs);
|
@@ -16582,7 +16551,7 @@ SWIGEXPORT void Init_Openwsman(void) {
|
|
16582
16551
|
rb_define_method(SwigClassClient.klass, "fault_string", _wrap_Client_fault_string, -1);
|
16583
16552
|
rb_define_method(SwigClassClient.klass, "last_error", _wrap_Client_last_error, -1);
|
16584
16553
|
SwigClassClient.mark = 0;
|
16585
|
-
SwigClassClient.destroy = (void (*)(void *))
|
16554
|
+
SwigClassClient.destroy = (void (*)(void *)) free__WsManClient;
|
16586
16555
|
SwigClassClient.trackObjects = 0;
|
16587
16556
|
rb_define_module_function(mOpenwsman, "debug=", _wrap_debuge___, -1);
|
16588
16557
|
rb_define_module_function(mOpenwsman, "debug", _wrap_debug, -1);
|