#include <sys/time.h>
Include dependency graph for new_sim_utils.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
class | cTime |
The time class can be used to work with time values. More... | |
Defines | |
#define | dDateStringSize 11 |
Size of a date string. | |
#define | dTimeStringSize 9 |
Size of a time string. | |
#define | dDateTimeStringSize 20 |
Size of a date and time string. | |
Enumerations | |
enum | tNewSimulatorFruState { eFruStateNotInstalled = 0, eFruStateInactive = 1, eFruStateActivationRequest = 2, eFruStateActivationInProgress = 3, eFruStateActive = 4, eFruStateDeactivationRequest = 5, eFruStateDeactivationInProgress = 6, eFruStateCommunicationLost = 7 } |
Mapping Fru states to the ipmi state numbering. | |
Functions | |
const char * | NewSimulatorFruStateToString (tNewSimulatorFruState state) |
Returns a string for a Fru state. | |
void | NewSimulatorDateToString (unsigned int time, char *str) |
Fill a string a with date information. | |
void | NewSimulatorTimeToString (unsigned int time, char *str) |
Fill a string a with time information. | |
void | NewSimulatorDateTimeToString (unsigned int time, char *str) |
Fill a string a with date and time information. |
The new Simulator plugin is adapted from the ipmidirect plugin. Thanks to Thomas Kanngieser <thomas.kanngieser@fci.com>
|
Fill a string a with date and time information.
|
|
Fill a string a with date information.
|
|
Returns a string for a Fru state.
|
|
Fill a string a with time information.
|