SMREmulator 1.0
ShingledMagneticRecordingEmulator

ediv0.c File Reference

Implementation of functionality for version 0 of the Emulator Disk Image format. More...

#include <fcntl.h>
#include <errno.h>
#include <unistd.h>
#include <string.h>
#include <ediversion.h>

Go to the source code of this file.

Data Structures

struct  ediv0_header_t
 Defines the header for the Emulated Disk Image (EDI). More...
struct  ediv0_metadata_t
 Defines the structure of a metadata record. More...

Functions

edi_vops_t * ediv0_init ()
 Initializes the EDIv0 code base.

Detailed Description

Implementation of functionality for version 0 of the Emulator Disk Image format.

Author:
Anand Suresh <anandsuresh@cmu.edu>

TODO Document errors for create()

Definition in file ediv0.c.


Function Documentation

edi_vops_t* ediv0_init ( )

Initializes the EDIv0 code base.

Returns:
Pointer to the EDIv0 Call-back Function Set

Definition at line 505 of file ediv0.c.

Referenced by ediv_init().