Another way to say "a front room is used for greeting guests" is "One use of a front room is to greet visitors."