summaryrefslogtreecommitdiff
path: root/easytool/easycard.h
diff options
context:
space:
mode:
Diffstat (limited to 'easytool/easycard.h')
-rw-r--r--easytool/easycard.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/easytool/easycard.h b/easytool/easycard.h
index e6ce806..c421bc2 100644
--- a/easytool/easycard.h
+++ b/easytool/easycard.h
@@ -44,4 +44,9 @@ struct easy_log_rec {
time_t easy_timestamp2time(const uint8_t *easy_ts);
+/* 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);
+
#endif /* EASYCARD_H */
personal git repositories of Harald Welte. Your mileage may vary