Functions | |
long | trend_make_state_color (sos_status_t *state) |
char * | trend_get_time_breakdown_string (apr_time_t raw_time) |
void | trend_get_time_breakdown (time_t t, unsigned long *days, unsigned long *hours, unsigned long *minutes, unsigned long *seconds) |
|
Parses a time into its discrete parts, minutes, hours, days, seconds.
|
|
Returns a pretty time breakdown in a string.
|
|
Calculates a status color given the degree. A status color is a fade between a red color and a green, to indicate health.
|