L4Re/departure

libext2fs/lib/libsupport/plausible.h

618:7123a7307a82
8 months ago Paul Boddie Introduced some debugging output control.
     1 /*     2  * plausible.h --- header file defining prototypes for helper functions     3  * used by tune2fs and mke2fs     4  *     5  * Copyright 2014 by Oracle, Inc.     6  *     7  * %Begin-Header%     8  * This file may be redistributed under the terms of the GNU Public     9  * License.    10  * %End-Header%    11  */    12     13 #ifndef PLAUSIBLE_H_    14 #define PLAUSIBLE_H_    15     16 /*    17  * Flags for check_plausibility()    18  */    19 #define CHECK_BLOCK_DEV	0x0001    20 #define CREATE_FILE	0x0002    21 #define CHECK_FS_EXIST	0x0004    22 #define VERBOSE_CREATE	0x0008    23 #define NO_SIZE		0x0010    24 #define QUIET_CHECK	0x0020    25     26 extern int check_plausibility(const char *device, int flags,    27 			      int *ret_is_dev);    28     29 #endif /* PLAUSIBLE_H_ */