summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/cdromutl.h
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/contrib/cdromutl.h')
-rw-r--r--apt-pkg/contrib/cdromutl.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/apt-pkg/contrib/cdromutl.h b/apt-pkg/contrib/cdromutl.h
index d355a297e..1384cea9a 100644
--- a/apt-pkg/contrib/cdromutl.h
+++ b/apt-pkg/contrib/cdromutl.h
@@ -9,14 +9,16 @@
#ifndef PKGLIB_CDROMUTL_H
#define PKGLIB_CDROMUTL_H
+#include <apt-pkg/macros.h>
+
#include <string>
// mount cdrom, DeviceName (e.g. /dev/sr0) is optional
-bool MountCdrom(std::string Path, std::string DeviceName="");
-bool UnmountCdrom(std::string Path);
-bool IdentCdrom(std::string CD,std::string &Res,unsigned int Version = 2);
-bool IsMounted(std::string &Path);
-std::string FindMountPointForDevice(const char *device);
+APT_PUBLIC bool MountCdrom(std::string Path, std::string DeviceName="");
+APT_PUBLIC bool UnmountCdrom(std::string Path);
+APT_PUBLIC bool IdentCdrom(std::string CD,std::string &Res,unsigned int Version = 2);
+APT_PUBLIC bool IsMounted(std::string &Path);
+APT_PUBLIC std::string FindMountPointForDevice(const char *device);
#endif