The right to use, modify and redistribute this code is allowed
provided the above copyright notice and the below disclaimer appear
on all copies.
This file is provided AS IS with no warranties of any kind. The author
shall have no liability with respect to the infringement of copyrights,
trade secrets or any patents by this file or any part thereof. In no
event will the author be liable for any lost revenue or profits or
other special, indirect and consequential damages.