FortranGIS  Version2.5
integer(kind=c_int) function readosm_parse_f ( type(c_ptr), value  osm_handle,
type(c_ptr), value  user_data,
optional  node_fnct,
optional  way_fnct,
optional  relation_fnct 
)

Parse the corresponding file calling the selected callbacks for every entity encountered.

This is the Fortran-friendly interface where callback functions are optional arguments (thus the keyword form is preferred if any of them is missing) and represent interfaced Fortran FUNCTIONS.

Returns
READOSM_OK will be returned on success, otherwise any appropriate error code on failure.
Parameters
osm_handlethe handle previously returned by readosm_open()
user_datauser_data pointer to some user-supplied data struct

Definition at line 559 of file readosm.F90.