-int CmdLegicInfo(const char *Cmd);
-int HFLegicInfo(const char *Cmd, bool verbose);
+int CmdLegicDump(const char *Cmd);
+int CmdLegicReader(const char *Cmd);
+
+int CmdLegicELoad(const char *Cmd);
+int CmdLegicESave(const char *Cmd);
+
+int HFLegicReader(const char *Cmd, bool verbose);
+int legic_print_type(uint32_t tagtype, uint8_t spaces);
+int legic_get_type(legic_card_select_t *card);
+void legic_chk_iv(uint32_t *iv);
+void legic_seteml(uint8_t *src, uint32_t offset, uint32_t numofbytes);