#ifndef __HOTFLOORPLAN_H_1#define __HOTFLOORPLAN_H_23#include "util.h"45/* global configuration parameters for HotFloorplan */6typedef struct global_config_t_st7{8/* floorplan description input file */9char flp_desc[STR_SIZE];10/* power input file */11char power_in[STR_SIZE];12/* input material properties file */13char materials_file[STR_SIZE];14/* floorplan output file */15char flp_out[STR_SIZE];16/* input configuration parameters from file */17char config[STR_SIZE];18/* output configuration parameters to file */19char dump_config[STR_SIZE];20}global_config_t;2122/*23* parse a table of name-value string pairs and add the configuration24* parameters to 'config'25*/26void global_config_from_strs(global_config_t *config, str_pair *table, int size);27/*28* convert config into a table of name-value pairs. returns the no.29* of parameters converted30*/31int global_config_to_strs(global_config_t *config, str_pair *table, int max_entries);3233#endif343536