netdev_vlan_conf.h 1.1 KB
Newer Older
1
/*
E
Eric Blake 已提交
2
 * Copyright (C) 2009-2013 Red Hat, Inc.
3 4 5 6 7 8 9 10 11 12 13 14
 *
 * 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
15
 * License along with this library.  If not, see
16 17 18
 * <http://www.gnu.org/licenses/>.
 */

19 20
#ifndef LIBVIRT_NETDEV_VLAN_CONF_H
# define LIBVIRT_NETDEV_VLAN_CONF_H
21 22 23

# include "internal.h"
# include "virnetdevvlan.h"
24
# include "virbuffer.h"
25
# include "virxml.h"
26 27

int virNetDevVlanParse(xmlNodePtr node, xmlXPathContextPtr ctxt, virNetDevVlanPtr def);
E
Eric Blake 已提交
28
int virNetDevVlanFormat(const virNetDevVlan *def, virBufferPtr buf);
29

30
#endif /* LIBVIRT_NETDEV_VLAN_CONF_H */