hyperv: remove openwsman.h

This header's main purpose was to work around bugs in older versions of
openwsman. Most of the files using it only needed wsman-api.h, which
they now include directly.

Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Matt Coleman 2020-10-09 03:46:09 -04:00 committed by Michal Privoznik
parent 6fa53f02df
commit 6930138225
6 changed files with 7 additions and 35 deletions

View File

@ -34,7 +34,6 @@
#include "hyperv_private.h"
#include "hyperv_util.h"
#include "hyperv_wmi.h"
#include "openwsman.h"
#include "virstring.h"
#include "virkeycode.h"
#include "domain_conf.h"

View File

@ -22,10 +22,11 @@
#pragma once
#include <wsman-api.h>
#include "internal.h"
#include "virerror.h"
#include "hyperv_util.h"
#include "openwsman.h"
#include "capabilities.h"
typedef enum _hypervWmiVersion hypervWmiVersion;

View File

@ -24,7 +24,10 @@
*/
#include <config.h>
#include <wsman-soap.h>
#include <wsman-xml.h>
#include <wsman-xml-binding.h>
#include "internal.h"
#include "virerror.h"
@ -35,7 +38,6 @@
#include "hyperv_private.h"
#include "hyperv_wmi.h"
#include "virstring.h"
#include "openwsman.h"
#include "virlog.h"
#include "virxml.h"

View File

@ -26,7 +26,6 @@
#include "virbuffer.h"
#include "hyperv_private.h"
#include "hyperv_wmi_classes.h"
#include "openwsman.h"
#include "virhash.h"

View File

@ -23,8 +23,9 @@
#pragma once
#include <wsman-api.h>
#include "internal.h"
#include "openwsman.h"
#include "hyperv_wmi_classes.generated.typedef"

View File

@ -1,30 +0,0 @@
/*
* openwsman.h: workarounds for bugs in openwsman
*
* Copyright (C) 2011 Matthias Bolte <matthias.bolte@googlemail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see
* <http://www.gnu.org/licenses/>.
*
*/
#pragma once
#include <wsman-api.h>
/* wsman-xml.h */
WsXmlDocH ws_xml_create_doc(const char *rootNsUri, const char *rootName);
/* wsman-xml-binding.h */
WsXmlNodeH xml_parser_get_root(WsXmlDocH doc);