/* * mapscsi - program for creating consistent scsi device mappings * * Author: Michael Clark * Copyright Metaparadigm Pte. Ltd. 2001 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #ifndef _MAPSCSI_H_ #define _MAPSCSI_H_ typedef struct scsi_map_rule { int rule_num; char *key; char *value; struct scsi_map_rule *next_constraint; struct scsi_map_rule *next_rule; } scsi_map_rule_t; typedef struct scsi_map { char *device; char *link; struct scsi_map *next; } scsi_map_t; #endif