The four functions of the Capitoulat of Toulouse