summaryrefslogtreecommitdiffstats
path: root/daemon/daemon.h
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-03-26 10:10:16 +0000
committerRichard Jones <rjones@redhat.com>2010-03-26 13:36:30 +0000
commit9e0b31a2af26b8d58a44dd80993a5e73d4942307 (patch)
tree366ae63d35d8d233810434ec12b5b325485d4061 /daemon/daemon.h
parent57c143da4d9b9e75e6da83ef3b8e8c0979c6f0f6 (diff)
downloadlibguestfs-9e0b31a2af26b8d58a44dd80993a5e73d4942307.tar.gz
libguestfs-9e0b31a2af26b8d58a44dd80993a5e73d4942307.tar.xz
libguestfs-9e0b31a2af26b8d58a44dd80993a5e73d4942307.zip
appliance: Set $PATH instead of hard-coding paths to binaries everywhere.
Change the appliance so PATH includes common directories. Thus we don't need to hard-code paths to binaries (eg. "/sbin/fdisk") everywhere.
Diffstat (limited to 'daemon/daemon.h')
-rw-r--r--daemon/daemon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/daemon.h b/daemon/daemon.h
index 777cf332..19dd69cd 100644
--- a/daemon/daemon.h
+++ b/daemon/daemon.h
@@ -70,6 +70,8 @@ extern void trim (char *str);
extern int device_name_translation (char *device, const char *func);
+extern int prog_exists (const char *prog);
+
extern void udev_settle (void);
/* This just stops gcc from giving a warning about our custom