[1] | 1 | /* libmondo-stream-EXT.h */
|
---|
| 2 |
|
---|
| 3 |
|
---|
| 4 |
|
---|
| 5 | extern int closein_tape (struct s_bkpinfo *bkpinfo);
|
---|
| 6 | extern int closeout_tape (struct s_bkpinfo *bkpinfo);
|
---|
| 7 | extern int find_tape_device_and_size (char*dev, char*siz);
|
---|
| 8 | extern void insist_on_this_tape_number(int tapeno);
|
---|
| 9 | extern void log_tape_pos (void);
|
---|
| 10 | extern int maintain_collection_of_recent_archives(char *td, char *latest_fname);
|
---|
| 11 | extern int openin_cdstream (struct s_bkpinfo *bkpinfo);
|
---|
| 12 | extern int openin_tape (struct s_bkpinfo *bkpinfo);
|
---|
| 13 | extern int openout_cdstream (char *cddev, int speed);
|
---|
| 14 | extern int openout_tape (char *tapedev, long internal_tape_block_size);
|
---|
| 15 | extern int read_file_from_stream_to_file (struct s_bkpinfo *bkpinfo, char *outfile,
|
---|
| 16 | long long size);
|
---|
| 17 | extern int read_file_from_stream_to_stream (struct s_bkpinfo *bkpinfo, FILE * fout,
|
---|
| 18 | long long size);
|
---|
| 19 | extern int read_file_from_stream_FULL (struct s_bkpinfo *bkpinfo, char *outfname,
|
---|
| 20 | FILE * foutstream, long long orig_size);
|
---|
| 21 | extern int read_header_block_from_stream (long long *plen, char *filename,
|
---|
| 22 | int *pcontrol_char);
|
---|
| 23 | extern int register_in_tape_catalog(t_archtype type, int number, long aux, char*fn);
|
---|
| 24 | extern bool should_we_write_to_next_tape (long mediasize,
|
---|
| 25 | long long length_of_incoming_file);
|
---|
| 26 | extern int skip_incoming_files_until_we_find_this_one(char*the_file_I_was_reading);
|
---|
| 27 | extern int start_to_read_from_next_tape (struct s_bkpinfo *bkpinfo);
|
---|
| 28 | extern int start_to_write_to_next_tape (struct s_bkpinfo *bkpinfo);
|
---|
| 29 | extern int write_backcatalog_to_tape (struct s_bkpinfo *bkpinfo);
|
---|
| 30 | extern int write_data_disks_to_stream (char *fname);
|
---|
| 31 | extern int write_file_to_stream_from_file (struct s_bkpinfo *bkpinfo, char *infile);
|
---|
| 32 | extern int write_header_block_to_stream (long long length_of_incoming_file, char *filename,
|
---|
| 33 | int control_char);
|
---|
| 34 | extern void wrong_marker (int should_be, int it_is);
|
---|
| 35 | extern int closein_cdstream (struct s_bkpinfo *bkpinfo);
|
---|
| 36 | extern int read_EXAT_files_from_tape(struct s_bkpinfo *bkpinfo, long long *ptmp_size, char *tmp_fname, int *pctrl_chr, char*xattr_fname, char*acl_fname);
|
---|
| 37 | extern int write_EXAT_files_to_tape(struct s_bkpinfo *bkpinfo, char*xattr_fname, char*acl_fname);
|
---|
| 38 |
|
---|