Condensed the 4 functions (one for min, max, inc, and def for each resource type) into 1
function for each resource type. Condensing this removes the need for the sdc_rasd
structs and the sdc_rasd_list.
The provider behavior should stay the same, the only change here is the layout of the
code.