17 lines
480 B
C
17 lines
480 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
#ifndef _NWFS_QUOTA_FRONTEND_H_
|
|
#define _NWFS_QUOTA_FRONTEND_H_ 1
|
|
|
|
#include <stdint.h>
|
|
#include <sys/types.h>
|
|
|
|
/*
|
|
* Generic quota helpers shared by quota backends and the mars_nwe volume
|
|
* layer. Backend-specific APIs live in separate headers such as nwquota.h;
|
|
* do not add NWQUOTA, Linux quotactl, or future BSD entry points here.
|
|
*/
|
|
uint32_t nwfs_quota_blocks_for_size(off_t size);
|
|
int nwfs_quota_backend_current(void);
|
|
|
|
#endif
|