Type Definition eccodes_sys::grib_data_seek_proc[][src]

pub type grib_data_seek_proc = Option<unsafe extern "C" fn(c: *const grib_context, offset: off_t, whence: c_int, stream: *mut c_void) -> off_t>;
Expand description

Grib data seek, format of a procedure referenced in the context that is used to seek the current position in a stream

@param c : the context where the tell will apply @param offset : the offset to seek to @param whence : If whence is set to SEEK_SET, SEEK_CUR, or SEEK_END, the offset is relative to the start of the file, the current position indicator, or end-of-file, respectively. @param stream : the stream @return 0 if OK, integer value on error