/*
 * risin.h
 *
 * Copyright (c) Chris Putnam 2003-2015
 *
 * Source code released under the GPL version 2
 *
 */
#ifndef RISIN_H
#define RISIN_H

#include "newstr.h"
#include "fields.h"
#include "reftypes.h"
#include "bibutils.h"

extern int risin_readf( FILE *fp, char *buf, int bufsize, int *bufpos, newstr *line, newstr *reference, int *fcharset );
extern int risin_processf( fields *risin, char *p, char *filename, long nref );
extern int risin_typef( fields *risin, char *filename, int nref, param *p, variants *all, int nall );
extern int risin_convertf( fields *risin, fields *info, int reftype, param *p, variants *all, int nall ); 

extern void risin_initparams( param *p, const char *progname );

extern variants ris_all[];
extern int ris_nall;

#endif

