KvConfigCompare
KvConfigCompare
Description
Compare two Str values for config key/value equality.
Parameters
| Name | Direction | Description |
|---|---|---|
lhs |
in | Pointer to left Str. |
rhs |
in | Pointer to right Str. |
Success
0 if equal, negative if lhs < rhs, positive if lhs > rhs.
Usage example (Cross-references)
Usage examples (Cross-references)
- In
KvConfig.c:129:
}
i32 KvConfigCompare(const void *lhs, const void *rhs) {
const Str *a = lhs;
const Str *b = rhs;- In
KvConfig.h:47:
MapInitWithDeepCopyAndValueCompare( \
KvConfigHash, \
KvConfigCompare, \
KvConfigCompare, \
StrInitCopy, \
- In
KvConfig.h:48:
KvConfigHash, \
KvConfigCompare, \
KvConfigCompare, \
StrInitCopy, \
StrDeinit, \
Last updated on