Jerasure
1.2
A Library in C/C++ Facilitating Erasure Coding for Storage Applications
|
00001 /* liberation.h 00002 * James S. Plank 00003 00004 Jerasure - A C/C++ Library for a Variety of Reed-Solomon and RAID-6 Erasure Coding Techniques 00005 00006 Revision 1.2A 00007 May 24, 2011 00008 00009 James S. Plank 00010 Department of Electrical Engineering and Computer Science 00011 University of Tennessee 00012 Knoxville, TN 37996 00013 plank@cs.utk.edu 00014 00015 Copyright (c) 2011, James S. Plank 00016 All rights reserved. 00017 00018 Redistribution and use in source and binary forms, with or without 00019 modification, are permitted provided that the following conditions 00020 are met: 00021 00022 - Redistributions of source code must retain the above copyright 00023 notice, this list of conditions and the following disclaimer. 00024 00025 - Redistributions in binary form must reproduce the above copyright 00026 notice, this list of conditions and the following disclaimer in 00027 the documentation and/or other materials provided with the 00028 distribution. 00029 00030 - Neither the name of the University of Tennessee nor the names of its 00031 contributors may be used to endorse or promote products derived 00032 from this software without specific prior written permission. 00033 00034 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 00035 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 00036 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 00037 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 00038 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 00039 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 00040 BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS 00041 OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 00042 AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 00043 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 00044 WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 00045 POSSIBILITY OF SUCH DAMAGE. 00046 00047 00048 */ 00049 00050 #ifndef _LIBERATION 00051 00052 extern int *liberation_coding_bitmatrix(int k, int w); 00053 extern int *liber8tion_coding_bitmatrix(int k); 00054 extern int *blaum_roth_coding_bitmatrix(int k, int w); 00055 00056 #endif