Blame src/benchmarks/config_reader.hpp

Packit 95bb47
/*
Packit 95bb47
 * Copyright 2015-2017, Intel Corporation
Packit 95bb47
 *
Packit 95bb47
 * Redistribution and use in source and binary forms, with or without
Packit 95bb47
 * modification, are permitted provided that the following conditions
Packit 95bb47
 * are met:
Packit 95bb47
 *
Packit 95bb47
 *     * Redistributions of source code must retain the above copyright
Packit 95bb47
 *       notice, this list of conditions and the following disclaimer.
Packit 95bb47
 *
Packit 95bb47
 *     * Redistributions in binary form must reproduce the above copyright
Packit 95bb47
 *       notice, this list of conditions and the following disclaimer in
Packit 95bb47
 *       the documentation and/or other materials provided with the
Packit 95bb47
 *       distribution.
Packit 95bb47
 *
Packit 95bb47
 *     * Neither the name of the copyright holder nor the names of its
Packit 95bb47
 *       contributors may be used to endorse or promote products derived
Packit 95bb47
 *       from this software without specific prior written permission.
Packit 95bb47
 *
Packit 95bb47
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
Packit 95bb47
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
Packit 95bb47
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
Packit 95bb47
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
Packit 95bb47
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
Packit 95bb47
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
Packit 95bb47
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
Packit 95bb47
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
Packit 95bb47
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
Packit 95bb47
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
Packit 95bb47
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Packit 95bb47
 */
Packit 95bb47
/*
Packit 95bb47
 * config_reader.hpp -- config reader module declarations
Packit 95bb47
 */
Packit 95bb47
struct config_reader;
Packit 95bb47
Packit 95bb47
struct config_reader *config_reader_alloc(void);
Packit 95bb47
int config_reader_read(struct config_reader *cr, const char *fname);
Packit 95bb47
void config_reader_free(struct config_reader *cr);
Packit 95bb47
int config_reader_get_scenarios(struct config_reader *cr,
Packit 95bb47
				struct scenarios **scenarios);