1 | /* libmondo-stream-EXT.h */ |
---|
2 | |
---|
3 | |
---|
4 | |
---|
5 | extern int closein_tape(); |
---|
6 | extern int closeout_tape(); |
---|
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, |
---|
11 | char *latest_fname); |
---|
12 | extern int openin_cdstream(); |
---|
13 | extern int openin_tape(); |
---|
14 | extern int openout_cdstream(char *cddev, int speed); |
---|
15 | extern int openout_tape(char *tapedev, long internal_tape_block_size); |
---|
16 | extern int read_file_from_stream_to_file( |
---|
17 | char *outfile, long long size); |
---|
18 | extern int read_file_from_stream_to_stream( |
---|
19 | FILE * fout, long long size); |
---|
20 | extern int read_file_from_stream_FULL( |
---|
21 | char *outfname, FILE * foutstream, |
---|
22 | long long orig_size); |
---|
23 | extern int read_header_block_from_stream(long long *plen, char *filename, |
---|
24 | int *pcontrol_char); |
---|
25 | extern int register_in_tape_catalog(t_archtype type, int number, long aux, |
---|
26 | char *fn); |
---|
27 | extern bool should_we_write_to_next_tape(long mediasize, |
---|
28 | off_t |
---|
29 | length_of_incoming_file); |
---|
30 | extern int skip_incoming_files_until_we_find_this_one(char |
---|
31 | *the_file_I_was_reading); |
---|
32 | extern int start_to_read_from_next_tape(); |
---|
33 | extern int start_to_write_to_next_tape(); |
---|
34 | extern int write_backcatalog_to_tape(); |
---|
35 | extern int write_data_disks_to_stream(char *fname); |
---|
36 | extern int write_file_to_stream_from_file( |
---|
37 | char *infile); |
---|
38 | extern int write_header_block_to_stream(off_t length_of_incoming_file, |
---|
39 | char *filename, int control_char); |
---|
40 | extern void wrong_marker(int should_be, int it_is); |
---|
41 | extern int closein_cdstream(); |
---|
42 | extern int read_EXAT_files_from_tape( |
---|
43 | long long *ptmp_size, char *tmp_fname, |
---|
44 | int *pctrl_chr, char *xattr_fname, |
---|
45 | char *acl_fname); |
---|
46 | extern int write_EXAT_files_to_tape( |
---|
47 | char *xattr_fname, char *acl_fname); |
---|