Code cleanup: remove readblenfile module, only contained some utility functions
[blender-staging.git] / source / blender / blenloader / BLO_runtime.h
similarity index 70%
rename from source/blender/readblenfile/test/test.c
rename to source/blender/blenloader/BLO_runtime.h
index 647df053c389a0eafa95bd509ef616a2a314e17d..920b14e92fa70bab393d64320dcab5544221290f 100644 (file)
  * Contributor(s): none yet.
  *
  * ***** END GPL LICENSE BLOCK *****
+ * 
+ */
+
+#ifndef BLO_RUNTIME_H
+#define BLO_RUNTIME_H
+
+/** \file BLO_runtime.h
+ *  \ingroup blenloader
  */
-#include <string.h>    // strlen
-#include "BLO_readblenfile.h"
-
-struct streamGlueControlStruct *Global_streamGlueControl;
-
-               int
-streamGlueWrite(
-               struct streamGlueControlStruct *streamGlueControl,
-               struct streamGlueStruct **streamGlue,
-               unsigned char *data,
-               unsigned int dataIn,
-               int finishUp)
-{
-       printf("called with %d bytes in buffer [%s]\n", dataIn, data);
-       return (0);
-}
 
-main()
-{
-       int err;
+#ifdef __cplusplus
+extern "C" {
+#endif
 
-       err = BLO_readblenfile();
+struct BlendFileData;
+struct ReportList;
+
+int BLO_is_a_runtime(char *file);
+struct BlendFileData *BLO_read_runtime(char *file, struct ReportList *reports);
+
+#ifdef __cplusplus
 }
+#endif
+
+#endif /* BLO_RUNTIME_H */
+