1cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)/* 2cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)** Copyright (c) 1999, 2000, 2001, 2002, 2003 3cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)** Adel I. Mirzazhanov. All rights reserved 4cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)** 5cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)** Redistribution and use in source and binary forms, with or without 6cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)** modification, are permitted provided that the following conditions 7cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)** are met: 8cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)** 9cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)** 1.Redistributions of source code must retain the above copyright notice, 10cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)** this list of conditions and the following disclaimer. 11cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)** 2.Redistributions in binary form must reproduce the above copyright 12cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)** notice, this list of conditions and the following disclaimer in the 13cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)** documentation and/or other materials provided with the distribution. 14cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)** 3.The name of the author may not be used to endorse or promote products 15cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)** derived from this software without specific prior written permission. 16cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)** 17cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)** THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS 18cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)** OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 19cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)** WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)** ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 21cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)** DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)** DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 23cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)** GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 25cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)** WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 26cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)** NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)** SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)*/ 29cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) 30cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)#ifndef APG_OWN_TYPES_H 31cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)#define APG_OWN_TYPES_H 1 32cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) 33cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)typedef unsigned int UINT; 34cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)typedef unsigned short USHORT; 35cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)typedef short int SHORT; 36cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)typedef int boolean; 37cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)typedef unsigned long int UINT32; 38cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) 39cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)#define TRUE 1 40cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)#define FALSE 0 41cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) 42cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)#define APG_MAX_PASSWORD_LENGTH 255 43cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) 44cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)#endif /* APG_OWN_TYPES_H */ 45