schroot.cc File Reference

#include <config.h>
#include <cstdlib>
#include <iostream>
#include <locale>
#include <termios.h>
#include <unistd.h>
#include <boost/format.hpp>
#include <syslog.h>
#include "sbuild.h"
#include "schroot-options.h"

Include dependency graph for schroot.cc:


Functions

void print_version (std::ostream &stream, schroot::options &options)
 Print version information.
sbuild::string_list get_chroot_options (std::tr1::shared_ptr< sbuild::chroot_config > &config, schroot::options &options)
 Get a list of chroots based on the specified options (--all, --chroot).
int main (int argc, char *argv[])
 Main routine.

Function Documentation

sbuild::string_list get_chroot_options std::tr1::shared_ptr< sbuild::chroot_config > &  config,
schroot::options options
 

Get a list of chroots based on the specified options (--all, --chroot).

Parameters:
config the chroot configuration
options the command-line options
Returns:
a list of chroots.

int main int  argc,
char *  argv[]
 

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.

void print_version std::ostream &  stream,
schroot::options options
 

Print version information.

Parameters:
stream the stream to output to.
options the command line options.


Generated on Sat May 27 15:53:12 2006 for schroot by  doxygen 1.4.6