/* * Background.c * */ #ident "@(#) $Id: Background.c 22019 2012-12-05 19:28:41Z carrie $ SwRI" #include #include "pidf.h" #include "pidf_local.h" int Background (char *locater, PIDF what, SDDAS_INT unitnum) { switch (what) { case NAME : case NAMES : sprintf (locater, "%s.Background.name", locater); break; case SHORTNAME : sprintf (locater, "%s.Background.short_name", locater); break; case NUNITS : sprintf (locater, "%s.Background.num_units", locater); break; case UNITNUMS : sprintf (locater, "%s.Background.unit_number", locater); break; default : return Unit (locater, what, unitnum); } /* end switch */ return ALL_OKAY; }