File: quotaio_generic.h

package info (click to toggle)
quota 4.00~pre1-6
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,460 kB
  • ctags: 1,264
  • sloc: ansic: 10,845; sh: 614; perl: 333; makefile: 193
file content (24 lines) | stat: -rw-r--r-- 489 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 *
 *	Header file for communication with kernel generic interface
 *
 */

#ifndef GUARD_QUOTAIO_GENERIC_H
#define GUARD_QUOTAIO_GENERIC_H

#include "quotaio.h"

/* Get info from kernel to handle */
int vfs_get_info(struct quota_handle *h);

/* Set info in kernel from handle */
int vfs_set_info(struct quota_handle *h, int flags);

/* Get dquot from kernel */
int vfs_get_dquot(struct dquot *dquot);

/* Set dquot in kernel */
int vfs_set_dquot(struct dquot *dquot, int flags);

#endif