Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

vadvance.C File Reference

#include <Basics.H>
#include <Text.H>
#include <VestaConfig.H>
#include <VestaSource.H>
#include <VDirSurrogate.H>
#include <VestaSourceAtomic.H>
#include "ReposUI.H"
#include <Units.H>
#include <getopt.h>

Go to the source code of this file.

Functions

void usage ()
void fix_work_dir_attrib (const Text &cworkdir, const Text &ctarget, VestaSource *vs_target)
void fix_work_dir_attrib (const Text &cworkdir, const Text &ctarget, const Text &lhost, const Text &lport)
int main (int argc, char *argv[])

Variables

Text program_name
const unsigned long MAXUL = (0UL - 1UL)
const Text default_junk = "*~ .*~ core"
const unsigned long default_maxsize = 1024*1024


Function Documentation

void fix_work_dir_attrib const Text cworkdir,
const Text ctarget,
const Text lhost,
const Text lport
 

Definition at line 93 of file vadvance.C.

References ReposUI::filenameToVS(), and fix_work_dir_attrib().

void fix_work_dir_attrib const Text cworkdir,
const Text ctarget,
VestaSource vs_target
 

Definition at line 65 of file vadvance.C.

References Text::cchars(), ReposUI::errorCodeText(), VestaAttribs::getAttrib(), VRErrorCode::ok, and VestaSource::setAttrib().

Referenced by fix_work_dir_attrib(), and main().

int main int  argc,
char *  argv[]
 

Definition at line 113 of file vadvance.C.

References VestaSourceAtomic::accessCheck(), ReposUI::canonicalize(), ReposUI::changed(), ReposUI::cleanup(), VestaSourceAtomic::decl(), default_maxsize, VDirSurrogate::defaultHost(), VDirSurrogate::defaultPort(), defpkgpar, VestaSource::dontReplace, ReposUI::errorCodeText(), ReposUI::filenameToVS(), Text::FindChar(), Text::FindCharR(), Text::FindText(), fix_work_dir_attrib(), Basics::FormatUnitVal(), VestaConfig::get(), VestaConfig::get_int(), VestaConfig::get_Text(), VestaAttribs::getAttrib(), ReposUI::highver(), VestaAttribs::inAttribs(), VestaSourceAtomic::insertImmutableDirectory(), VestaSourceAtomic::lasterr, VestaSource::makeFilesImmutable(), MAXUL, ReposUI::failure::msg, SRPC::failure::msg, VestaConfig::failure::msg, VestaSourceAtomic::name(), VestaSourceAtomic::ndone, VRErrorCode::noPermission, VRErrorCode::notMaster, VRErrorCode::ok, VestaSourceAtomic::okreplace, Basics::ParseUnitVal(), SRPC::failure::r, VestaSourceAtomic::run(), AccessControl::self(), VestaSourceAtomic::setAttrib(), Text::Sub(), test(), VestaSourceAtomic::testMaster(), VestaSource::timestamp(), usage(), and AccessControl::write.

void usage  ) 
 

Definition at line 51 of file vadvance.C.


Variable Documentation

const Text default_junk = "*~ .*~ core"
 

Definition at line 47 of file vadvance.C.

const unsigned long default_maxsize = 1024*1024
 

Definition at line 48 of file vadvance.C.

Referenced by main().

const unsigned long MAXUL = (0UL - 1UL)
 

Definition at line 46 of file vadvance.C.

Referenced by main().

Text program_name
 

Definition at line 45 of file vadvance.C.


Generated on Mon May 8 00:49:05 2006 for Vesta by  doxygen 1.4.2