27#ifndef PED_FILESYS_H_INCLUDED
28#define PED_FILESYS_H_INCLUDED
48 const char*
const name;
82 const char* alias,
int deprecated);
uint8_t type
Definition: dos.c:2
void ped_file_system_alias_unregister(PedFileSystemType *type, const char *alias)
Definition: filesys.c:98
PedFileSystemType * ped_file_system_type_get_next(const PedFileSystemType *fs_type)
Get the next PedFileSystemType after fs_type.
Definition: filesys.c:162
PedFileSystem * ped_file_system_open(PedGeometry *geom)
This function opens the file system stored on geom, if it can find one.
Definition: filesys.c:142
PedConstraint * ped_file_system_get_resize_constraint(const PedFileSystem *fs)
Return a constraint that represents all of the possible ways the file system fs can be resized with p...
Definition: filesys.c:310
PedFileSystemType * ped_file_system_type_get(const char *name)
Get a PedFileSystemType by its name.
Definition: filesys.c:127
void ped_file_system_type_register(PedFileSystemType *type)
Definition: filesys.c:48
void ped_file_system_alias_register(PedFileSystemType *type, const char *alias, int deprecated)
Definition: filesys.c:78
int ped_file_system_close(PedFileSystem *fs)
Close file system fs.
Definition: filesys.c:197
PedGeometry * ped_file_system_probe_specific(const PedFileSystemType *fs_type, PedGeometry *geom)
Attempt to find a file system and return the region it occupies.
Definition: filesys.c:193
int ped_file_system_resize(PedFileSystem *fs, PedGeometry *geom, PedTimer *timer)
Resize fs to new geometry geom.
Definition: filesys.c:277
PedFileSystemAlias * ped_file_system_alias_get_next(const PedFileSystemAlias *fs_alias)
Get the next PedFileSystemAlias after fs_alias.
Definition: filesys.c:176
PedFileSystemType * ped_file_system_probe(PedGeometry *geom)
Attempt to detect a file system in region geom.
Definition: filesys.c:258
void ped_file_system_type_unregister(PedFileSystemType *type)
Definition: filesys.c:59
char name[16]
Definition: pc98.c:13
Definition: constraint.h:29
Structure describing a file system alias.
Definition: filesys.h:57
PedFileSystemType * fs_type
Definition: filesys.h:59
int deprecated
Definition: filesys.h:61
PedFileSystemAlias * next
Definition: filesys.h:58
const char * alias
Definition: filesys.h:60
Structure describing type of file system.
Definition: filesys.h:46
PedFileSystemOps *const ops
Definition: filesys.h:49
PedFileSystemType * next
Definition: filesys.h:47
const char *const name
name of the file system type
Definition: filesys.h:48
Structure describing file system.
Definition: filesys.h:68
void * type_specific
Definition: filesys.h:74
int checked
1 if the file system has been checked.
Definition: filesys.h:71
PedGeometry * geom
where the file system actually is
Definition: filesys.h:70
PedFileSystemType * type
the file system type
Definition: filesys.h:69
Geometry of the partition.
Definition: geom.h:35