summaryrefslogtreecommitdiff
path: root/include/linux/fs_parser.h
blob: 40c6224a26e63cef2d41f1ddcd60db5f6d5c5d95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Filesystem parameter description and parser
 *
 * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
 * Written by David Howells (dhowells@redhat.com)
 */

#ifndef _LINUX_FS_PARSER_H
#define _LINUX_FS_PARSER_H

struct constant_table {
	const char	*name;
	int		value;
};

extern int lookup_constant(const struct constant_table tbl[], const char *name, int not_found);

extern const struct constant_table bool_names[];

#endif /* _LINUX_FS_PARSER_H */