Changeset 1264 in MondoRescue for branches/stable/mondo/src/include/mr_conf.h


Ignore:
Timestamp:
Mar 24, 2007, 1:48:55 AM (17 years ago)
Author:
Bruno Cornec
Message:
  • mr_exit used instead of exit
  • mr_rs_clean_conf/mr_rs_cleanup/mr_ar_clean_conf/mr_ar_cleanup added
  • compiltaion warnings suppressed
  • Addition of mr_types (for boolean with typedef)
  • struct mr_rs_conf added
  • help_screen removed (useless)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/include/mr_conf.h

    r1256 r1264  
    7979};
    8080
     81/* mondorestore structure storing conf info
     82 * each field of the configuration file should have an entry here
     83 */
     84struct mr_rs_conf {
     85    /* Default media size */
     86    int media_size;
     87    /* Default device of media */
     88    char *media_device;
     89    /* Is the CD tray manual ? */
     90    bool manual_tray;
     91    /* Default log level */
     92    int log_level;
     93    /* default prefix for ISO names */
     94    char *prefix;
     95    /* External tape blocksize */
     96    int external_tape_blocksize;
     97    /* Internal tape blocksize */
     98    int internal_tape_blocksize;
     99    /* Size in MB of the slices for biggiefiles */
     100    int slice_size;
     101    /* Boot loader to use */
     102    char *boot_loader;
     103    /* Differential backup ? */
     104    bool differential;
     105    /* Default compression tool */
     106    char *compression_tool;
     107    /* Which mode should be activated by default*/
     108    char *ui_mode;
     109    /* Activate automatic restore ? */
     110    bool automatic_restore;
     111    /* Images creation dir */
     112    char *images_dir;
     113};
     114
    81115/* functions (public methods) */
    82116
Note: See TracChangeset for help on using the changeset viewer.