#include <VestaAttribs.H>
Inheritance diagram for VestaAttribs:
Public Types | |
typedef bool(* | valueCallback )(void *closure, const char *value) |
typedef bool(* | historyCallback )(void *closure, attribOp op, const char *name, const char *value, time_t timestamp) |
enum | attribOp { opSet = 0, opClear, opAdd, opRemove } |
Public Member Functions | |
bool | hasAttribs () throw () |
virtual bool | inAttribs (const char *name, const char *value) throw (SRPC::failure) |
virtual char * | getAttrib (const char *name) throw (SRPC::failure) |
const char * | getAttribConst (const char *name) throw () |
virtual void | getAttrib (const char *name, valueCallback cb, void *cl) |
virtual void | listAttribs (valueCallback cb, void *cl) |
virtual void | getAttribHistory (historyCallback cb, void *cl) |
VRErrorCode::errorCode | writeAttrib (attribOp op, const char *name, const char *value, time_t ×tamp) throw () |
bool | wouldWriteAttrib (attribOp op, const char *name, const char *value, time_t ×tamp) throw () |
Bit32 | firstAttrib () throw () |
void | setFirstAttrib (Bit32 newval) throw () |
Static Public Member Functions | |
static const char * | attribOpString (attribOp op) throw () |
static char | attribOpChar (attribOp op) throw () |
static Bit32 | copyAttribs (Bit32 from) throw () |
Public Attributes | |
Bit8 * | attribs |
|
Definition at line 93 of file VestaAttribs.H. |
|
Definition at line 92 of file VestaAttribs.H. |
|
Definition at line 82 of file VestaAttribs.H. |
|
Referenced by historyCb(). |
|
Referenced by coutHistoryCallback(). |
|
Definition at line 523 of file VestaAttribs.C. References VestaAttribsRep::create(), VMemPool::lengthenPointer(), VestaAttribsRep::next(), VestaAttribsRep::setNext(), VMemPool::shortenPointer(), VMemPool::type(), and VMemPool::vAttrib. |
|
Definition at line 78 of file VestaAttribs.C. References attribs. Referenced by getAttrib(), getAttribHistory(), listAttribs(), VDirChangeable::renameTo(), and VMemPool::writeCheckpoint(). |
|
Definition at line 184 of file VestaAttribs.C. References firstAttrib(), VMemPool::lengthenPointer(), opAdd, opClear, opRemove, opSet, VMemPool::type(), and VMemPool::vAttrib. |
|
Reimplemented in VDirSurrogate. Definition at line 166 of file VDirSurrogateOnly.C. Referenced by any_fattr(), file_fattr(), fix_work_dir_attrib(), listAllCallback(), main(), ReposUI::prevVersion(), test_thread(), AccessControl::toUnixGroup(), AccessControl::toUnixUser(), and upToWorkingDir(). |
|
Definition at line 136 of file VestaAttribs.C. References VMemPool::lengthenPointer(), VMemPool::type(), and VMemPool::vAttrib. Referenced by any_fattr(), do_readlink(), and VDCLookupResult(). |
|
Definition at line 258 of file VestaAttribs.C. References firstAttrib(), VMemPool::lengthenPointer(), VMemPool::type(), and VMemPool::vAttrib. Referenced by main(), ReplicateAttribs(), and test_thread(). |
|
Definition at line 100 of file VestaAttribs.H. References attribs. Referenced by AcquireMastership(), do_setattr(), WriteAttribStep::execute(), main(), VDirChangeable::renameTo(), and test_thread(). |
|
Reimplemented in VDirSurrogate. Definition at line 158 of file VDirSurrogateOnly.C. Referenced by doit(), InAttribsStep::execute(), main(), ReposUI::prevVersion(), and test_thread(). |
|
Definition at line 226 of file VestaAttribs.C. References firstAttrib(), Table< K, V >::Default::Get(), VMemPool::lengthenPointer(), opAdd, opClear, opRemove, opSet, Table< K, V >::Default::Put(), CharsKey::s, VMemPool::type(), and VMemPool::vAttrib. Referenced by MergeAttribStep::execute(), main(), and test_thread(). |
|
Definition at line 87 of file VestaAttribs.C. |
|
Definition at line 461 of file VestaAttribs.C. References VMemPool::lengthenPointer(), VMemPool::type(), and VMemPool::vAttrib. |
|
Definition at line 314 of file VestaAttribs.C. References VestaAttribsRep::create(), VMemPool::free(), VRErrorCode::invalidArgs, VMemPool::lengthenPointer(), VRErrorCode::nameInUse, VestaAttribsRep::next(), VRErrorCode::ok, VestaAttribsRep::setNext(), VMemPool::shortenPointer(), VMemPool::type(), VATTR_MINSIZE, and VMemPool::vAttrib. |
|