Imported reiserfsprogs-3.6.20
This commit is contained in:
1 parent
0ed773997f
commit
dac518d099
189 files changed
+43353
-29787
No files matched your search
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* Copyright 1996-2004 by Hans Reiser, licensing governed by
|
||||
* reiserfsprogs/README
|
||||
*/
|
||||
|
||||
#ifndef MISC_DEVICE_H
|
||||
#define MISC_DEVICE_H
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
extern int misc_device_valid_offset(int fd, long long int offset);
|
||||
|
||||
extern unsigned long misc_device_count_blocks (char * filename,
|
||||
int blocksize);
|
||||
|
||||
extern char misc_device_typec (unsigned short mode);
|
||||
|
||||
#define STAT_FIELD_H(Field, Type) \
|
||||
Type misc_device_##Field(char *device);
|
||||
|
||||
STAT_FIELD_H(mode, mode_t);
|
||||
STAT_FIELD_H(rdev, dev_t);
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user