Skip to content

Commit

Permalink
renamed variables
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Nov 22, 2018
1 parent 204610f commit a3f392c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/dird/dird.h
Expand Up @@ -117,10 +117,10 @@ typedef enum {
} slot_type;

typedef enum {
slot_content_unknown, /**< Slot content is unknown */
slot_content_empty, /**< Slot is empty */
slot_content_full /**< Slot is full */
} slot_content;
slot_status_unknown, /**< Slot status is unknown */
slot_status_empty, /**< Slot is empty */
slot_status_full /**< Slot is full */
} slot_status;

enum s_mapping_type {
LOGICAL_TO_PHYSICAL,
Expand All @@ -132,20 +132,20 @@ enum s_mapping_type {
*/
struct vol_list_t {
dlink link; /**< Link for list */
slot_number_t Index; /**< Unique index */
slot_number_t SlotNumber; /**< Unique Slot Number */
slot_flags_t Flags; /**< Slot specific flags see e_slot_flag enum */
slot_type Type; /**< See slot_type_* */
slot_content Content; /**< See slot_content_* */
slot_number_t Slot; /**< Drive number when slot_type_drive or actual slot number */
slot_number_t Loaded; /**< Volume loaded in drive when slot_type_drive */
slot_status SlotStatus; /**< See slot_status_* */
slot_number_t SlotOrDriveNumber; /**< Drive number when slot_type_drive or actual slot number */
slot_number_t CurrentlyLoadedSlot; /**< Volume loaded in drive when slot_type_drive */
char *VolName; /**< Actual Volume Name */
};

struct changer_vol_list_t {
int16_t reference_count; /**< Number of references to this vol_list */
vol_list_type type; /**< Type of vol_list see vol_list_type enum */
utime_t timestamp; /**< When was this vol_list created */
dlist *contents; /**< Contents of autochanger */
dlist *contents; /**< SlotStatuss of autochanger */
};


Expand Down

0 comments on commit a3f392c

Please sign in to comment.