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

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.3 ! misho      13:        printf("validate=%d\n", json_validate(argv[1], &started));
        !            14:        printf("started=%d\n", started);
1.1.2.1   misho      15:        return 0;
                     16: }

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