update getpnn to use a generic "set_callback" call to register the callback on the...