Function eccodes_sys::grib_count_in_filename[][src]

pub unsafe extern "C" fn grib_count_in_filename(
    c: *mut grib_context,
    filename: *const c_char,
    n: *mut c_int
) -> c_int
Expand description

Counts the messages contained in a file.

@param c : the context from which the handle will be created (NULL for default context) @param filename : the path to the file @param n : the number of messages in the file @return 0 if OK, integer value on error