]>
Commit | Line | Data |
---|---|---|
2e68bd40 | 1 | /* |
2 | * Hitag2 emulation public interface | |
e30c654b | 3 | * |
2e68bd40 | 4 | * (c) 2009 Henryk Plötz <henryk@ploetzli.ch> |
5 | */ | |
6 | ||
e30c654b | 7 | #ifndef __HITAG2_H |
8 | #define __HITAG2_H | |
9 | ||
2e68bd40 | 10 | typedef int (*hitag2_response_callback_t)(const char* response_data, const int response_length, const int fdt, void *cb_cookie); |
11 | ||
12 | extern int hitag2_init(void); | |
13 | extern int hitag2_handle_command(const char* data, const int length, hitag2_response_callback_t cb, void *cb_cookie); | |
e30c654b | 14 | |
15 | #endif |