apt @VERSION@
cdromutl.h
00001 // -*- mode: cpp; mode: fold -*-
00002 // Description                                                          /*{{{*/
00003 // $Id: cdromutl.h,v 1.3 2001/05/07 05:06:52 jgg Exp $
00004 /* ######################################################################
00005 
00006    CDROM Utilities - Some functions to manipulate CDROM mounts.
00007    
00008    ##################################################################### */
00009                                                                         /*}}}*/
00010 #ifndef PKGLIB_CDROMUTL_H
00011 #define PKGLIB_CDROMUTL_H
00012 
00013 #include <string>
00014 
00015 // mount cdrom, DeviceName (e.g. /dev/sr0) is optional
00016 bool MountCdrom(std::string Path, std::string DeviceName="");
00017 bool UnmountCdrom(std::string Path);
00018 bool IdentCdrom(std::string CD,std::string &Res,unsigned int Version = 2);
00019 bool IsMounted(std::string &Path);
00020 std::string FindMountPointForDevice(const char *device);
00021 
00022 #endif