filesys.h   filesys.h 
skipping to change at line 41 skipping to change at line 41
typedef struct _PedFileSystemType PedFileSystemType; typedef struct _PedFileSystemType PedFileSystemType;
typedef struct _PedFileSystemAlias PedFileSystemAlias; typedef struct _PedFileSystemAlias PedFileSystemAlias;
typedef const struct _PedFileSystemOps PedFileSystemOps; typedef const struct _PedFileSystemOps PedFileSystemOps;
#include <parted/geom.h> #include <parted/geom.h>
#include <parted/constraint.h> #include <parted/constraint.h>
#include <parted/timer.h> #include <parted/timer.h>
struct _PedFileSystemOps { struct _PedFileSystemOps {
PedGeometry* (*probe) (PedGeometry* geom); PedGeometry* (*probe) (PedGeometry* geom);
int (*clobber) (PedGeometry* geom);
PedFileSystem* (*open) (PedGeometry* geom);
PedFileSystem* (*create) (PedGeometry* geom, PedTimer* timer);
int (*close) (PedFileSystem* fs);
int (*check) (PedFileSystem* fs, PedTimer* timer);
PedFileSystem* (*copy) (const PedFileSystem* fs, PedGeometry* geom,
PedTimer* timer);
int (*resize) (PedFileSystem* fs, PedGeometry* geom, PedTimer* timer
);
PedConstraint* (*get_create_constraint) (const PedDevice* dev);
PedConstraint* (*get_resize_constraint) (const PedFileSystem* fs);
PedConstraint* (*get_copy_constraint) (const PedFileSystem* fs,
const PedDevice* dev);
}; };
/** /**
* Structure describing type of file system * Structure describing type of file system
*/ */
struct _PedFileSystemType { struct _PedFileSystemType {
PedFileSystemType* next; PedFileSystemType* next;
const char* const name; /**< name of the file system type */ const char* const name; /**< name of the file system type */
const int* block_sizes; const int* block_sizes;
PedFileSystemOps* const ops; PedFileSystemOps* const ops;
skipping to change at line 111 skipping to change at line 97
extern PedFileSystemType* extern PedFileSystemType*
ped_file_system_type_get_next (const PedFileSystemType* fs_type); ped_file_system_type_get_next (const PedFileSystemType* fs_type);
extern PedFileSystemAlias* extern PedFileSystemAlias*
ped_file_system_alias_get_next (const PedFileSystemAlias* fs_alias); ped_file_system_alias_get_next (const PedFileSystemAlias* fs_alias);
extern PedFileSystemType* ped_file_system_probe (PedGeometry* geom); extern PedFileSystemType* ped_file_system_probe (PedGeometry* geom);
extern PedGeometry* ped_file_system_probe_specific ( extern PedGeometry* ped_file_system_probe_specific (
const PedFileSystemType* fs_type, const PedFileSystemType* fs_type,
PedGeometry* geom); PedGeometry* geom);
extern int ped_file_system_clobber (PedGeometry* geom);
extern PedFileSystem* ped_file_system_open (PedGeometry* geom);
extern PedFileSystem* ped_file_system_create (PedGeometry* geom,
const PedFileSystemType* type,
PedTimer* timer);
extern int ped_file_system_close (PedFileSystem* fs);
extern int ped_file_system_check (PedFileSystem* fs, PedTimer* timer);
extern PedFileSystem* ped_file_system_copy (PedFileSystem* fs,
PedGeometry* geom,
PedTimer* timer);
extern int ped_file_system_resize (PedFileSystem* fs, PedGeometry* geom,
PedTimer* timer);
extern PedConstraint* ped_file_system_get_create_constraint (
const PedFileSystemType* fs_type, const PedDevice* dev);
extern PedConstraint* ped_file_system_get_resize_constraint (
const PedFileSystem* fs);
extern PedConstraint* ped_file_system_get_copy_constraint (
const PedFileSystem* fs, const PedDevice* dev);
#endif /* PED_FILESYS_H_INCLUDED */ #endif /* PED_FILESYS_H_INCLUDED */
/** @} */ /** @} */
 End of changes. 2 change blocks. 
35 lines changed or deleted 0 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/