| 1 | /* |
| 2 | * ovirt-host-private.h: oVirt host resource |
| 3 | * |
| 4 | * Copyright (C) 2017 Red Hat, Inc. |
| 5 | * |
| 6 | * This library is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU Lesser General Public |
| 8 | * License as published by the Free Software Foundation; either |
| 9 | * version 2.1 of the License, or (at your option) any later version. |
| 10 | * |
| 11 | * This library is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 | * Lesser General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU Lesser General Public |
| 17 | * License along with this library. If not, see |
| 18 | * <http://www.gnu.org/licenses/>. |
| 19 | * |
| 20 | * Author: Eduardo Lima (Etrunko) <[email protected]> |
| 21 | */ |
| 22 | #ifndef __OVIRT_HOST_PRIVATE_H__ |
| 23 | #define __OVIRT_HOST_PRIVATE_H__ |
| 24 | |
| 25 | #include <govirt/ovirt-host.h> |
| 26 | #include <rest/rest-xml-node.h> |
| 27 | |
| 28 | G_BEGIN_DECLS |
| 29 | |
| 30 | OvirtHost *ovirt_host_new_from_id(const char *id, |
| 31 | const char *href); |
| 32 | OvirtHost *ovirt_host_new_from_xml(RestXmlNode *node, |
| 33 | GError **error); |
| 34 | |
| 35 | G_END_DECLS |
| 36 | |
| 37 | #endif /* __OVIRT_HOST_PRIVATE_H__ */ |