diff options
Diffstat (limited to 'easytool/easycard.h')
-rw-r--r-- | easytool/easycard.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/easytool/easycard.h b/easytool/easycard.h index b47dee9..fb4d93d 100644 --- a/easytool/easycard.h +++ b/easytool/easycard.h @@ -44,10 +44,16 @@ struct easy_log_rec { } __attribute__ ((packed)); time_t easy_timestamp2time(const uint8_t *easy_ts); +char *easy_asc_timestamp(const uint8_t *timestamp); /* apply a telta (positive or negative) to a EasyCard log record */ int easy_update_log_rec(struct easy_log_rec *elr, int16_t delta); /* apply a delta to the 'sum of day' record in Sector 15 Block 2 */ int easy_update_sum_of_day(struct easy_sect15blk2 *s15b2, int16_t delta); +void easy_dump_log_rec(const struct easy_log_rec *elr); + +typedef mifare_tag; +void easy_dump_log(mifare_tag *mft); + #endif /* EASYCARD_H */ |