(iOS, ObjC removal) Convert RAConfig class into set of c helper functions.