Files
RedBear-OS/local/recipes/tui/mc/source/lib/widget/dialog-switch.h
T
vasilito cee25393d8 fix: boot process improvements — dependency cycle, INIT_NOTIFY, probing loop, and log spam fixes
- Fix P15-8-init-cycle-detection.patch: replace visiting+error with seen+silent-skip
  to eliminate 11 false-positive 'dependency cycle detected' errors on shared deps
- Fix P0-daemon-fix-init-notify-unwrap.patch: remove eprintln! for missing
  INIT_NOTIFY (expected for oneshot_async services, ~7 daemons affected)
- Fix driver-manager hotplug loop: add PERMANENTLY_SKIPPED static set shared
  between hotplug handler and DriverConfig::probe() to stop infinite re-probing
  of Fatal/NotSupported/deferred-exhausted device+driver pairs (e.g. ided)
- Fix driver-manager log_timeline: suppress repeated EPIPE/ENOENT errors with
  AtomicI32 dedup and AtomicBool one-shot guards for boot timeline JSON
- Add driver-manager SIGTERM handler, ACPI bus registration, --status mode,
  driver reap loop, graceful shutdown, and reduced deferred retries (30→3)
2026-05-17 12:34:02 +03:00

45 lines
1.3 KiB
C

#ifndef MC__DIALOG_SWITCH_H
#define MC__DIALOG_SWITCH_H
#include <sys/types.h>
/*** typedefs(not structures) and defined constants **********************************************/
/*** enums ***************************************************************************************/
/*** structures declarations (and typedefs of structures)*****************************************/
/*** global variables defined in .c file *********************************************************/
extern GList *top_dlg;
extern gboolean fast_refresh;
extern WDialog *filemanager;
/*** declarations of public functions ************************************************************/
void dialog_switch_add (WDialog * h);
void dialog_switch_remove (WDialog * h);
size_t dialog_switch_num (void);
void dialog_switch_next (void);
void dialog_switch_prev (void);
void dialog_switch_list (void);
int dialog_switch_process_pending (void);
void dialog_switch_got_winch (void);
void dialog_switch_shutdown (void);
/* Redraw all dialogs */
void do_refresh (void);
void repaint_screen (void);
MC_MOCKABLE void mc_refresh (void);
void dialog_change_screen_size (void);
/*** inline functions ****************************************************************************/
#endif /* MC__DIALOG_SWITCH_H */