Ignore:
Timestamp:
Sep 25, 2013, 8:55:43 AM (11 years ago)
Author:
Bruno Cornec
Message:
  • Modification to 3.1 branch to make it extremely similar to 3.0. What remains are function rewrite with allocation in the function and desallocation outside of the function. Will be next step
File:
1 edited

Legend:

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

    r3147 r3190  
    2323 */
    2424
    25 
    26 /** @def MAX_NOOF_MEDIA The maximum number of media that can be used in any one backup. */
    27 ///* So we can override it in config.h: */
    28 //#ifndef MAX_NOOF_MEDIA
    29 #define MAX_NOOF_MEDIA 50
    30 //#endif
    3125
    3226/**
     
    343337
    344338  /**
    345    * An array containing the sizes of each media in our backup set, in MB.
    346    * For example, media 1's size would be stored in media_size[1].
    347    * Element 0 is unused.
     339   * A field containing the sizes of the media in our backup set, in MB.
    348340   * If the size should be autodetected, make it -1 (preferable) or 0.
    349    * @bug This should probably be only one variable, not an array.
    350    */
    351     long media_size[MAX_NOOF_MEDIA + 1];
     341   */
     342    long media_size;
    352343
    353344  /**
Note: See TracChangeset for help on using the changeset viewer.