2007-11-14 11:58:36 +00:00
|
|
|
/*
|
2014-07-05 15:34:39 +00:00
|
|
|
* virstats.h: Block and network stats.
|
2007-11-14 11:58:36 +00:00
|
|
|
*
|
|
|
|
* Copyright (C) 2007 Red Hat, Inc.
|
|
|
|
*
|
2012-07-27 09:39:53 +00:00
|
|
|
* 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
|
2012-09-20 22:30:55 +00:00
|
|
|
* License along with this library. If not, see
|
2012-07-27 09:39:53 +00:00
|
|
|
* <http://www.gnu.org/licenses/>.
|
2007-11-14 11:58:36 +00:00
|
|
|
*
|
|
|
|
* Richard W.M. Jones <rjones@redhat.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __STATS_LINUX_H__
|
2010-03-09 18:22:22 +00:00
|
|
|
# define __STATS_LINUX_H__
|
2007-11-14 11:58:36 +00:00
|
|
|
|
2014-07-05 15:34:39 +00:00
|
|
|
# include "internal.h"
|
2007-11-14 11:58:36 +00:00
|
|
|
|
2014-07-05 15:34:39 +00:00
|
|
|
extern int virNetInterfaceStats(const char *path,
|
2014-09-16 13:19:45 +00:00
|
|
|
virDomainInterfaceStatsPtr stats);
|
2007-11-14 11:58:36 +00:00
|
|
|
|
|
|
|
#endif /* __STATS_LINUX_H__ */
|