basic functions, rcconfig struct