Well, at current time, open fire (all forms of campfire/bbq pit fire) are banned here in Alberta due to a out of control wild fire. The only implement they allow for cooking is gas bbq or natural gas camp stove. Anyway, yes I know how to cook over camp fire, get a wooden stick, whittle it sharp, impale a hotdog and cook over the fire.
Kidding...
you could put two stones side by side, with hot coals in the middle, and place a pot on the stones, and boil water so you can cook pasta or whatever you are in the mood for. easy peasy.
P