Ignore:
Timestamp:
Sep 25, 2013, 8:55:45 AM (11 years ago)
Author:
Bruno Cornec
Message:
  • Lots of memory management backports from 3.1 to 3.2 - still not finished, nor working ATM. the common subdir was done during travel, so this is essentially a backup !
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mondo/src/common/mondostructures.h

    r3150 r3191  
    412412    bool use_gzip;
    413413
    414   /**
    415    * A filename containing a list of extensions, one per line, to not
    416    * compress. If this is set to "", afio will still exclude a set of well-known
    417    * compressed files from compression, but biggiefiles that are compressed
    418    * will be recompressed again.
    419    */
    420     char do_not_compress_these[MAX_STR_LEN / 2];
     414/**
     415   * If TRUE, then use @c lzma to compress data.
     416   * This is used mainly in estimates. The backup/restore may or may
     417   * not work if you do not set this. You should also set @p zip_exe
     418   * and @p zip_suffix.
     419   */
     420    bool use_lzma;
    421421
    422422  /**
     
    492492   */
    493493    t_bkptype backup_media_type;
    494 //  bool blank_dvd_first;
    495494
    496495  /**
     
    506505   * If you do nothing, "/" will be used.
    507506   */
    508     char include_paths[MAX_STR_LEN*4];
     507    char *include_paths;
    509508
    510509  /**
     
    560559   * address form. (Domain names will be resolved in post_param_configuration().)
    561560   */
    562     char netfs_mount[MAX_STR_LEN];
     561    char *netfs_mount;
    563562
    564563  /**
     
    566565   * the backups in.
    567566   */
    568     char netfs_remote_dir[MAX_STR_LEN];
     567    char *netfs_remote_dir;
    569568
    570569  /**
     
    674673   */
    675674    bool expanded;
    676 };
    677 
    678 
    679 
    680 /**
    681  * A structure to wrap a FIFO device for writing to a tape/CD stream.
    682  * @bug Is this structure used (w/the move to a standalone @c buffer and all)?
    683  */
    684 struct s_wrapfifo {
    685         /**
    686      * The device we write to or read from (a FIFO).
    687      */
    688     char public_device[MAX_STR_LEN / 4];
    689 
    690         /**
    691      * The actual device that data from the FIFO should be buffered and written to.
    692      */
    693     char private_device[MAX_STR_LEN / 4];
    694 
    695         /**
    696      * A buffer for holding data read from the FIFO.
    697      */
    698     char internal_buffer_IN_fifo[MAX_STR_LEN / 4];
    699 
    700         /**
    701      * A buffer for holding data to be written to the FIFO.
    702      */
    703     char internal_buffer_OUT_fifo[MAX_STR_LEN / 4];
    704 
    705         /**
    706      * If TRUE, then we're writing directly to the tape streamer; if FALSE, we're writing to the FIFO.
    707      */
    708     bool writing_to_private_device;
    709675};
    710676
Note: See TracChangeset for help on using the changeset viewer.