File:  [ELWIX - Embedded LightWeight unIX -] / libelwix / example / test_valid.c
Revision 1.1.2.3: download - view: text, annotated - select for diffs - revision graph
Mon Aug 25 10:20:19 2025 UTC (9 days, 23 hours ago) by misho
Branches: elwix6_8
update ut

#include <stdio.h>
#include <elwix.h>


int
main(int argc, char **argv)
{
	int started = 0;

	if (argc < 2)
		return 1;

	printf("validate=%d\n", json_validate(argv[1], &started));
	printf("started=%d\n", started);
	return 0;
}

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