validate.h revision f0ab104f070bc7f569404826fea1828ed985638c
c793af95640863cd29868fc7c419c5d2496b207bsangeeta
c793af95640863cd29868fc7c419c5d2496b207bsangeeta/*
c793af95640863cd29868fc7c419c5d2496b207bsangeeta
c793af95640863cd29868fc7c419c5d2496b207bsangeetaCopyright 1989, 1998 The Open Group
c793af95640863cd29868fc7c419c5d2496b207bsangeeta
c793af95640863cd29868fc7c419c5d2496b207bsangeetaPermission to use, copy, modify, distribute, and sell this software and its
c793af95640863cd29868fc7c419c5d2496b207bsangeetadocumentation for any purpose is hereby granted without fee, provided that
c793af95640863cd29868fc7c419c5d2496b207bsangeetathe above copyright notice appear in all copies and that both that
c793af95640863cd29868fc7c419c5d2496b207bsangeetacopyright notice and this permission notice appear in supporting
c793af95640863cd29868fc7c419c5d2496b207bsangeetadocumentation.
c793af95640863cd29868fc7c419c5d2496b207bsangeeta
c793af95640863cd29868fc7c419c5d2496b207bsangeetaThe above copyright notice and this permission notice shall be included in
c793af95640863cd29868fc7c419c5d2496b207bsangeetaall copies or substantial portions of the Software.
c793af95640863cd29868fc7c419c5d2496b207bsangeeta
c793af95640863cd29868fc7c419c5d2496b207bsangeetaTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
c793af95640863cd29868fc7c419c5d2496b207bsangeetaIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
c793af95640863cd29868fc7c419c5d2496b207bsangeetaFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
c793af95640863cd29868fc7c419c5d2496b207bsangeetaOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
c793af95640863cd29868fc7c419c5d2496b207bsangeetaAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
c793af95640863cd29868fc7c419c5d2496b207bsangeetaCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
c793af95640863cd29868fc7c419c5d2496b207bsangeeta
fff7ec1d8ce71b3d8a998ac4391a99860ce07180Sowmini VaradhanExcept as contained in this notice, the name of The Open Group shall not be
c793af95640863cd29868fc7c419c5d2496b207bsangeetaused in advertising or otherwise to promote the sale, use or other dealings
c793af95640863cd29868fc7c419c5d2496b207bsangeetain this Software without prior written authorization from The Open Group.
c793af95640863cd29868fc7c419c5d2496b207bsangeeta*/
c793af95640863cd29868fc7c419c5d2496b207bsangeeta
c793af95640863cd29868fc7c419c5d2496b207bsangeeta#ifndef VALIDATE_H
c793af95640863cd29868fc7c419c5d2496b207bsangeeta#define VALIDATE_H
c793af95640863cd29868fc7c419c5d2496b207bsangeeta
c793af95640863cd29868fc7c419c5d2496b207bsangeeta#include "miscstruct.h"
c793af95640863cd29868fc7c419c5d2496b207bsangeeta#include "regionstr.h"
c793af95640863cd29868fc7c419c5d2496b207bsangeeta
c793af95640863cd29868fc7c419c5d2496b207bsangeetatypedef enum { VTOther, VTStack, VTMove, VTUnmap, VTMap, VTBroken } VTKind;
c793af95640863cd29868fc7c419c5d2496b207bsangeeta
c793af95640863cd29868fc7c419c5d2496b207bsangeeta/* union _Validate is now device dependent; see mivalidate.h for an example */
c793af95640863cd29868fc7c419c5d2496b207bsangeetatypedef union _Validate *ValidatePtr;
c793af95640863cd29868fc7c419c5d2496b207bsangeeta
c793af95640863cd29868fc7c419c5d2496b207bsangeeta#define UnmapValData ((ValidatePtr)1)
c793af95640863cd29868fc7c419c5d2496b207bsangeeta
c793af95640863cd29868fc7c419c5d2496b207bsangeeta#endif /* VALIDATE_H */
c793af95640863cd29868fc7c419c5d2496b207bsangeeta