source: MondoRescue/branches/2.2.6/mondo/src/common/libmondo-stream.h @ 1954

Last change on this file since 1954 was 1954, checked in by Bruno Cornec, 12 years ago
  • Simplify some function interface with bkpinfo global
  • Modify bkpinfo->media_device when OBDR to force using non-rewionding dev and improve backup
  • Property svn:keywords set to Id
File size: 1.6 KB
1/* libmondo-stream.h
2 * $Id: libmondo-stream.h 1954 2008-05-27 11:13:52Z bruno $
3 */
7int closein_tape();
8int closeout_tape();
9int find_tape_device_and_size(char *dev, char *siz);
10void insist_on_this_tape_number(int tapeno);
11void log_tape_pos(void);
12int maintain_collection_of_recent_archives(char *td, char *latest_fname);
13int openin_cdstream();
14int openin_tape();
15int openout_cdstream(char *cddev, int speed);
16int openout_tape();
17int read_file_from_stream_to_file(char *outfile,
18                                  long long size);
19int read_file_from_stream_to_stream(FILE * fout,
20                                    long long size);
21int read_file_from_stream_FULL(char *outfname,
22                               FILE * foutstream, long long orig_size);
23int read_header_block_from_stream(long long *plen, char *filename,
24                                  int *pcontrol_char);
25int register_in_tape_catalog(t_archtype type, int number, long aux,
26                             char *fn);
27bool should_we_write_to_next_tape(long mediasize,
28                                  off_t length_of_incoming_file);
29int skip_incoming_files_until_we_find_this_one(char
30                                               *the_file_I_was_reading);
31int start_to_read_from_next_tape();
32int start_to_write_to_next_tape();
33int write_backcatalog_to_tape();
34int write_data_disks_to_stream(char *fname);
35int write_file_to_stream_from_file(
36                                   char *infile);
37int write_header_block_to_stream(off_t length_of_incoming_file,
38                                 char *filename, int control_char);
39void wrong_marker(int should_be, int it_is);
40int closein_cdstream();
41int read_EXAT_files_from_tape(
42                              long long *ptmp_size, char *tmp_fname,
43                              int *pctrl_chr, char *xattr_fname,
44                              char *acl_fname);
45int write_EXAT_files_to_tape(char *xattr_fname,
46                             char *acl_fname);
Note: See TracBrowser for help on using the repository browser.