summaryrefslogtreecommitdiffstats
path: root/lib/support/devname.h
blob: cc1956122d918696942ff98eefb15edb7ed3fcd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * devname.c --- Figure out if a pathname is ext* or something else.
 *
 * Copyright (C) 2022 Red Hat, Inc., Lukas Czerner <lczerner@redhat.com>
 *
 * %Begin-Header%
 * This file may be redistributed under the terms of the GNU Public
 * License.
 * %End-Header%
 */

#ifndef DEVNAME_H_
#define DEVNAME_H_

#include "blkid/blkid.h"

char *get_devname(blkid_cache cache, const char *token, const char *value);

#endif /* DEVNAME_H_ */