--- /dev/null
+/*
+ * Read entire file.
+ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int cspReadFile(
+ const char *fileName,
+ unsigned char **bytes, // mallocd and returned
+ unsigned *numBytes); // returned
+
+int cspWriteFile(
+ const char *fileName,
+ const unsigned char *bytes,
+ unsigned numBytes);
+
+#ifdef __cplusplus
+}
+#endif