void err_callback(void *obj, Sint32 errcode) { /* Processing */ } gdFsEntryErrFunc(gf, err_callback, (void *) 0x1234);