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(); }