2007-11-14 11:58:36 +00:00
|
|
|
/*
|
|
|
|
* Linux block and network stats.
|
|
|
|
*
|
|
|
|
* 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
|
|
|
|
2010-03-09 18:22:22 +00:00
|
|
|
# ifdef __linux__
|
2007-11-14 11:58:36 +00:00
|
|
|
|
2010-03-09 18:22:22 +00:00
|
|
|
# include "internal.h"
|
2007-11-14 11:58:36 +00:00
|
|
|
|
2010-02-04 23:02:10 +00:00
|
|
|
extern int linuxDomainInterfaceStats(const char *path,
|
|
|
|
struct _virDomainInterfaceStats *stats);
|
2007-11-14 11:58:36 +00:00
|
|
|
|
2010-03-09 18:22:22 +00:00
|
|
|
# endif /* __linux__ */
|
2007-11-14 11:58:36 +00:00
|
|
|
|
|
|
|
#endif /* __STATS_LINUX_H__ */
|