version 1.2, 2012/04/04 13:11:48
|
version 1.3, 2012/07/25 15:24:20
|
Line 26 main(int argc, char **argv)
|
Line 26 main(int argc, char **argv)
|
|
|
printf("\n............ with whitespaces \n\n"); |
printf("\n............ with whitespaces \n\n"); |
cfgWriteConfig(stdout, &cfg, 1); |
cfgWriteConfig(stdout, &cfg, 1); |
|
cfgClearConfig(&cfg); |
|
|
|
printf("\n============ reuse with whitespaces \n\n"); |
|
cfg_setAttribute(&cfg, NULL, "ALIAS0", "1.1.1.1"); |
|
cfg_setAttribute(&cfg, NULL, "ALIAS1", "2.2.2.2"); |
|
cfgWriteConfig(stdout, &cfg, 1); |
cfgUnloadConfig(&cfg); |
cfgUnloadConfig(&cfg); |
return 0; |
return 0; |
} |
} |