summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/cdromutl.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2020-02-26 20:26:42 +0000
committerJulian Andres Klode <jak@debian.org>2020-02-26 20:26:42 +0000
commitbe22f24669bb6731b5835dc0e1b459d821683a9c (patch)
treea7937ab9aba3556760f0040727066a84a41f0006 /apt-pkg/contrib/cdromutl.h
parentc38e0047d95305e5984e822f670055cde6aa5f6a (diff)
parentdb678df196ccd8f9f6fb336706cf5701d1e53aa6 (diff)
Merge branch 'pu/visibility' into 'master'
apt-pkg: default visibility to hidden See merge request apt-team/apt!108
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