added "default" PRNG choice
[urasm.git] / uniconverter / src / cvt.h
blob7d4d83ebec57a508ee356458a15168fe16fabce1
1 #ifndef _CVT_H_
2 #define _CVT_H_
4 #include <stdio.h>
5 #include <stdlib.h>
7 #include "libhobeta/hobeta.h"
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
14 typedef struct CvtMethods {
15 struct CvtMethods *next;
16 const char *name;
17 const char *fmtname;
18 // 'fi' must me HoBeta file
19 int (*extract) (FILE *fo, FILE *fi);
20 const int (*detect) (FILE *fi, const char *fname, const HOBHeader *hdr); // !0: ok
21 } CvtMethods;
24 extern void cvtAdd (CvtMethods *mt);
25 extern void *loadWholeFile (FILE *fl, int *size);
28 #ifdef __cplusplus
30 #endif
31 #endif