00001
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef RA_FILE_H
00021 #define RA_FILE_H
00022
00023 #ifdef __cplusplus
00024 extern "C" {
00025 #endif
00026
00027 #include <stdio.h>
00028
00029
00030 int find_meas(const char *dir, const char *mask, struct find_meas *f, int (*check_meas) (const char *));
00031 int find_files(const char *dir, const char *mask, char ***f, int *num, long *size);
00032
00033 int ra_get_filename(const char *fn, int dir_based, char *buf, int buf_len);
00034 FILE *ra_fopen(const char *fn, const char *mode, int dir_based);
00035
00036 int make_dir(const char *dir);
00037 int copy_move_file(const char *file, const char *dest_dir, int copy);
00038 int delete_file(const char *file);
00039
00040 #ifdef __cplusplus
00041 }
00042 #endif
00043
00044 #endif