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