1 /*	$OpenBSD: rf_nwayxor.h,v 1.3 2002/12/16 07:01:04 tdeval Exp $	*/
2 /*	$NetBSD: rf_nwayxor.h,v 1.3 1999/02/05 00:06:13 oster Exp $	*/
3 
4 /*
5  * rf_nwayxor.h
6  */
7 /*
8  * Copyright (c) 1996 Carnegie-Mellon University.
9  * All rights reserved.
10  *
11  * Author: Jim Zelenka
12  *
13  * Permission to use, copy, modify and distribute this software and
14  * its documentation is hereby granted, provided that both the copyright
15  * notice and this permission notice appear in all copies of the
16  * software, derivative works or modified versions, and any portions
17  * thereof, and that both notices appear in supporting documentation.
18  *
19  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
20  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
21  * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
22  *
23  * Carnegie Mellon requests users of this software to return to
24  *
25  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
26  *  School of Computer Science
27  *  Carnegie Mellon University
28  *  Pittsburgh PA 15213-3890
29  *
30  * any improvements or extensions that they make and grant Carnegie the
31  * rights to redistribute these changes.
32  */
33 
34 /*
35  * rf_nwayxor.h -- Types and prototypes for nwayxor module.
36  */
37 
38 #ifndef	_RF__RF_NWAYXOR_H_
39 #define	_RF__RF_NWAYXOR_H_
40 
41 #include "rf_types.h"
42 #include "rf_raid.h"
43 #include "rf_reconstruct.h"
44 
45 int  rf_ConfigureNWayXor(RF_ShutdownList_t **);
46 void rf_nWayXor1(RF_ReconBuffer_t **, RF_ReconBuffer_t *, int);
47 void rf_nWayXor2(RF_ReconBuffer_t **, RF_ReconBuffer_t *, int);
48 void rf_nWayXor3(RF_ReconBuffer_t **, RF_ReconBuffer_t *, int);
49 void rf_nWayXor4(RF_ReconBuffer_t **, RF_ReconBuffer_t *, int);
50 void rf_nWayXor5(RF_ReconBuffer_t **, RF_ReconBuffer_t *, int);
51 void rf_nWayXor6(RF_ReconBuffer_t **, RF_ReconBuffer_t *, int);
52 void rf_nWayXor7(RF_ReconBuffer_t **, RF_ReconBuffer_t *, int);
53 void rf_nWayXor8(RF_ReconBuffer_t **, RF_ReconBuffer_t *, int);
54 void rf_nWayXor9(RF_ReconBuffer_t **, RF_ReconBuffer_t *, int);
55 
56 #endif	/* !_RF__RF_NWAYXOR_H_ */
57