The county has entered into an agreement with the city of Waco (located within the county) whereby the county, through its license and permit department, performs within the city all functions performed by the department for the county, as set forth in this article.