version 1.5, 2014/03/19 18:38:43
|
version 1.5.10.1, 2018/02/25 23:53:19
|
Line 50 int main()
|
Line 50 int main()
|
|
|
printf("GetAttribute multi-lines value=%s\n", cfg_getAttribute(&lst, "section1", "attrtest")); |
printf("GetAttribute multi-lines value=%s\n", cfg_getAttribute(&lst, "section1", "attrtest")); |
printf("GetAttribute multi-lines w/o \\ value=%s\n", cfg_getAttribute(&lst, "section1", "attrtest_1")); |
printf("GetAttribute multi-lines w/o \\ value=%s\n", cfg_getAttribute(&lst, "section1", "attrtest_1")); |
|
|
|
printf("GetAttribute from %%include file value=%s\n", cfg_getAttribute(&lst, "", "test4ext")); |
|
printf("GetAttribute from %%include file [proba] value=%s\n", cfg_getAttribute(&lst, "proba", "test4ext")); |
cfgUnloadConfig(&lst); |
cfgUnloadConfig(&lst); |
printf("1) ---------------------------------\n"); |
printf("1) ---------------------------------\n"); |
|
|