Functions | |
kogmo_timestamp_t | kogmo_rtdb_timestamp_now (kogmo_rtdb_handle_t *db_h) |
Get absolute Timestamp for current Time within the given database (can be different to kogmo_timestamp_now() when in simulation mode. | |
int | kogmo_rtdb_timestamp_set (kogmo_rtdb_handle_t *db_h, kogmo_timestamp_t new_ts) |
Set current Time to the given absolute Timestamp. This has only an effect if the rtdb is in simulation mode (kogmo_rtdb_man -s) and the clients use kogmo_rtdb_timestamp_now() instead of kogmo_timestamp_now()). |
kogmo_timestamp_t kogmo_rtdb_timestamp_now | ( | kogmo_rtdb_handle_t * | db_h | ) |
Get absolute Timestamp for current Time within the given database (can be different to kogmo_timestamp_now() when in simulation mode.
db_h | database handle |
int kogmo_rtdb_timestamp_set | ( | kogmo_rtdb_handle_t * | db_h, | |
kogmo_timestamp_t | new_ts | |||
) |
Set current Time to the given absolute Timestamp. This has only an effect if the rtdb is in simulation mode (kogmo_rtdb_man -s) and the clients use kogmo_rtdb_timestamp_now() instead of kogmo_timestamp_now()).
db_h | database handle | |
new_ts | new timestamp (0: give client the real current time, kogmo_timestamp_now()) |