native

nvault_lookup

Syntax

native nvault_lookup(vault, const key[], value[], maxlen, &timestamp);

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

Return

1 if an entry was found, 0 otherwise.

Error

On invalid vault handle.