/* remove map from run time structure (LIBRARY_INTERNAL) * The map handle will become invalid. */ void CsfUnloadMap( MAP *m) /* map handle */ { POSTCOND(CsfIsValidMap(m)); mapList[m->mapListId] = NULL; m->mapListId = -1; }
/* check if an attribute is available * MattributeAvail search for the given id in the map. * * returns * 0 if the attribute is not available, * nonzero if the attribute is available * * Merrno * ILLHANDLE */ int MattributeAvail( MAP *m, /* map handle */ CSF_ATTR_ID id) /* identification of attribute */ { ATTR_CNTRL_BLOCK b; if (! CsfIsValidMap(m)) return 0; return(CsfGetAttrBlock(m, id, &b) != 0); }