mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			304 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			304 B
		
	
	
	
		
			C
		
	
	
	
	
	
#include <stdio.h>
 | 
						|
#include <stdlib.h>
 | 
						|
#include <unistd.h>
 | 
						|
 | 
						|
#include "rcxml.h"
 | 
						|
 | 
						|
struct rcxml rc = { 0 };
 | 
						|
 | 
						|
int main(int argc, char **argv)
 | 
						|
{
 | 
						|
	if (argc != 2) {
 | 
						|
		fprintf(stderr, "usage: %s <rc.xml file>\n", argv[0]);
 | 
						|
		exit(EXIT_FAILURE);
 | 
						|
	}
 | 
						|
	rcxml_init(&rc);
 | 
						|
	rcxml_set_verbose();
 | 
						|
	rcxml_read(argv[1]);
 | 
						|
}
 |