]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * Hitag2 emulation public interface | |
3 | * | |
4 | * (c) 2009 Henryk Plötz <henryk@ploetzli.ch> | |
5 | */ | |
6 | ||
7 | #ifndef __HITAG2_H | |
8 | #define __HITAG2_H | |
9 | ||
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); | |
14 | ||
15 | #endif |