zypp::misc Namespace Reference

Enumerations

enum  LoadSystemFlag { LS_READONLY = (1 << 0), LS_NOREFRESH = (1 << 1) }
 

Bits for tuning defaultLoadSystem.

More...

Functions

void defaultLoadSystem (const Pathname &sysRoot_r="/", LoadSystemFlags flags_r=LoadSystemFlags())
 Create the ZYpp instance and load target and enabled repositories.
void defaultLoadSystem (LoadSystemFlags flags_r)

Enumeration Type Documentation

Bits for tuning defaultLoadSystem.

Use LoadSystemFlags as a type-safe way of storing OR-combinations.

Enumerator:
LS_READONLY 

// Create readonly ZYpp instance.

LS_NOREFRESH 

// Don't refresh existing repos.

Definition at line 33 of file DefaultLoadSystem.h.


Function Documentation

void zypp::misc::defaultLoadSystem ( const Pathname &  sysRoot_r = "/",
LoadSystemFlags  flags_r = LoadSystemFlags() 
)

Create the ZYpp instance and load target and enabled repositories.

See also:
LoadSystemFlag for options.
Exceptions:
Exception on error
Todo:
properly handle service refreshs

Referenced by defaultLoadSystem().

void zypp::misc::defaultLoadSystem ( LoadSystemFlags  flags_r  )  [inline]

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 54 of file DefaultLoadSystem.h.

References defaultLoadSystem().

Generated on Fri Mar 2 09:46:15 2012 for libzypp by  doxygen 1.6.3