pps_fetch: introduce a helper to handle timeouts
[dragonfly.git] / sys / bus / cam / cam_extend.h
blob2b5f1a54851c605d03870d221d606039ce4a14ef
1 /*
2 * Written by Julian Elischer (julian@tfs.com)
3 * for TRW Financial Systems for use under the MACH(2.5) operating system.
5 * TRW Financial Systems, in accordance with their agreement with Carnegie
6 * Mellon University, makes this software available to CMU to distribute
7 * or use in any manner that they see fit as long as this message is kept with
8 * the software. For this reason TFS also grants any other persons or
9 * organisations permission to use or modify this software.
11 * TFS supplies this software to be publicly redistributed
12 * on the understanding that TFS is not responsible for the correct
13 * functioning of this software in any circumstances.
15 * $FreeBSD: src/sys/cam/cam_extend.h,v 1.3 1999/12/29 04:54:25 peter Exp $
16 * $DragonFly: src/sys/bus/cam/cam_extend.h,v 1.2 2003/06/17 04:28:18 dillon Exp $
19 #ifndef _CAM_CAM_EXTEND_H
20 #define _CAM_CAM_EXTEND_H 1
22 #ifdef _KERNEL
23 struct extend_array;
25 void *cam_extend_get(struct extend_array *ea, int index);
26 struct extend_array *cam_extend_new(void);
27 void *cam_extend_set(struct extend_array *ea, int index, void *value);
28 void cam_extend_release(struct extend_array *ea, int index);
30 #endif
31 #endif /* _CAM_CAM_EXTEND_H */