generic.{c,h} now uses an enum for SEEK_ type

Previously a set of defined macros was used to specify the SEEK_
type for the get_conf_line family of functions. This has been
replaced with an enum SEEK_MODE.