mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-02 03:11:12 +00:00
5bf824ea10
Done using this command (also includes .c.in and .h.in files): for i in $(g ls-files|grep -E '\.[ch](\.in)?$'|grep -v gnulib); do expand -i $i > j && mv j $i;done
29 lines
784 B
C
29 lines
784 B
C
/*
|
|
* Linux block and network stats.
|
|
*
|
|
* Copyright (C) 2007 Red Hat, Inc.
|
|
*
|
|
* See COPYING.LIB for the License of this software
|
|
*
|
|
* Richard W.M. Jones <rjones@redhat.com>
|
|
*/
|
|
|
|
#ifndef __STATS_LINUX_H__
|
|
#define __STATS_LINUX_H__
|
|
|
|
#ifdef __linux__
|
|
|
|
#include "xen_unified.h"
|
|
|
|
extern int xenLinuxDomainBlockStats (xenUnifiedPrivatePtr priv,
|
|
virDomainPtr dom, const char *path,
|
|
struct _virDomainBlockStats *stats);
|
|
extern int linuxDomainInterfaceStats (virConnectPtr conn, const char *path,
|
|
struct _virDomainInterfaceStats *stats);
|
|
|
|
extern int xenLinuxDomainDeviceID(virConnectPtr conn, int domid, const char *dev);
|
|
|
|
#endif /* __linux__ */
|
|
|
|
#endif /* __STATS_LINUX_H__ */
|