static VALUE busterminate(void) { gn_lib_phone_close(state); gn_lib_phoneprofile_free(&state); gn_lib_library_free(); return INT2NUM(error); }
gboolean libgnokii_closing(pegang *unit) { gn_lib_phone_close(state); gn_lib_phoneprofile_free(&state); gn_lib_library_free(); }
static void busterminate(void) { gn_lib_phone_close(state); gn_lib_phoneprofile_free(&state); if (logfile) fclose(logfile); gn_lib_library_free(); }
/* cleanup function registered by atexit() and called at exit() */ static void busterminate(void) { gn_vm_terminate(); gn_device_unlock(lockfile); gn_lib_library_free(); }