Function eccodes_sys::codes_count_in_filename[][src]

pub unsafe extern "C" fn codes_count_in_filename(
    c: *mut codes_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