L4Re/departure

libext2fs/lib/libsupport/dqblk_v2.h

617:2733e5770ee9
9 months ago Paul Boddie Made the run command wait for completion, introducing the spawn command to run programs in the background. Introduced conveniences for waiting for the last job to be initiated and for piping from the last job, also subscribing to signals from pipe-supplying jobs so that they may be transparently removed from the job list upon completion. Augmented the job listing with the "+" notation familiar from Unix. Prevented new jobs from being started when no job slots are available.
     1 /*     2  * Header file for disk format of new quotafile format     3  *     4  * Jan Kara <jack@suse.cz> - sponsored by SuSE CR     5  */     6      7 #ifndef __QUOTA_DQBLK_V2_H__     8 #define __QUOTA_DQBLK_V2_H__     9     10 #include "quotaio_tree.h"    11     12 /* Structure for format specific information */    13 struct v2_mem_dqinfo {    14 	struct qtree_mem_dqinfo dqi_qtree;    15 	unsigned int dqi_flags;		/* Flags set in quotafile */    16 	unsigned int dqi_used_entries;	/* Number of entries in file -    17 					   updated by scan_dquots */    18 	unsigned int dqi_data_blocks;	/* Number of data blocks in file -    19 					   updated by scan_dquots */    20 };    21     22 struct v2_mem_dqblk {    23 	long long dqb_off;	/* Offset of dquot in file */    24 };    25     26 struct quotafile_ops;		/* Will be defined later in quotaio.h */    27     28 /* Operations above this format */    29 extern struct quotafile_ops quotafile_ops_2;    30     31 #endif  /* __QUOTA_DQBLK_V2_H__ */