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