2005-07-23 jhilmer Fixed possible use of uninitialized variable (state)
2005-07-23 insilmaril updated api.*