aboutsummaryrefslogtreecommitdiffstats
path: root/moon-abe/cpabe-0.11/test-lang.c
blob: 8ae619dcd5df3cbf9ad3c988627459ff4ab8ebe7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <glib.h>
#include <pbc.h>

#include "common.h"
#include "policy_lang.h"

int
main( int argc, char** argv )
{
	char* p;

	if( argc < 2 )
		die("specify policy\n");

	p = parse_policy_lang(argv[1]);

	printf("parsed to: %s\n", p);

	return 0;
}