summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-08-06 10:21:09 +0200
committerMichael Adam <obnox@samba.org>2010-08-25 14:05:51 +0200
commit3add3aa17de7954b01e2c9273295195438ac30e5 (patch)
tree7a3aec15f6395110d420eb96c1a9accc1989b9e8 /source3/include
parent896f3c8a49864ff022ac2d32a81f5b4ce53fd16b (diff)
downloadsamba-3add3aa17de7954b01e2c9273295195438ac30e5.tar.gz
samba-3add3aa17de7954b01e2c9273295195438ac30e5.tar.bz2
samba-3add3aa17de7954b01e2c9273295195438ac30e5.zip
s3:smbd: add a nfs backend for sysquotas.
This module is based on the Solaris/FreeBSD implementation of NFS quotas in the quotas.c module. It implements the SMB_USER_QUOTA_TYPE query of the get_quotas call. The other types and the set_quota call are not implemented.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index a3449799a8..67718a954a 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -968,6 +968,13 @@ int sys_set_vfs_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qt
int sys_get_xfs_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp);
int sys_set_xfs_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp);
+int sys_get_nfs_quota(const char *path, const char *bdev,
+ enum SMB_QUOTA_TYPE qtype,
+ unid_t id, SMB_DISK_QUOTA *dp);
+int sys_set_nfs_quota(const char *path, const char *bdev,
+ enum SMB_QUOTA_TYPE qtype,
+ unid_t id, SMB_DISK_QUOTA *dp);
+
/* The following definitions come from lib/system.c */
void *sys_memalign( size_t align, size_t size );