Functions | |
njb_time_t * | NJB_Get_Time (njb_t *njb) |
int | NJB_Set_Time (njb_t *njb, njb_time_t *time) |
void | NJB_Destroy_Time (njb_time_t *time) |
void NJB_Destroy_Time | ( | njb_time_t * | time | ) |
This destroys a time stamp and frees up any memory used by it.
time | the time stamp to destroy. |
njb_time_t* NJB_Get_Time | ( | njb_t * | njb | ) |
This returns the current time stamp for the device.
njb | a pointer to the njb_t object to get the time from. |
int NJB_Set_Time | ( | njb_t * | njb, | |
njb_time_t * | time | |||
) |
This sets the current time stamp for the device. (Sets the on-board clock.)
njb | a pointer to the njb_t object to set the timestamp on. | |
time | the new timestamp to use (time to set). |