schroot_base Namespace Reference


Classes

class  main
 Frontend base for schroot programs. More...
class  option_action
 Actions specified as command-line options. More...
class  options
 Basic schroot command-line options. More...

Functions

template<class O, class M>
static int run (int argc, char *argv[])
 Main routine.


Function Documentation

template<class O, class M>
static int schroot_base::run ( int  argc,
char *  argv[] 
) [inline, static]

Main routine.

Parameters:
argc the number of arguments
argv argument vector
Returns:
0 on success, 1 on failure or the exit status of the chroot command.

References sbuild::log_exception_error(), sbuild::log_unknown_exception_error(), and SBUILD_MESSAGE_CATALOGUE.

Referenced by main(), and schroot_base::options::parse().

Here is the caller graph for this function:


Generated on Sat Jul 5 12:01:20 2008 for schroot by  doxygen 1.5.6