1f08c3bdfSopenharmony_ci// SPDX-License-Identifier: GPL-2.0-or-later
2f08c3bdfSopenharmony_ci/*
3f08c3bdfSopenharmony_ci * Copyright (c) 2021 FUJITSU LIMITED. All rights reserved.
4f08c3bdfSopenharmony_ci * Author: Yang Xu <xuyang2018.jy@fujitsu.com>
5f08c3bdfSopenharmony_ci */
6f08c3bdfSopenharmony_ci
7f08c3bdfSopenharmony_ci#ifndef LTP_QUOTACTL_FMT_VAR_H
8f08c3bdfSopenharmony_ci#define LTP_QUOTACTL_FMT_VAR_H
9f08c3bdfSopenharmony_ci
10f08c3bdfSopenharmony_ci#include "lapi/quotactl.h"
11f08c3bdfSopenharmony_ci
12f08c3bdfSopenharmony_ci#define QUOTACTL_FMT_VARIANTS 2
13f08c3bdfSopenharmony_ci
14f08c3bdfSopenharmony_cistatic struct quotactl_fmt_variant {
15f08c3bdfSopenharmony_ci	int32_t fmt_id;
16f08c3bdfSopenharmony_ci	const char *fmt_name;
17f08c3bdfSopenharmony_ci} fmt_variants[] = {
18f08c3bdfSopenharmony_ci	{.fmt_id = QFMT_VFS_V0, .fmt_name = "vfsv0"},
19f08c3bdfSopenharmony_ci	{.fmt_id = QFMT_VFS_V1, .fmt_name = "vfsv1"}
20f08c3bdfSopenharmony_ci};
21f08c3bdfSopenharmony_ci
22f08c3bdfSopenharmony_ci#endif /* LAPI_QUOTACTL_FMT_VAR_H__ */
23