source: MondoRescue/branches/2.2.10/mondo/src/common/libmondo-stream-EXT.h@ 2325

Last change on this file since 2325 was 2325, checked in by Bruno Cornec, 15 years ago

r3336@localhost: bruno | 2009-08-11 16:32:36 +0200

  • bkpinfo->media_device, bkpinfo->nfs_remote_dir, and bkpinfo->nfs_mount are now dynamically allocated
  • new interfaces for find_cdrom_device(), find_tape_device_and_size(), find_dvd_device(), find_cdrw_device(), set_dev_to_this_if_rx_OK() and read_cfg_var() which allocate the string now returned
  • Better differentiation between ISO and NFS iso file names construction
  • Property svn:keywords set to Id
File size: 1.8 KB
RevLine 
[1]1/* libmondo-stream-EXT.h */
2
3
4
[1647]5extern int closein_tape();
6extern int closeout_tape();
[2325]7extern char *find_tape_device_and_size(char *siz);
[128]8extern void insist_on_this_tape_number(int tapeno);
9extern void log_tape_pos(void);
[2321]10extern int maintain_collection_of_recent_archives(char *latest_fname);
[1647]11extern int openin_cdstream();
12extern int openin_tape();
[128]13extern int openout_cdstream(char *cddev, int speed);
[1954]14extern int openout_tape();
[1647]15extern int read_file_from_stream_to_file(
[128]16 char *outfile, long long size);
[1647]17extern int read_file_from_stream_to_stream(
[128]18 FILE * fout, long long size);
[1647]19extern int read_file_from_stream_FULL(
[128]20 char *outfname, FILE * foutstream,
21 long long orig_size);
22extern int read_header_block_from_stream(long long *plen, char *filename,
23 int *pcontrol_char);
24extern int register_in_tape_catalog(t_archtype type, int number, long aux,
25 char *fn);
26extern bool should_we_write_to_next_tape(long mediasize,
[684]27 off_t
[128]28 length_of_incoming_file);
29extern int skip_incoming_files_until_we_find_this_one(char
30 *the_file_I_was_reading);
[1647]31extern int start_to_read_from_next_tape();
32extern int start_to_write_to_next_tape();
33extern int write_backcatalog_to_tape();
[128]34extern int write_data_disks_to_stream(char *fname);
[1647]35extern int write_file_to_stream_from_file(
[128]36 char *infile);
[684]37extern int write_header_block_to_stream(off_t length_of_incoming_file,
[128]38 char *filename, int control_char);
39extern void wrong_marker(int should_be, int it_is);
[1647]40extern int closein_cdstream();
41extern 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]45extern int write_EXAT_files_to_tape(
[128]46 char *xattr_fname, char *acl_fname);
Note: See TracBrowser for help on using the repository browser.