Displaying 1 result from an estimated 1 matches for "rquotad_quota_root".
2006 Feb 03
0
rquotad (NFS) quota plugin
...ude <sys/mount.h>
+ #include <rpc/rpc.h>
+ #include <rpc/pmap_prot.h>
+ #include <rpcsvc/rquota.h>
+ #include <netdb.h>
+ #include <stdio.h>
+
+ struct rquotad_quota {
+ struct quota quota;
+
+ pool_t pool;
+ const char *error;
+
+ size_t nroots;
+ struct rquotad_quota_root *roots;
+
+ };
+
+ enum rquotad_states { RQUOTAD_UNKNOWN, RQUOTAD_ERR, RQUOTAD_OFF, RQUOTAD_ON };
+
+ struct rquotad_quota_root {
+ struct quota_root root;
+
+ pool_t pool;
+ const char *name;
+ enum rquotad_states state;
+ const char **resources;
+ uint64_t kbyte_usage;
+ uint64_t inode...