There are only two possibilities for the ending of this war.
A - A powerful warlord takes over from Assad, probably Sunni in persuasion, and creates a new dictatorship out of Syria.
B - The country known as Syria will cease to exist, with the country being divided into three new states: a Kurdish state, a Sunni state, and a Shia/Alawite state.