blob: 46e7c70ec30acef84052433a582e367c7da562f9 [file] [log] [blame]
/*
* DIS Data Management: getKeyAttribute
*
* This header file contains the return codes for the getKeyAttribute
* routine. The routine reads a key attribute from the input FILE
* stream which is defined to be a space-delimited float, but does not
* cross an end-of-line indicator as the default system routines do.
*
* Revision History:
*
* Date Name Revision
* ------- --------------- ------------------------------
* 24May99 Matthew Rivas Created
*
* Copyright 1999, Atlantic Aerospace Electronics Corp.
*/
#ifndef DIS_GET_KEY_ATTRIBUTE_H
#define DIS_GET_KEY_ATTRIBUTE_H
#include <stdio.h> /* for FILE definition */
#include "dataManagement.h" /* for primitive type definitions */
/*
* Return Codes
*/
#define GET_KEY_ATTRIBUTE_SUCCESS 0
#define GET_KEY_ATTRIBUTE_EOI 1
#define GET_KEY_ATTRIBUTE_GET_FLOAT_FAILURE 2
/*
* Function Prototype
*/
extern Int getKeyAttribute( FILE *file, Float *value );
#endif /* DIS_GET_KEY_ATTRIBUTE_H */