#include "SDDAS_types.h" #include "DbMesgs.h" /****************************************************************************** | >FILE: db_msgs.c | | | | DESCRIPTION | | This routine returns an element number of an experiment for a desired | | stream. | | | | SYNOPSIS | | char *db_msgs(mesg_no) | | | | ARGUMENTS | | int mesg_no message number | | | | NECESSARY SUBPROGRAMS | | None | | | | EXTERNAL VARIABLES | | None | | | | INTERNAL VARIABLES | | short i loop counter | | | | SUBSYSTEM | | DATABASE (Utility) | | | ******************************************************************************/ static char *unknown = "UNKNOWN DB MESSAGE"; SDDAS_CHAR *db_msgs (SDDAS_INT mesg_no) { register short i; /* | loop over all possible messages to find the matching message number */ for (i=0; i