1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
/*
* bibl.h
*
* Copyright (c) Chris Putnam 2005-2021
*
* Source code released under the GPL version 2
*
*/
#ifndef BIBL_H
#define BIBL_H
#include <stdio.h>
#include "str.h"
#include "fields.h"
#include "reftypes.h"
typedef struct {
long n;
long max;
fields **ref;
} bibl;
void bibl_init( bibl *b );
int bibl_addref( bibl *b, fields *ref );
void bibl_free( bibl *b );
int bibl_copy( bibl *bout, bibl *bin );
long bibl_findref( bibl *bin, const char *citekey );
#endif
|