bibutils-sys 0.1.1

Rust bindings for bibutils, a program for bibliography format interconversion.
Documentation
/*
 * end2xml.c
 *
 * Copyright (c) Chris Putnam 2003-2020
 *
 * Program and source code released under the GPL version 2
 *
 */
#include <stdio.h>
#include <stdlib.h>
#include "bibutils.h"
#include "bibformats.h"
#include "tomods.h"
#include "bibprog.h"

char help1[] = "Converts an Endnote reference file (refer format) "
		"into MODS XML\n\n";
char help2[] = "endnote_file";

const char progname[] = "end2xml";

int 
main( int argc, char *argv[] )
{
	param p;
	endin_initparams( &p, progname );
	modsout_initparams( &p, progname );
	tomods_processargs( &argc, argv, &p, help1, help2 );
	bibprog( argc, argv, &p );
	bibl_freeparams( &p );
	return EXIT_SUCCESS;
}