Go to the source code of this file.
◆ ItemIdGetFlags
#define ItemIdGetFlags |
( |
|
itemId | ) |
((itemId)->lp_flags) |
◆ ItemIdGetLength
#define ItemIdGetLength |
( |
|
itemId | ) |
((itemId)->lp_len) |
◆ ItemIdGetOffset
#define ItemIdGetOffset |
( |
|
itemId | ) |
((itemId)->lp_off) |
◆ ItemIdGetRedirect
#define ItemIdGetRedirect |
( |
|
itemId | ) |
((itemId)->lp_off) |
◆ ItemIdHasStorage
#define ItemIdHasStorage |
( |
|
itemId | ) |
((itemId)->lp_len != 0) |
◆ ItemIdIsDead
#define ItemIdIsDead |
( |
|
itemId | ) |
((itemId)->lp_flags == LP_DEAD) |
◆ ItemIdIsNormal
#define ItemIdIsNormal |
( |
|
itemId | ) |
((itemId)->lp_flags == LP_NORMAL) |
◆ ItemIdIsRedirected
#define ItemIdIsRedirected |
( |
|
itemId | ) |
((itemId)->lp_flags == LP_REDIRECT) |
◆ ItemIdIsUsed
#define ItemIdIsUsed |
( |
|
itemId | ) |
((itemId)->lp_flags != LP_UNUSED) |
◆ ItemIdIsValid
◆ ItemIdMarkDead
#define ItemIdMarkDead |
( |
|
itemId | ) |
|
◆ ItemIdSetDead
#define ItemIdSetDead |
( |
|
itemId | ) |
|
Value:( \
(itemId)->lp_off = 0, \
(itemId)->lp_len = 0 \
)
Definition at line 164 of file itemid.h.
◆ ItemIdSetNormal
#define ItemIdSetNormal |
( |
|
itemId, |
|
|
|
off, |
|
|
|
len |
|
) |
| |
Value:( \
(itemId)->lp_off = (off), \
(itemId)->lp_len = (
len) \
)
Definition at line 140 of file itemid.h.
◆ ItemIdSetRedirect
#define ItemIdSetRedirect |
( |
|
itemId, |
|
|
|
link |
|
) |
| |
Value:( \
(itemId)->lp_off = (
link), \
(itemId)->lp_len = 0 \
)
int link(const char *src, const char *dst)
Definition at line 152 of file itemid.h.
◆ ItemIdSetUnused
#define ItemIdSetUnused |
( |
|
itemId | ) |
|
Value:( \
(itemId)->lp_off = 0, \
(itemId)->lp_len = 0 \
)
Definition at line 128 of file itemid.h.
◆ LP_DEAD
#define LP_DEAD 3 /* dead, may or may not have storage */ |
◆ LP_NORMAL
#define LP_NORMAL 1 /* used (should always have lp_len>0) */ |
◆ LP_REDIRECT
#define LP_REDIRECT 2 /* HOT redirect (should have lp_len=0) */ |
◆ LP_UNUSED
#define LP_UNUSED 0 /* unused (should always have lp_len=0) */ |
◆ ItemId
◆ ItemIdData
◆ ItemLength
◆ ItemOffset