| 1 |
getopt.h - comand line option parsing |
| 2 |
Copyright Keristor Systems and Chris Croughton 1997 - 2005 |
| 3 |
Internet: [email protected] |
| 4 |
Permission is granted to anyone to use this software for any purpose, |
| 5 |
including commercial applications, and to alter it and redistribute it |
| 6 |
freely, subject to the following restrictions: |
| 7 |
1. The origin of this software must not be misrepresented; you must not |
| 8 |
claim that you wrote the original software. If you use this software |
| 9 |
in a product, an acknowledgment in the product documentation would be |
| 10 |
appreciated but is not required. |
| 11 |
2. Altered source versions must be plainly marked as such, and must not be |
| 12 |
misrepresented as being the original software. |
| 13 |
3. This notice may not be removed or altered from any source distribution. |
| 14 |
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
| 15 |
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 16 |
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 17 |
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, |
| 18 |
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 19 |
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
| 20 |
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 21 |
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
| 22 |
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING |
| 23 |
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
| 24 |
POSSIBILITY OF SUCH DAMAGE. |