summaryrefslogtreecommitdiff
path: root/include/rfid/rfid.h
blob: f9d36c90033a3600cb9bd5a31dd055c862e2848f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _RFID_H
#define _RFID_H

#include <stdio.h>

enum rfid_frametype {
	RFID_14443A_FRAME_REGULAR,
	RFID_14443B_FRAME_REGULAR,
	RFID_MIFARE_FRAME,
};



#define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args)
#define DEBUGPC(x, args ...) fprintf(stderr, x, ## args)
extern const char *rfid_hexdump(const void *data, unsigned int len);

int rfid_init();

#endif /* _RFID_H */
personal git repositories of Harald Welte. Your mileage may vary