Function eccodes_sys::grib_index_get_long[][src]

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

Get the distinct values of the key in argument contained in the index. The key must belong to the index. This function is used when the type of the key was explicitly defined as long or when the native type of the key is long.

@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 values are returned @param values : array of values. The array must be allocated before entering this function and its size must be enough to contain all the values. @param size : size of the values array @return 0 if OK, integer value on error