[1] | 1 | /* libmondo-stream.h
|
---|
[128] | 2 | * $Id: libmondo-stream.h 2334 2009-08-18 15:28:18Z bruno $
|
---|
[1] | 3 | */
|
---|
| 4 |
|
---|
| 5 |
|
---|
| 6 |
|
---|
[1647] | 7 | int closein_tape();
|
---|
| 8 | int closeout_tape();
|
---|
[2334] | 9 | char *mr_find_tape_device(void);
|
---|
[1] | 10 | void insist_on_this_tape_number(int tapeno);
|
---|
[128] | 11 | void log_tape_pos(void);
|
---|
[2321] | 12 | int maintain_collection_of_recent_archives(char *latest_fname);
|
---|
[1647] | 13 | int openin_cdstream();
|
---|
| 14 | int openin_tape();
|
---|
[128] | 15 | int openout_cdstream(char *cddev, int speed);
|
---|
[1954] | 16 | int openout_tape();
|
---|
[1647] | 17 | int read_file_from_stream_to_file(char *outfile,
|
---|
[128] | 18 | long long size);
|
---|
[1647] | 19 | int read_file_from_stream_to_stream(FILE * fout,
|
---|
[128] | 20 | long long size);
|
---|
[1647] | 21 | int read_file_from_stream_FULL(char *outfname,
|
---|
[128] | 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,
|
---|
| 26 | char *fn);
|
---|
| 27 | bool should_we_write_to_next_tape(long mediasize,
|
---|
[684] | 28 | off_t length_of_incoming_file);
|
---|
[128] | 29 | int skip_incoming_files_until_we_find_this_one(char
|
---|
| 30 | *the_file_I_was_reading);
|
---|
[1647] | 31 | int start_to_read_from_next_tape();
|
---|
| 32 | int start_to_write_to_next_tape();
|
---|
| 33 | int write_backcatalog_to_tape();
|
---|
[128] | 34 | int write_data_disks_to_stream(char *fname);
|
---|
[1647] | 35 | int write_file_to_stream_from_file(
|
---|
[128] | 36 | char *infile);
|
---|
[684] | 37 | int write_header_block_to_stream(off_t length_of_incoming_file,
|
---|
[128] | 38 | char *filename, int control_char);
|
---|
| 39 | void wrong_marker(int should_be, int it_is);
|
---|
[1647] | 40 | int closein_cdstream();
|
---|
| 41 | int read_EXAT_files_from_tape(
|
---|
[128] | 42 | long long *ptmp_size, char *tmp_fname,
|
---|
| 43 | int *pctrl_chr, char *xattr_fname,
|
---|
| 44 | char *acl_fname);
|
---|
[1647] | 45 | int write_EXAT_files_to_tape(char *xattr_fname,
|
---|
[128] | 46 | char *acl_fname);
|
---|