source: MondoRescue/branches/stable/mondo/src/common/libmondo-stream-EXT.h @ 1663

Last change on this file since 1663 was 1663, checked in by Bruno Cornec, 13 years ago
  • Fix bug #197 (based on an initial patch of Scott Cummings)
  • Fix a bug where df was using locale to print messages and wasn't filtered correctly
  • mkdtemp checked in configure
  • reset_bkpinfo called as early as possible by both main program.
  • It creates a tmpdir cleanly with mkdtemp in setup_tmpdir subfunction, which takes in account TMPIR and TMP env var. Remains to see what tmpfs does and tests
  • should also be filtered.
  • Remove g_bkpinfo_DONTUSETHIS
  • remove bkpinfo also from header files
  • Render bkpinfo global (potential issue on thread, but should not be a problem as that structure is indeed static during archive)
  • Apply patch from Andree Leidenfrost, modified a bit to use bkpinfo->tmpdir instead of /tmp or MINDI_CACHE when appropriate. Fix security issues in mondo. Thanks al ot Andree for catching all those issues.
  • /tmp => /var/log for mondorestore.log in mindi
  • Update linux terminfo to fix a color issue (Andree Leidenfrost)
  • Removes useless log file (Andree Leidenfrost)
  • replace vi with find_my_editor during restore (Andree Leidenfrost)
  • sync in bg in mindi (VMWare issue to look at)
  • mindi/mindi-busybox have a different version than mondo for pb
  • PB-SUF also added to spec file
  • Fix a bug for pb build (omission of PB-SUF declaration)

(merge -r1631:1662 $SVN_M/branches/2.2.5)

  • Property svn:keywords set to Id
File size: 1.9 KB
1/* libmondo-stream-EXT.h */
5extern int closein_tape();
6extern int closeout_tape();
7extern int find_tape_device_and_size(char *dev, char *siz);
8extern void insist_on_this_tape_number(int tapeno);
9extern void log_tape_pos(void);
10extern int maintain_collection_of_recent_archives(char *td,
11                                                  char *latest_fname);
12extern int openin_cdstream();
13extern int openin_tape();
14extern int openout_cdstream(char *cddev, int speed);
15extern int openout_tape(char *tapedev, long internal_tape_block_size);
16extern int read_file_from_stream_to_file(
17                                         char *outfile, long long size);
18extern int read_file_from_stream_to_stream(
19                                           FILE * fout, long long size);
20extern int read_file_from_stream_FULL(
21                                      char *outfname, FILE * foutstream,
22                                      long long orig_size);
23extern int read_header_block_from_stream(long long *plen, char *filename,
24                                         int *pcontrol_char);
25extern int register_in_tape_catalog(t_archtype type, int number, long aux,
26                                    char *fn);
27extern bool should_we_write_to_next_tape(long mediasize,
28                                         off_t
29                                         length_of_incoming_file);
30extern int skip_incoming_files_until_we_find_this_one(char
31                                                      *the_file_I_was_reading);
32extern int start_to_read_from_next_tape();
33extern int start_to_write_to_next_tape();
34extern int write_backcatalog_to_tape();
35extern int write_data_disks_to_stream(char *fname);
36extern int write_file_to_stream_from_file(
37                                          char *infile);
38extern int write_header_block_to_stream(off_t length_of_incoming_file,
39                                        char *filename, int control_char);
40extern void wrong_marker(int should_be, int it_is);
41extern int closein_cdstream();
42extern 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);
46extern int write_EXAT_files_to_tape(
47                                    char *xattr_fname, char *acl_fname);
Note: See TracBrowser for help on using the repository browser.