blob: acd8d30a8519acb98bc1f98e0b71cbb40d906f38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef GUARD_QUOTAOPS_H
#define GUARD_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 /* GUARD_QUOTAOPS_H */
|