moved config process prototype into greyd.h, to facilitate testing