Annotation of libelwix/example/test_valid.c, revision 1.1.2.2

1.1.2.1   misho       1: #include <stdio.h>
                      2: #include <elwix.h>
                      3: 
                      4: 
                      5: int
                      6: main(int argc, char **argv)
                      7: {
1.1.2.2 ! misho       8:        int started = 0;
        !             9: 
1.1.2.1   misho      10:        if (argc < 2)
                     11:                return 1;
                     12: 
1.1.2.2 ! misho      13:        printf("started=%d validate=%d\n", started, json_validate(argv[1], &started));
1.1.2.1   misho      14:        return 0;
                     15: }

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