186d7f5d3SJohn Marino /* 286d7f5d3SJohn Marino * Written by Julian Elischer (julian@tfs.com) 386d7f5d3SJohn Marino * for TRW Financial Systems for use under the MACH(2.5) operating system. 486d7f5d3SJohn Marino * 586d7f5d3SJohn Marino * TRW Financial Systems, in accordance with their agreement with Carnegie 686d7f5d3SJohn Marino * Mellon University, makes this software available to CMU to distribute 786d7f5d3SJohn Marino * or use in any manner that they see fit as long as this message is kept with 886d7f5d3SJohn Marino * the software. For this reason TFS also grants any other persons or 986d7f5d3SJohn Marino * organisations permission to use or modify this software. 1086d7f5d3SJohn Marino * 1186d7f5d3SJohn Marino * TFS supplies this software to be publicly redistributed 1286d7f5d3SJohn Marino * on the understanding that TFS is not responsible for the correct 1386d7f5d3SJohn Marino * functioning of this software in any circumstances. 1486d7f5d3SJohn Marino * 1586d7f5d3SJohn Marino * $FreeBSD: src/sys/cam/cam_extend.h,v 1.3 1999/12/29 04:54:25 peter Exp $ 1686d7f5d3SJohn Marino * $DragonFly: src/sys/bus/cam/cam_extend.h,v 1.2 2003/06/17 04:28:18 dillon Exp $ 1786d7f5d3SJohn Marino */ 1886d7f5d3SJohn Marino 1986d7f5d3SJohn Marino #ifndef _CAM_CAM_EXTEND_H 2086d7f5d3SJohn Marino #define _CAM_CAM_EXTEND_H 1 2186d7f5d3SJohn Marino 2286d7f5d3SJohn Marino #ifdef _KERNEL 2386d7f5d3SJohn Marino struct extend_array; 2486d7f5d3SJohn Marino 2586d7f5d3SJohn Marino void *cam_extend_get(struct extend_array *ea, int index); 2686d7f5d3SJohn Marino struct extend_array *cam_extend_new(void); 2786d7f5d3SJohn Marino void *cam_extend_set(struct extend_array *ea, int index, void *value); 2886d7f5d3SJohn Marino void cam_extend_release(struct extend_array *ea, int index); 2986d7f5d3SJohn Marino 3086d7f5d3SJohn Marino #endif 3186d7f5d3SJohn Marino #endif /* _CAM_CAM_EXTEND_H */ 32