Those bindings apply for GDAL/OGR >= 1.7.0. For previous released versions, some part of the documented API may be missing.
Example programs can be found on the subversion repository.