Annotation of libaitcfg/example/test_boot.c, revision 1.1.2.1

1.1.2.1 ! misho       1: #include <stdio.h>
        !             2: #include <aitcfg.h>
        !             3: 
        !             4: 
        !             5: int
        !             6: main(int argc, char **argv)
        !             7: {
        !             8:        cfg_root_t cfg;
        !             9: 
        !            10:        if (cfgLoadConfig(argv[1], &cfg)) {
        !            11:                printf("Error:: #%d - %s\n", cfg_GetErrno(), cfg_GetError());
        !            12:                return 1;
        !            13:        }
        !            14: 
        !            15:        cfgWriteConfig(stdout, &cfg, 0);
        !            16: 
        !            17:        cfgUnloadConfig(&cfg);
        !            18:        return 0;
        !            19: }

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>