diff options
author | Klaus Kaempf <kkaempf@novell.com> | 2007-03-05 09:34:55 +0000 |
---|---|---|
committer | Klaus Kaempf <kkaempf@novell.com> | 2007-03-05 09:34:55 +0000 |
commit | 8a8ab256533b077b664610df21f2ae17cf2178e1 (patch) | |
tree | 01c55174aa22e87b82bbdf798bb672c8377dea09 /examples | |
parent | 0e5f0e0f3ed2b35ead0ef9836cbba1236f922b2a (diff) | |
download | wsmancli-8a8ab256533b077b664610df21f2ae17cf2178e1.tar.gz wsmancli-8a8ab256533b077b664610df21f2ae17cf2178e1.tar.xz wsmancli-8a8ab256533b077b664610df21f2ae17cf2178e1.zip |
re-installing openwsman from scratch makes wsman-api.h available.
fix wrong paramter in call to deserialize()
Diffstat (limited to 'examples')
-rw-r--r-- | examples/win32_service.c | 3 | ||||
-rw-r--r-- | examples/wsmid_identify.c | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/examples/win32_service.c b/examples/win32_service.c index 84aeb01..6bbf491 100644 --- a/examples/win32_service.c +++ b/examples/win32_service.c @@ -39,8 +39,7 @@ #include <time.h> -#include "wsman-client-api.h" -#include "wsman-xml-serializer.h" +#include "wsman-api.h" #define RESOURCE_URI "http://schemas.microsoft.com/wbem/wsman/1/wmi/root/cimv2/Win32_Service" #define CLASSNAME "Win32_Service" diff --git a/examples/wsmid_identify.c b/examples/wsmid_identify.c index 654c9eb..641d0f4 100644 --- a/examples/wsmid_identify.c +++ b/examples/wsmid_identify.c @@ -39,8 +39,7 @@ #include <time.h> -#include "wsman-client-api.h" -#include "wsman-xml-serializer.h" +#include "wsman-api.h" struct __wsmid_identify { @@ -134,7 +133,7 @@ fprintf( stderr, "wsman_create_client( host %s, port %d, path %s, scheme %s, use wsmid_identify *id = ws_deserialize(wsman_client_get_context(cl), soapBody, wsmid_identify_TypeInfo, "IdentifyResponse", - XML_NS_WSMAN_ID, XML_NS_WSMAN_ID, + XML_NS_WSMAN_ID, NULL, 0, 0); if (vendor) |