]> git.saurik.com Git - apt.git/blame - apt-pkg/contrib/cdromutl.h
* fix missing SetExecClose() call when the status-fd is used
[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
233b185f
AL
15using std::string;
16
d669751b
AL
17bool MountCdrom(string Path);
18bool UnmountCdrom(string Path);
34fc0421 19bool IdentCdrom(string CD,string &Res,unsigned int Version = 2);
70dbf5f8 20bool IsMounted(string &Path);
d669751b
AL
21
22#endif