Changeset View
Changeset View
Standalone View
Standalone View
lib/libutil/libutil.h
Show First 20 Lines • Show All 196 Lines • ▼ Show 20 Lines | struct quotafile * | ||||
quota_open(struct fstab *_fs, int _quotatype, int _openflags); | quota_open(struct fstab *_fs, int _quotatype, int _openflags); | ||||
const char * | const char * | ||||
quota_qfname(const struct quotafile *_qf); | quota_qfname(const struct quotafile *_qf); | ||||
int quota_read(struct quotafile *_qf, struct dqblk *_dqb, int _id); | int quota_read(struct quotafile *_qf, struct dqblk *_dqb, int _id); | ||||
int quota_write_limits(struct quotafile *_qf, struct dqblk *_dqb, int _id); | int quota_write_limits(struct quotafile *_qf, struct dqblk *_dqb, int _id); | ||||
int quota_write_usage(struct quotafile *_qf, struct dqblk *_dqb, int _id); | int quota_write_usage(struct quotafile *_qf, struct dqblk *_dqb, int _id); | ||||
#endif | #endif | ||||
#ifdef _SYS_CPUSET_H_ | |||||
jilles: I don't like depending on the include order like this but it is convention in this file. | |||||
int cpuset_parselist(char *list, cpuset_t *mask); | |||||
#define CPUSET_PARSE_OK 0 | |||||
#define CPUSET_PARSE_GETAFFINITY -1 | |||||
#define CPUSET_PARSE_ERROR -2 | |||||
#define CPUSET_PARSE_INVALID_CPU -3 | |||||
#endif | |||||
__END_DECLS | __END_DECLS | ||||
/* fparseln(3) */ | /* fparseln(3) */ | ||||
#define FPARSELN_UNESCESC 0x01 | #define FPARSELN_UNESCESC 0x01 | ||||
#define FPARSELN_UNESCCONT 0x02 | #define FPARSELN_UNESCCONT 0x02 | ||||
#define FPARSELN_UNESCCOMM 0x04 | #define FPARSELN_UNESCCOMM 0x04 | ||||
#define FPARSELN_UNESCREST 0x08 | #define FPARSELN_UNESCREST 0x08 | ||||
#define FPARSELN_UNESCALL 0x0f | #define FPARSELN_UNESCALL 0x0f | ||||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |
I don't like depending on the include order like this but it is convention in this file.