"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "mapscsi-0.0.11/mapscsi.h" of archive mapscsi-0.0.11.tar.gz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 /*
    2  *  mapscsi - program for creating consistent scsi device mappings
    3  *
    4  *  Author: Michael Clark <michael@metaparadigm.com>
    5  *  Copyright Metaparadigm Pte. Ltd. 2001
    6  *
    7  *  This program is free software; you can redistribute it and/or modify
    8  *  it under the terms of the GNU General Public License version 2 as
    9  *  published by the Free Software Foundation.
   10  */
   11 
   12 #ifndef _MAPSCSI_H_
   13 #define _MAPSCSI_H_
   14 
   15 typedef struct scsi_map_rule {
   16   int rule_num;
   17   char *key;
   18   char *value;
   19   struct scsi_map_rule *next_constraint;
   20   struct scsi_map_rule *next_rule;
   21 } scsi_map_rule_t;
   22 
   23 typedef struct scsi_map {
   24   char *device;
   25   char *link;
   26   struct scsi_map *next;
   27 } scsi_map_t;
   28 
   29 #endif