Adding host atribute


I want to add one more variable to host definition. To do that, can i just change the cfg file where i describe the hosts? or ill have to change the structure of host in objects.h, before compiling? if i change the structure in objects.h, will the sample-config file be changed too?