blob: bde8f1374b0710e1d7ec64568c8f9c716b7d6dd6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef _QUOTAOPS_H
#define _QUOTAOPS_H
#include "quotaio.h"
struct dquot *getprivs(qid_t id, struct quota_handle ** handles, int quiet);
int putprivs(struct dquot * qlist, int flags);
int editprivs(char *tmpfile);
int writeprivs(struct dquot * qlist, int outfd, char *name, int quotatype);
int readprivs(struct dquot * qlist, int infd);
int writeindividualtimes(struct dquot * qlist, int outfd, char *name, int quotatype);
int readindividualtimes(struct dquot * qlist, int infd);
int writetimes(struct quota_handle ** handles, int outfd);
int readtimes(struct quota_handle ** handles, int infd);
void freeprivs(struct dquot * qlist);
void update_grace_times(struct dquot *q);
#endif /* _QUOTAOPS_H */
|