File: quotaops.h

package info (click to toggle)
quota 4.09-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,700 kB
  • sloc: ansic: 12,461; sh: 5,470; perl: 406; makefile: 338; sed: 16
file content (18 lines) | stat: -rw-r--r-- 720 bytes parent folder | download | duplicates (8)
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 */