Signature
native nvault_lookup(vault, const key[], value[], maxlen, ×tamp);
Description
Retrieves full information about a vault entry.
Parameters
- vault — A vault handle returned from nvault_open()
- key — A key to get information from
- value — A string where the value should be stored
- maxlen — Maximum length of the @value string
- timestamp — The timestamp of the entry
Returns
1 if an entry was found, 0 otherwise.
Errors
- On invalid vault handle.