stos: ob: Add object directory definition
Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
@@ -17,10 +17,10 @@
|
|||||||
/*
|
/*
|
||||||
* Represents valid object types
|
* Represents valid object types
|
||||||
*
|
*
|
||||||
* @OBJECT_DIRECTORY: Object is directory
|
* @OBJECT_TYPE_DIRECTORY: Object is directory
|
||||||
*/
|
*/
|
||||||
typedef enum {
|
typedef enum {
|
||||||
OBJECT_DIRECTORY
|
OBJECT_TYPE_DIRECTORY
|
||||||
} OBJECT_TYPE;
|
} OBJECT_TYPE;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -38,4 +38,18 @@ typedef struct {
|
|||||||
VOID *Data;
|
VOID *Data;
|
||||||
} ST_OBJECT;
|
} ST_OBJECT;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Represents a directory object containing one or more
|
||||||
|
* objects.
|
||||||
|
*
|
||||||
|
* @First: First entry in object directory
|
||||||
|
* @Last: Last entry in object directory
|
||||||
|
* @EntryCount: Number of entries in directory
|
||||||
|
*/
|
||||||
|
typedef struct {
|
||||||
|
ST_OBJECT *First;
|
||||||
|
ST_OBJECT *Last;
|
||||||
|
USIZE EntryCount;
|
||||||
|
} OBJECT_DIRECTORY;
|
||||||
|
|
||||||
#endif /* !_OB_OBJECT_H_ */
|
#endif /* !_OB_OBJECT_H_ */
|
||||||
|
|||||||
Reference in New Issue
Block a user