xref: /aosp_15_r20/external/e2fsprogs/lib/support/devname.h (revision 6a54128f25917bfc36a8a6e9d722c04a0b4641b6)
1 /*
2  * devname.c --- Figure out if a pathname is ext* or something else.
3  *
4  * Copyright (C) 2022 Red Hat, Inc., Lukas Czerner <[email protected]>
5  *
6  * %Begin-Header%
7  * This file may be redistributed under the terms of the GNU Public
8  * License.
9  * %End-Header%
10  */
11 
12 #ifndef DEVNAME_H_
13 #define DEVNAME_H_
14 
15 #include "blkid/blkid.h"
16 
17 char *get_devname(blkid_cache cache, const char *token, const char *value);
18 
19 #endif /* DEVNAME_H_ */
20