Ignore:
Timestamp:
Apr 30, 2007, 1:50:20 AM (17 years ago)
Author:
Bruno Cornec
Message:

MAX_NOOF_MEDIA is gone and media_size in bkpinfo struct is now a single long field and not an array anymore

File:
1 edited

Legend:

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

    r1364 r1365  
    66 */
    77
    8 
    9 /* @def MAX_NOOF_MEDIA The maximum number of media that can be used in any one backup. */
    10 
    11 /* So we can override it in config.h: */
    12 //#ifndef MAX_NOOF_MEDIA
    13 #define MAX_NOOF_MEDIA 50
    14 //#endif
    158
    169/**
     
    318311
    319312  /**
    320    * An array containing the sizes of each media in our backup set, in MB.
    321    * For example, media 1's size would be stored in media_size[1].
    322    * Element 0 is unused.
     313   *
     314   * The size of the media in our backup set, in MB.
    323315   * If the size should be autodetected, make it -1 (preferable) or 0.
    324    * @bug This should probably be only one variable, not an array.
    325    */
    326     long media_size[MAX_NOOF_MEDIA + 1];
     316   *
     317   */
     318    long media_size;
    327319
    328320  /**
Note: See TracChangeset for help on using the changeset viewer.