view 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
line wrap: on
line source

/*
 * Here we implement decoding of command APDU exchanges.
 */

#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include "state.h"

extern char linebuf[];
extern int lineno;
extern unsigned rx_byte;
extern int state;

void
start_cmd_header()
{
	printf("input line %d: command header, end of implementation so far\n",
		lineno);
	exit(0);
}