/* /tmp_mnt/flanders/usr2/gipsy-oasis/local/gpsmet/source/TBfmt/SCCS/s.configFlagTst.c 1.4 */ /****************************************************************************** * * * configFlagTst.c * * * * return a boolean true or false whether the named flag is set or not * * * * 941001 tnm 01.00.00 created * * 941012 tnm 01.00.01 moved to HP's (no change) * * * ******************************************************************************/ /*--+----1----+----2----+----3----+----4----+----5----+----6----+----7----+---*/ #include "TBtool.h" boolean configFlagTst (configFlagValue flag, flag32 config) { boolean rtnValue = true; if ((config & flag) != 0) { rtnValue = true; } else { rtnValue = false; } return rtnValue; }