simtrace/host/apdu_split.h @ master
1 |
#ifndef _APDU_SPLIT_H
|
---|---|
2 |
#define _APDU_SPLIT_H
|
3 |
|
4 |
#include <stdint.h>
|
5 |
|
6 |
struct apdu_split; |
7 |
|
8 |
typedef void apdu_cb_t(uint8_t *buf, unsigned int len, void *user_data); |
9 |
|
10 |
struct apdu_split *apdu_split_init(apdu_cb_t *apdu_out_cb, void *user_data); |
11 |
|
12 |
int apdu_split_reset(struct apdu_split *as); |
13 |
void apdu_split_in(struct apdu_split *as, uint8_t *buf, int len); |
14 |
void apdu_split_boundary(struct apdu_split *as); |
15 |
|
16 |
#endif
|