-int mfTraceInit(uint8_t *tuid, uint8_t *atqa, uint8_t sak);\r
-int mfTraceDecode(uint8_t *data_src, int len);\r
+\r
+int mfTraceInit(uint8_t *tuid, uint8_t *atqa, uint8_t sak, bool wantSaveToEmlFile);\r
+int mfTraceDecode(uint8_t *data_src, int len, bool wantSaveToEmlFile);\r
+\r
+int isTraceCardEmpty(void);\r
+int isBlockEmpty(int blockN);\r
+int isBlockTrailer(int blockN);\r
+int loadTraceCard(uint8_t *tuid);\r
+int saveTraceCard(void);\r