1 #ifndef RAW_MERGE_H
2 #define RAW_MERGE_H
3
4 #include "flt.h"
5
6 #define RAW_OPERATION_SUM 0
7 #define RAW_OPERATION_AVERAGE 1
8
9
10 #define RAW_MERGE_VERSION {3,0}
11
12 typedef struct
13 {
14 base_interface_t base;
15
16 int (*raw_merge_start)(int action);
17 int (*raw_merge_add_file)(const char* filename);
18 void (*raw_merge_end)(void);
19 int (*raw_subtract)(const char *fromName, const char *fromDir, const char *subName, const char *subDir);
20 } librawop_sym;
21
22 extern librawop_sym* librawop;
23
24 #endif