SMREmulator 1.0
ShingledMagneticRecordingEmulator
|
Defines macros, data types and function prototypes pertaining to emulator versioning. More...
#include <stdarg.h>
#include <emudebug.h>
#include <emuerror.h>
#include <emutypes.h>
#include <emudiskimg.h>
Go to the source code of this file.
Defines | |
#define | MAX_EDI_VERSION 0 |
The highest EDI Format version number implemented. | |
Functions | |
int | ediv_init () |
Initializes the Emulator Versioning Module. | |
int | ediv_is_valid (uint32_t) |
Returns if the specified version is valid. |
Defines macros, data types and function prototypes pertaining to emulator versioning.
Definition in file ediversion.h.
int ediv_init | ( | ) |
Initializes the Emulator Versioning Module.
This function initializes the data structures required by the Emulator Versioning Module and then calls the initialization functions for each of the registered versions.
Definition at line 34 of file ediversion.c.
References ediv0_init(), and MAX_EDI_VERSION.
Referenced by edi_init().
int ediv_is_valid | ( | uint32_t | version | ) |
Returns if the specified version is valid.
version | The version number to be verified |
Definition at line 68 of file ediversion.c.
References MAX_EDI_VERSION.
Referenced by edi_create(), and edi_open().