summaryrefslogtreecommitdiffstats
path: root/src/guestfs-internal.h
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-06-29 19:03:37 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-07-06 17:36:29 +0100
commit3fe9235b90ec128cd59407100a1b49c7d4a581de (patch)
treed297e36d781534f4a027112128fbdc020f1d1c19 /src/guestfs-internal.h
parent3004973f5cc97c9e2a0c22c33598235ae8220ea5 (diff)
downloadlibguestfs-3fe9235b90ec128cd59407100a1b49c7d4a581de.tar.gz
libguestfs-3fe9235b90ec128cd59407100a1b49c7d4a581de.tar.xz
libguestfs-3fe9235b90ec128cd59407100a1b49c7d4a581de.zip
New API: guestfs_nr_devices
This returns the number of whole block devices added. It is usually simpler to call this than to list the devices and count them, which is what we do in some places in the current codebase. (cherry picked from commit 152b179a19e43fcb0baec65ea65d394ee1dba891)
Diffstat (limited to 'src/guestfs-internal.h')
0 files changed, 0 insertions, 0 deletions