Just a little correction at the it.po file.
[midnight-commander.git] / src / file.h
blob7c060b37700acd106ee55515c4d23b15dd9b6d37
1 #ifndef __FILE_H
2 #define __FILE_H
4 #include "fileopctx.h"
5 #include "background.h"
7 extern int safe_delete;
9 struct link;
11 int copy_file_file (FileOpContext *ctx, char *s, char *d, int ask_overwrite,
12 off_t *progress_count, double *progress_bytes,
13 int is_toplevel_file);
14 int move_file_file (FileOpContext *ctx, char *s, char *d,
15 off_t *progress_count, double *progress_bytes);
16 int move_dir_dir (FileOpContext *ctx, char *s, char *d,
17 off_t *progress_count, double *progress_bytes);
18 int copy_dir_dir (FileOpContext *ctx, char *s, char *d, int toplevel, int move_over,
19 int delete, struct link *parent_dirs,
20 off_t *progress_count, double *progress_bytes);
21 int erase_dir (FileOpContext *ctx, char *s, off_t *progress_count, double *progress_bytes);
22 int erase_file (FileOpContext *ctx, char *s, off_t *progress_count, double *progress_bytes,
23 int is_toplevel_file);
24 int erase_dir_iff_empty (FileOpContext *ctx, char *s);
26 int panel_operate (void *source_panel, FileOperation op,
27 char *thedefault, int ask_user);
29 extern int file_op_compute_totals;
31 /* Error reporting routines */
32 /* Report error with one file */
33 int file_error (char *format, char *file);
35 /* Report error with two files */
36 int files_error (char *format, char *file1, char *file2);
38 /* Query routines */
40 void compute_dir_size (char *dirname, off_t *ret_marked, double *ret_total);
42 #endif /* !__FILE_H */