29 typedef int (*McDevIDHandler_t)(
int port,
int slot);
31 extern void SecrSetMcCommandHandler(McCommandHandler_t handler);
32 extern void SecrSetMcDevIDHandler(McDevIDHandler_t handler);
34 extern int SecrAuthCard(
int port,
int slot,
int cnum);
35 extern int SecrAuthDongle(
int port,
int slot,
int cnum);
36 extern void SecrResetAuthCard(
int port,
int slot,
int cnum);
39 #define secrman_IMPORTS_start DECLARE_IMPORT_TABLE(secrman, 1, 4)
40 #define secrman_IMPORTS_end END_IMPORT_TABLE
42 #define I_SecrSetMcCommandHandler DECLARE_IMPORT(4, SecrSetMcCommandHandler)
43 #define I_SecrSetMcDevIDHandler DECLARE_IMPORT(5, SecrSetMcDevIDHandler)
44 #define I_SecrAuthCard DECLARE_IMPORT(6, SecrAuthCard)
45 #define I_SecrResetAuthCard DECLARE_IMPORT(7, SecrResetAuthCard)
47 #define I_SecrCardBootHeader DECLARE_IMPORT(8, SecrCardBootHeader)
48 #define I_SecrCardBootBlock DECLARE_IMPORT(9, SecrCardBootBlock)
49 #define I_SecrCardBootFile DECLARE_IMPORT(10, SecrCardBootFile)
50 #define I_SecrDiskBootHeader DECLARE_IMPORT(11, SecrDiskBootHeader)
51 #define I_SecrDiskBootBlock DECLARE_IMPORT(12, SecrDiskBootBlock)
52 #define I_SecrDiskBootFile DECLARE_IMPORT(13, SecrDiskBootFile)
55 #define I_SecrDownloadHeader DECLARE_IMPORT(14, SecrDownloadHeader)
56 #define I_SecrDownloadBlock DECLARE_IMPORT(15, SecrDownloadBlock)
57 #define I_SecrDownloadFile DECLARE_IMPORT(16, SecrDownloadFile)
58 #define I_SecrDownloadGetKbit DECLARE_IMPORT(17, SecrDownloadGetKbit)
59 #define I_SecrDownloadGetKc DECLARE_IMPORT(18, SecrDownloadGetKc)
60 #define I_SecrDownloadGetICVPS2 DECLARE_IMPORT(19, SecrDownloadGetICVPS2)
63 #define I_SecrAuthDongle DECLARE_IMPORT(20, SecrAuthDongle)