Data Fields | |
uint8_t | type |
Type of the value, from KeyType. | |
uid_t | uid |
System UID of this key. | |
uid_t | gid |
System GID of this key. | |
mode_t | access |
File-like access control. | |
time_t | atime |
Time for last access (stat). | |
time_t | mtime |
Time for last modification. | |
time_t | ctime |
Time for last change (meta info). | |
size_t | commentSize |
Size of the comment of description string, including ending NULL. | |
size_t | dataSize |
Size of the value, in bytes, including ending NULL. | |
size_t | recordSize |
dataSize + commentSize + some control | |
uint32_t | flags |
Some control and internal flags. | |
char * | key |
The name of the key. | |
char * | comment |
A comment about the key. | |
char * | userDomain |
The user that owns the key. | |
void * | data |
The value, which is a NULL terminated string or binary. | |
_Key * | next |
Link to the next object in a KeySet context. |
Its internal private attributes should not be accessed directly by regular programs. Use the Key access methods instead. Only a backend writer needs to have access to the private attributes of the Key object which is defined as:
typedef struct _Key Key;
Definition at line 82 of file kdbprivate.h.
|
Type of the value, from KeyType.
Definition at line 87 of file kdbprivate.h. Referenced by keyCompare(), keyGetLink(), keyGetString(), keyGetType(), keyInit(), keyIsBin(), keyIsDir(), keyIsLink(), keyIsString(), keySetType(), keyToStreamBasename(), ksLookupByValue(), and ksLookupRE(). |
|
System UID of this key.
Definition at line 93 of file kdbprivate.h. Referenced by keyCompare(), keyGetUID(), keyInit(), keySetUID(), and keyToStreamBasename(). |
|
System GID of this key.
Definition at line 99 of file kdbprivate.h. Referenced by keyCompare(), keyGetGID(), keyInit(), keySetGID(), and keyToStreamBasename(). |
|
File-like access control.
Definition at line 105 of file kdbprivate.h. Referenced by keyCompare(), keyGetAccess(), keyInit(), keySetAccess(), keySetType(), and keyToStreamBasename(). |
|
Time for last access (stat).
Definition at line 111 of file kdbprivate.h. Referenced by keyGetATime(). |
|
Time for last modification.
Definition at line 117 of file kdbprivate.h. Referenced by keyGetMTime(). |
|
Time for last change (meta info).
Definition at line 123 of file kdbprivate.h. Referenced by keyGetCTime(). |
|
Size of the comment of description string, including ending NULL.
Definition at line 129 of file kdbprivate.h. Referenced by keySetComment(). |
|
Size of the value, in bytes, including ending NULL.
Definition at line 135 of file kdbprivate.h. Referenced by keyCompare(), keyDup(), keyGetBinary(), keyGetLink(), keyGetString(), keyGetValueSize(), keySetRaw(), keyToStreamBasename(), ksLookupByBinaryValue(), and ksLookupByValue(). |
|
Some control and internal flags.
Definition at line 142 of file kdbprivate.h. Referenced by kdbGetRootKeys(), keyClearFlag(), keyCompare(), keyDup(), keyGetFlag(), keyGetNamespace(), keyInit(), keyIsInitialized(), keyIsSystem(), keyIsUser(), keyNeedsSync(), keyNew(), keySetAccess(), keySetComment(), keySetFlag(), keySetGID(), keySetName(), keySetOwner(), keySetRaw(), keySetType(), and keySetUID(). |
|
The name of the key.
Definition at line 148 of file kdbprivate.h. Referenced by keyAddBaseName(), keyClose(), keyCompare(), keyDup(), keyGetBaseName(), keyGetBaseNameSize(), keyGetFullName(), keyGetFullNameSize(), keyGetFullRootName(), keyGetFullRootNameSize(), keyGetName(), keyGetNameSize(), keyGetParentName(), keyGetParentNameSize(), keyGetRootName(), keyGetRootNameSize(), keySetBaseName(), keySetName(), keyStealBaseName(), keyStealName(), keyToStreamBasename(), ksLookupByName(), ksLookupRE(), and ksToStream(). |
|
A comment about the key.
Definition at line 154 of file kdbprivate.h. Referenced by keyClose(), keyCompare(), keyDup(), keyGetComment(), keyGetCommentSize(), keySetComment(), keyStealComment(), keyToStreamBasename(), and ksLookupRE(). |
|
The user that owns the key.
Definition at line 160 of file kdbprivate.h. Referenced by keyClose(), keyCompare(), keyDup(), keyGetFullName(), keyGetFullNameSize(), keyGetFullRootName(), keyGetFullRootNameSize(), keyGetOwner(), keyGetOwnerSize(), keySetName(), keySetOwner(), keyStealOwner(), keyToStreamBasename(), and ksLookupRE(). |
|
The value, which is a NULL terminated string or binary.
Definition at line 166 of file kdbprivate.h. Referenced by keyClose(), keyCompare(), keyDup(), keyGetBinary(), keyGetLink(), keyGetString(), keySetRaw(), keyStealValue(), keyToStreamBasename(), ksLookupByBinaryValue(), ksLookupByValue(), and ksLookupRE(). |