awips2/nativeLib/rary.ohd.whfs/inc/dbms/DbmsCodeUtil.h
root 9bb8decbcf Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: 133dc97f67 [formerly a02aeb236c] [formerly 9f19e3f712] [formerly 06a8b51d6d [formerly 9f19e3f712 [formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]]
Former-commit-id: 06a8b51d6d
Former-commit-id: 377dcd10b9 [formerly 3360eb6c5f]
Former-commit-id: 8e80217e59
2012-01-06 08:55:05 -06:00

49 lines
782 B
C

#ifndef DBMS_CODE_UTIL_H
#define DBMS_CODE_UTIL_H
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
/*
Processed State
*/
typedef enum _PreProcessState
{
NOT_PROCESSED,
PROCESSED,
NUM_PRE_PROCESS_STATES
} PreProcessState;
typedef enum _PreProcessor
{
OFSDE,
SIIPP,
NUM_PRE_PROCESSORS
} PreProcessor;
/**************************************************************************/
void setPreProcessCode(short *code,
PreProcessor processId,
PreProcessState newState);
PreProcessState getPreProcessState(short code,
PreProcessor processId);
short getStateFromCode(short code,
short base,
short place,
short numPlaces);
#endif