A gatehouse was a strong building built over the gateway to a city or castle . A gatehouse , in architectural terminology , is a building enclosing or accompanying a gateway for a castle , manor house , or similar buildings of importance .