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

Replication.H File Reference

#include "UniqueId.H"
#include "FP.H"
#include "VestaSource.H"

Go to the source code of this file.

Functions

VestaSource::errorCode Replicate (const char *pathname, bool asStub, bool asGhost, const char *srcHost, const char *srcPort, char pathnameSep, AccessControl::Identity dwho, AccessControl::Identity swho) throw ()
VestaSource::errorCode ReplicateAttribs (const char *pathname, bool includeAccess, const char *srcHost, const char *srcPort, char pathnameSep, AccessControl::Identity dwho, AccessControl::Identity swho) throw ()
void ReplicationCleanup () throw ()


Function Documentation

VestaSource::errorCode Replicate const char *  pathname,
bool  asStub,
bool  asGhost,
const char *  srcHost,
const char *  srcPort,
char  pathnameSep,
AccessControl::Identity  dwho,
AccessControl::Identity  swho
throw ()
 

Definition at line 601 of file Replication.C.

References VestaSource::appendableDirectory, FP::ByteCnt, LongId::checkLock, VestaSource::dontReplace, Repos::dprintf(), VestaSource::errorCodeString(), VestaSource::fptag, VestaSource::ghost, VestaSource::immutableDirectory, VestaSource::immutableFile, VRErrorCode::inappropriateOp, VestaSource::insertMutableDirectory(), VRErrorCode::invalidArgs, VestaSource::longid, LongId::lookup(), VestaSource::lookup(), VestaSource::lookupPathname(), VestaSource::master, VestaSource::mutableRoot(), VRErrorCode::nameInUse, VRErrorCode::noPermission, VRErrorCode::notFound, NullShortId, VRErrorCode::ok, LongId::readLock, VestaSource::reallyDelete(), ReadersWritersLock::release(), VestaSource::replaceDiff, ReplicationAccessCheck(), REPLICATOR_DIR, VDirSurrogate::repositoryRoot(), VestaSource::repositoryRoot(), VRErrorCode::rpcFailure, RWLOCK_LOCKED_REASON, VestaSource::setAttrib(), VestaSource::stub, VestaSource::timestamp(), VestaSource::type, VestaSource::typeTagString(), UniqueId(), FP::Tag::Word0(), and FP::Tag::Word1().

VestaSource::errorCode ReplicateAttribs const char *  pathname,
bool  includeAccess,
const char *  srcHost,
const char *  srcPort,
char  pathnameSep,
AccessControl::Identity  dwho,
AccessControl::Identity  swho
throw ()
 

Definition at line 954 of file Replication.C.

References Repos::dprintf(), ReplicateAttribsClosure::dvs, ReplicateAttribsClosure::err, VestaSource::errorCodeString(), VestaAttribs::getAttribHistory(), VRErrorCode::inappropriateOp, ReplicateAttribsClosure::includeAccess, VestaSource::lookupPathname(), VRErrorCode::noPermission, VRErrorCode::ok, LongId::readLock, ReadersWritersLock::release(), ReplicationAccessCheck(), VestaSource::repositoryRoot(), VDirSurrogate::repositoryRoot(), VRErrorCode::rpcFailure, RWLOCK_LOCKED_REASON, and VestaSource::type.

void ReplicationCleanup  )  throw ()
 

Definition at line 583 of file Replication.C.

References VestaSource::list(), VestaSource::lookup(), VestaSource::mutableRoot(), VRErrorCode::ok, ReadersWritersLock::release(), REPLICATOR_DIR, and RWLOCK_LOCKED_REASON.

Referenced by main().


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