diff frbl/test/srecreader.h @ 323:cefa700d1b8f

frbl: beginning of frbl2test
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 05 Mar 2020 22:05:01 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/frbl/test/srecreader.h	Thu Mar 05 22:05:01 2020 +0000
@@ -0,0 +1,11 @@
+/* this header file defines the data structures for the SREC reader module */
+
+struct srecreader {
+	char		*filename;
+	FILE		*openfile;
+	int		lineno;
+	u_char		record[256];	/* binary */
+	char		record_type;	/* ASCII char */
+	u_char		datalen;
+	uint32_t	addr;
+};