nfv_get_data

Retrieves data in file under key and name.

Syntax

stock nfv_get_data(const filename[], const key[], name[], data[]="", len=0, const identifier=';', const key_tell_start=0, &key_tell_find=0, const name_tell_start=0, &name_tell_find=0, key_copy[]="", const key_len=0, name_copy[]="", const name_len=0)

Usage

filename The file location to search for the data.
key The key within the file to look for. Set to "" for no key. Set to NFV_WILDCARD for any key.
name The name under key to look for. Set to NFV_WILDCARD for any name.
data The string that will contain the data retrieved.
len The size of the data string.
identifier The character used to identify different keys.
key_tell_start Where to start searching for key.
key_tell_find Where the key was found.
name_tell_start Where to start searching for name.
name_tell_find Where the name was found.
key_copy The string that will contain the key of the data retrieved. Only used with NFV_WILDCARD for key.
key_len If specified, the size of the key found to copy. Only used with NFV_WILDCARD for key.
name_copy The string that will contain the name of the data retrieved. Only used with NFV_WILDCARD for name.
name_len If specified, the size of the name found to copy. Only used with NFV_WILDCARD for name.

Return

1 — if data found.

Defined in nfvault.inc at line 1652 . This documentation was automatically generated from source.