]> git.saurik.com Git - apt.git/blame - apt-pkg/contrib/cdromutl.h
Merge remote-tracking branch 'mvo/bugfix/update-progress-reporting' into debian/exper...
[apt.git] / apt-pkg / contrib / cdromutl.h
CommitLineData
d669751b
AL
1// -*- mode: cpp; mode: fold -*-
2// Description /*{{{*/
233b185f 3// $Id: cdromutl.h,v 1.3 2001/05/07 05:06:52 jgg Exp $
d669751b
AL
4/* ######################################################################
5
6 CDROM Utilities - Some functions to manipulate CDROM mounts.
7
8 ##################################################################### */
9 /*}}}*/
10#ifndef PKGLIB_CDROMUTL_H
70dbf5f8 11#define PKGLIB_CDROMUTL_H
d669751b
AL
12
13#include <string>
14
a4f6bdc8
DK
15#ifndef APT_8_CLEANER_HEADERS
16using std::string;
17#endif
18
a6418a4b 19// mount cdrom, DeviceName (e.g. /dev/sr0) is optional
8f3ba4e8
DK
20bool MountCdrom(std::string Path, std::string DeviceName="");
21bool UnmountCdrom(std::string Path);
22bool IdentCdrom(std::string CD,std::string &Res,unsigned int Version = 2);
23bool IsMounted(std::string &Path);
24std::string FindMountPointForDevice(const char *device);
d669751b
AL
25
26#endif