cg_city_parsing.h (1345B)
1 /* Copyright (C) 2022 Université de Pau et des Pays de l'Adour UPPA 2 * Copyright (C) 2022 CNRS 3 * Copyright (C) 2022 Sorbonne Université 4 * Copyright (C) 2022 Université Paul Sabatier 5 * Copyright (C) 2022 |Meso|Star> (contact@meso-star.com) 6 * 7 * This program is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program. If not, see <http://www.gnu.org/licenses/>. */ 19 20 #ifndef CITY_PARSING_H 21 #define CITY_PARSING_H 22 23 #include <rsys/rsys.h> 24 25 struct cyaml_config; 26 struct parsed_city; 27 struct mem_allocator; 28 struct logger; 29 30 res_T 31 parse_city 32 (const char* name, 33 struct mem_allocator* allocator, 34 struct logger* logger, 35 const struct cyaml_config* config, 36 struct parsed_city** out_parsed); 37 38 void 39 release_parsed_city 40 (const struct cyaml_config* config, 41 struct parsed_city* parsed); 42 43 #endif /*CITY_PARSING_H*/