comparison sw/sniff-dec/command.c @ 41:118a12e9483b

simtrace3-sniff-dec started
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 31 Aug 2023 08:46:23 +0000
parents
children b0524d1dc6ef
comparison
equal deleted inserted replaced
40:510bef2b2000 41:118a12e9483b
1 /*
2 * Here we implement decoding of command APDU exchanges.
3 */
4
5 #include <sys/types.h>
6 #include <stdio.h>
7 #include <stdlib.h>
8 #include <string.h>
9 #include <strings.h>
10 #include "state.h"
11
12 extern char linebuf[];
13 extern int lineno;
14 extern unsigned rx_byte;
15 extern int state;
16
17 void
18 start_cmd_header()
19 {
20 printf("input line %d: command header, end of implementation so far\n",
21 lineno);
22 exit(0);
23 }