From d669751ba187834ccc6e4fc44b070159d34b1c2b Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:51:46 +0000 Subject: CDROM stuff from apt-cdrom Author: jgg Date: 1998-11-29 01:19:27 GMT CDROM stuff from apt-cdrom --- apt-pkg/contrib/cdromutl.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 apt-pkg/contrib/cdromutl.h (limited to 'apt-pkg/contrib/cdromutl.h') diff --git a/apt-pkg/contrib/cdromutl.h b/apt-pkg/contrib/cdromutl.h new file mode 100644 index 000000000..a9f4f926c --- /dev/null +++ b/apt-pkg/contrib/cdromutl.h @@ -0,0 +1,23 @@ +// -*- mode: cpp; mode: fold -*- +// Description /*{{{*/ +// $Id: cdromutl.h,v 1.1 1998/11/29 01:19:27 jgg Exp $ +/* ###################################################################### + + CDROM Utilities - Some functions to manipulate CDROM mounts. + + ##################################################################### */ + /*}}}*/ +#ifndef PKGLIB_CDROMUTL_H +#define PKGLIB_ACQUIRE_METHOD_H + +#include + +#ifdef __GNUG__ +#pragma interface "apt-pkg/cdromutl.h" +#endif + +bool MountCdrom(string Path); +bool UnmountCdrom(string Path); +bool IdentCdrom(string CD,string &Res); + +#endif -- cgit v1.2.3