#ifndef FUN_MENU_H #define FUN_MENU_H // dump core void dump_core(void); // define error codes enum ErrorCode { ERROR_OK, ERROR_LOCALE_SETTING, ERROR_COLOR_STARTING, ERROR_CURSES_SETTING, ERROR_MEMORY_ALLOCATION, ERROR_CHARACTER_INPUT, ERROR_CHARACTER_OUTPUT, ERROR_WINDOW_CREATION, ERROR_WINDOW_DRAWING, ERROR_WINDOW_RENDERING, ERROR_COLOR_PAIR_DEFINITION, ERROR_OPTION_SETTING, ERROR_UNKNOWN, ERROR_MAX, }; // hold errors of richwin.c static enum ErrorCode richwin_error_code = ERROR_OK; #endif /* FUN_MENU_H */