zypp::media Namespace Reference


Classes

class  MediaAccess
class  MediaCD
class  MediaCIFS
class  MediaCurl
class  MediaDIR
class  MediaDISK
class  MediaException
 Just inherits Exception to separate media exceptions. More...
class  MediaMountException
class  MediaUnmountException
class  MediaBadFilenameException
class  MediaNotOpenException
class  MediaFileNotFoundException
class  MediaWriteException
class  MediaNotAttachedException
class  MediaBadAttachPointException
class  MediaCurlInitException
class  MediaSystemException
class  MediaNotAFileException
class  MediaNotADirException
class  MediaBadUrlException
class  MediaBadUrlEmptyHostException
class  MediaBadUrlEmptyFilesystemException
class  MediaBadUrlEmptyDestinationException
class  MediaUnsupportedUrlSchemeException
class  MediaNotSupportedException
class  MediaCurlException
class  MediaCurlSetOptException
class  MediaNotDesiredException
class  MediaIsSharedException
class  MediaNotEjectedException
class  MediaUnauthorizedException
class  MediaHandler
class  MediaISO
class  MediaManager_Impl
class  MediaVerifierBase
 Interface to implement a media verifier. More...
class  NoVerifier
 Dummy default media verifier, which is always happy. More...
class  MediaManager
 Manages access to the 'physical' media, e.g CDROM drives, Disk volumes, directory trees, etc, using Media Access Url's. More...
class  MediaNFS
class  MediaSMB
class  MediaSource
 Media source internally used by MediaManager and MediaHandler. More...
class  AttachPoint
 Attach point of a media source. More...
struct  AttachedMedia
 A simple structure containing references to a media source and its attach point. More...
class  AuthData
 Class for handling media authentication data. More...
class  CurlAuthData
 Curl HTTP authentication data. More...
struct  MountEntry
 A "struct mntent" like mount entry structure, but using std::strings. More...
class  Mount
class  ProxyInfoSysconfig
class  ProxyInfo
struct  SilentMediaChange
struct  MediaChangeReport
struct  DownloadProgressReport
struct  AuthenticationReport

Typedefs

typedef std::map
< MediaAccessId,
ManagedMedia > 
ManagedMediaMap
typedef
zypp::RW_pointer
< MediaAccess
MediaAccessRef
typedef MediaAccessId MediaId
typedef unsigned int MediaNr
typedef
zypp::RW_pointer
< MediaVerifierBase
MediaVerifierRef
 A shared reference to the MediaVerifier implementation.
typedef unsigned int MediaAccessId
 Media manager access Id type.
typedef
zypp::RW_pointer
< MediaSource
MediaSourceRef
typedef
zypp::RW_pointer
< AttachPoint
AttachPointRef
typedef std::vector
< MountEntry
MountEntries
 A vector of mount entries.

Functions

std::ostream & operator<< (std::ostream &str, const MediaAccess &obj)
bool isNewDevice (const std::list< MediaSource > &devices, const MediaSource &media)
Pathname get_sysfs_path ()
static void escape (string &str_r, const char char_r, const string &escaped_r)
static string escapedPath (string path_r)
static string unEscape (string text_r)
ostream & operator<< (ostream &str, const MediaHandler &obj)
AutoMounterCleanUp disableAutoMounter ()
void restoreAutoMounter (AutoMounterCleanUp cleanup)
string getShare (Pathname spath_r)
Pathname stripShare (Pathname spath_r)
std::ostream & operator<< (std::ostream &str, AuthData &auth_data)
std::ostream & operator<< (std::ostream &str, CurlAuthData &auth_data)

Variables

static Mutex g_Mutex


Typedef Documentation

typedef std::map<MediaAccessId, ManagedMedia> zypp::media::ManagedMediaMap [static]

Definition at line 127 of file MediaManager.cc.

typedef zypp::RW_pointer<MediaAccess> zypp::media::MediaAccessRef

Definition at line 36 of file MediaManager.h.

typedef MediaAccessId zypp::media::MediaId

Definition at line 39 of file MediaManager.h.

typedef unsigned int zypp::media::MediaNr

Definition at line 40 of file MediaManager.h.

typedef zypp::RW_pointer<MediaVerifierBase> zypp::media::MediaVerifierRef

A shared reference to the MediaVerifier implementation.

Definition at line 124 of file MediaManager.h.

typedef unsigned int zypp::media::MediaAccessId

Media manager access Id type.

Definition at line 27 of file MediaSource.h.

typedef zypp::RW_pointer<MediaSource> zypp::media::MediaSourceRef

Definition at line 117 of file MediaSource.h.

typedef zypp::RW_pointer<AttachPoint> zypp::media::AttachPointRef

Definition at line 118 of file MediaSource.h.

typedef std::vector<MountEntry> zypp::media::MountEntries

A vector of mount entries.

Definition at line 59 of file Mount.h.


Function Documentation

std::ostream & zypp::media::operator<< ( std::ostream &  str,
const MediaAccess &  obj 
)

Definition at line 426 of file MediaAccess.cc.

References zypp::media::MediaAccess::dumpOn().

bool zypp::media::@217::isNewDevice ( const std::list< MediaSource > &  devices,
const MediaSource &  media 
) [static]

Definition at line 72 of file MediaCD.cc.

References zypp::media::MediaSource::equals().

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

Pathname zypp::media::@217::get_sysfs_path (  )  [inline, static]

Definition at line 84 of file MediaCD.cc.

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

static void zypp::media::escape ( string &  str_r,
const char  char_r,
const string &  escaped_r 
) [inline, static]

Definition at line 141 of file MediaCurl.cc.

Referenced by escapedPath(), zypp::storage::xml_tag_enclose(), and zypp::solver::detail::xml_tag_enclose().

static string zypp::media::escapedPath ( string  path_r  )  [inline, static]

Definition at line 149 of file MediaCurl.cc.

References escape().

static string zypp::media::unEscape ( string  text_r  )  [inline, static]

Definition at line 154 of file MediaCurl.cc.

Referenced by zypp::media::MediaCurl::attachTo().

ostream& zypp::media::operator<< ( ostream &  str,
const MediaHandler &  obj 
)

Definition at line 1214 of file MediaHandler.cc.

References zypp::media::MediaHandler::isAttached(), zypp::media::MediaHandler::localRoot(), and zypp::media::MediaHandler::url().

AutoMounterCleanUp zypp::media::@233::disableAutoMounter (  )  [static]

Definition at line 141 of file MediaManager.cc.

References ENABLE, HAL_AUTOMOUNTER_KEY, HAL_AUTOMOUNTER_UDI, MIL, NONE, REMOVE, WAR, XXX, and ZYPP_CAUGHT.

Referenced by zypp::media::MediaManager_Impl::MediaManager_Impl().

void zypp::media::@233::restoreAutoMounter ( AutoMounterCleanUp  cleanup  )  [static]

Definition at line 219 of file MediaManager.cc.

References ENABLE, HAL_AUTOMOUNTER_KEY, HAL_AUTOMOUNTER_UDI, MIL, NONE, REMOVE, WAR, XXX, and ZYPP_CAUGHT.

Referenced by zypp::media::MediaManager_Impl::~MediaManager_Impl().

string zypp::media::getShare ( Pathname  spath_r  )  [inline]

Definition at line 40 of file MediaSMB.cc.

Referenced by zypp::media::MediaSMB::attachTo().

Pathname zypp::media::stripShare ( Pathname  spath_r  )  [inline]

Definition at line 68 of file MediaSMB.cc.

std::ostream & zypp::media::operator<< ( std::ostream &  str,
AuthData &  auth_data 
)

Definition at line 126 of file MediaUserAuth.cc.

References zypp::media::AuthData::dumpOn().

std::ostream & zypp::media::operator<< ( std::ostream &  str,
CurlAuthData &  auth_data 
)

Definition at line 132 of file MediaUserAuth.cc.

References zypp::media::CurlAuthData::dumpOn().


Variable Documentation

Mutex zypp::media::g_Mutex [static]

Definition at line 51 of file MediaManager.cc.

Referenced by zypp::media::MediaManager::addVerifier(), zypp::media::MediaManager::attach(), zypp::media::MediaManager::attachDesiredMedia(), zypp::media::MediaManager::close(), zypp::media::MediaManager::delVerifier(), zypp::media::MediaManager::dirInfo(), zypp::media::MediaManager::disconnect(), zypp::media::MediaManager::doesFileExist(), zypp::media::MediaManager::downloads(), zypp::media::MediaManager::findAttachedMedia(), zypp::media::MediaManager::forceReleaseShared(), zypp::media::MediaManager::getAttachedMedia(), zypp::media::MediaManager::getMountEntries(), zypp::media::MediaManager::getMountTableMTime(), zypp::media::MediaManager::isAttached(), zypp::media::MediaManager::isDesiredMedia(), zypp::media::MediaManager::isOpen(), zypp::media::MediaManager::isSharedMedia(), zypp::media::MediaManager::isUseableAttachPoint(), zypp::media::MediaManager::localPath(), zypp::media::MediaManager::localRoot(), zypp::media::MediaManager::MediaManager(), zypp::media::MediaManager::open(), zypp::media::MediaManager::protocol(), zypp::media::MediaManager::provideDir(), zypp::media::MediaManager::provideDirTree(), zypp::media::MediaManager::provideFile(), zypp::media::MediaManager::release(), zypp::media::MediaManager::releaseAll(), zypp::media::MediaManager::releaseDir(), zypp::media::MediaManager::releaseFile(), zypp::media::MediaManager::releasePath(), zypp::media::MediaManager::setAttachPrefix(), and zypp::media::MediaManager::url().


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