Function eccodes_sys::grib_index_get_size[][src]

pub unsafe extern "C" fn grib_index_get_size(
    index: *const grib_index,
    key: *const c_char,
    size: *mut size_t
) -> c_int
Expand description

Get the number of distinct values of the key in argument contained in the index. The key must belong to the index.

@param index : an index created from a file. The index must have been created with the key in argument. @param key : key for which the number of values is computed @param size : number of distinct values of the key in the index @return 0 if OK, integer value on error