]> git.saurik.com Git - apt.git/blob - apt-pkg/contrib/cdromutl.h
Sync with Michael
[apt.git] / apt-pkg / contrib / cdromutl.h
1 // -*- mode: cpp; mode: fold -*-
2 // Description /*{{{*/
3 // $Id: cdromutl.h,v 1.3 2001/05/07 05:06:52 jgg Exp $
4 /* ######################################################################
5
6 CDROM Utilities - Some functions to manipulate CDROM mounts.
7
8 ##################################################################### */
9 /*}}}*/
10 #ifndef PKGLIB_CDROMUTL_H
11 #define PKGLIB_CDROMUTL_H
12
13 #include <string>
14
15 using std::string;
16
17 #ifdef __GNUG__
18 #pragma interface "apt-pkg/cdromutl.h"
19 #endif
20
21 bool MountCdrom(string Path);
22 bool UnmountCdrom(string Path);
23 bool IdentCdrom(string CD,string &Res,unsigned int Version = 2);
24 bool IsMounted(string &Path);
25
26 #endif