MediaCD.cc File Reference

#include <iostream>
#include "zypp/base/Logger.h"
#include "zypp/ExternalProgram.h"
#include "zypp/media/Mount.h"
#include "zypp/media/MediaCD.h"
#include "zypp/media/MediaManager.h"
#include "zypp/Url.h"
#include "zypp/target/hal/HalContext.h"
#include <cstring>
#include <cstdlib>
#include <errno.h>
#include <dirent.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <linux/cdrom.h>

Go to the source code of this file.

Namespaces

namespace  zypp
namespace  zypp::media

Defines

#define DELAYED_VERIFY   1
#define FORCE_RELEASE_FOREIGN   2
#define REUSE_FOREIGN_MOUNTS   2
#define REPORT_EJECT_ERRORS   1
#define EJECT_TOOL_PATH   "/bin/eject"

Functions

bool zypp::media::isNewDevice (const std::list< MediaSource > &devices, const MediaSource &media)
Pathname zypp::media::get_sysfs_path ()


Detailed Description

Definition in file MediaCD.cc.


Define Documentation

#define DELAYED_VERIFY   1

Definition at line 39 of file MediaCD.cc.

#define FORCE_RELEASE_FOREIGN   2

Definition at line 45 of file MediaCD.cc.

Referenced by zypp::media::MediaCD::forceEject(), and zypp::media::MediaCD::releaseFrom().

#define REUSE_FOREIGN_MOUNTS   2

Definition at line 51 of file MediaCD.cc.

#define REPORT_EJECT_ERRORS   1

Definition at line 56 of file MediaCD.cc.

#define EJECT_TOOL_PATH   "/bin/eject"

Definition at line 62 of file MediaCD.cc.

Referenced by zypp::media::MediaCD::openTray().


Generated on Tue Sep 25 19:23:11 2007 for libzypp by  doxygen 1.5.3