2 * problemP.h --- Private header file for fix_problem()
4 * Copyright 1997 by Theodore Ts'o
7 * This file may be redistributed under the terms of the GNU Public
12 struct e2fsck_problem {
14 const char * e2p_description;
17 problem_t second_code;
23 problem_t end_message;
27 #define PR_PREEN_OK 0x0001 /* Don't need to do preenhalt */
28 #define PR_NO_OK 0x0002 /* If user answers no, don't make fs invalid */
29 #define PR_NO_DEFAULT 0x0004 /* Default to no */
30 #define PR_MSG_ONLY 0x0008 /* Print message only */
31 #define PR_FATAL 0x0080 /* Fatal error */
32 #define PR_AFTER_CODE 0x0100 /* After asking the first question, */
34 #define PR_PREEN_NOMSG 0x0200 /* Don't print a message if we're preening */
35 #define PR_NOCOLLATE 0x0400 /* Don't collate answers for this latch */
36 #define PR_NO_NOMSG 0x0800 /* Don't print a message if e2fsck -n */