diff fluid-mnf/misc.h @ 311:9cecc930d78f

fluid-mnf: original source from TI, defenestrated line endings and rearranged directory structure, but no *.[ch] source file content changes yet
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 29 Feb 2020 05:36:07 +0000
parents
children f89a20e7adc7
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/fluid-mnf/misc.h	Sat Feb 29 05:36:07 2020 +0000
@@ -0,0 +1,24 @@
+/******************************************************************************
+ * FLUID (Flash Loader Utility Independent of Device)
+ *
+ * Copyright Texas Instruments, 2001.
+ * Mads Meisner-Jensen, mmj@ti.com.
+ *
+ * Miscellaneous Utility Functions
+ *
+ * $Id: misc.h 1.4 Tue, 15 Jan 2002 15:19:31 +0100 mmj $
+ *
+ ******************************************************************************/
+
+int dirname_len(const char *pathname);
+int pathname_make(char *buf, int size, const char *dirname, const char *leafname);
+
+void progress_begin(int n);
+void progress_update_simple(int n);
+void progress_update(int n);
+void progress_end(int n);
+
+int stopwatch_start(void);
+int stopwatch_stop(int time_start);
+
+void hexdump(unsigned char *buf, int size, unsigned int address, int unitsize);