Function eccodes_sys::codes_index_new_from_file[][src]

pub unsafe extern "C" fn codes_index_new_from_file(
    c: *mut codes_context,
    filename: *const c_char,
    keys: *const c_char,
    err: *mut c_int
) -> *mut codes_index
Expand description

Create a new index form a file. The file is indexed with the keys in argument.

@param c : context (NULL for default context) @param filename : name of the file of messages to be indexed @param keys : comma separated list of keys for the index. The type of the key can be explicitly declared appending :l for long, (or alternatively :i) :d for double, :s for string to the key name. If the type is not declared explicitly, the native type is assumed. @param err : 0 if OK, integer value on error @return the newly created index