2 // This software is copyright (c) 2006 Scott Wood <scott@buserror.net>.
4 // Permission is hereby granted, free of charge, to any person obtaining a copy of
5 // this software and associated documentation files (the "Software"), to deal with
6 // the Software without restriction, including without limitation the rights to
7 // use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
8 // of the Software, and to permit persons to whom the Software is furnished to do
9 // so, subject to the following conditions:
11 // * Redistributions of source code must retain the above copyright notice,
12 // this list of conditions and the following disclaimers.
14 // * Redistributions in binary form must reproduce the above copyright notice,
15 // this list of conditions and the following disclaimers in the
16 // documentation and/or other materials provided with the distribution.
18 // * The names of the Software's authors and/or contributors
19 // may not be used to endorse or promote products derived from
20 // this Software without specific prior written permission.
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
24 // FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25 // CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE