diff options
Diffstat (limited to 'include/blk.h')
-rw-r--r-- | include/blk.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/blk.h b/include/blk.h index 61b56281b3..8672e32fe1 100644 --- a/include/blk.h +++ b/include/blk.h @@ -624,4 +624,12 @@ ulong blk_write_devnum(enum if_type if_type, int devnum, lbaint_t start, */ int blk_select_hwpart_devnum(enum if_type if_type, int devnum, int hwpart); +/** + * blk_get_if_type_name() - Get the name of an interface type + * + * @if_type: Interface type to check + * @return name of interface, or NULL if none + */ +const char *blk_get_if_type_name(enum if_type if_type); + #endif |