summaryrefslogtreecommitdiff
path: root/support/texlab/crates/bibutils_sys/src/bibl.h
blob: 5743129455ebebaaf2265f54e3fd146033bb5500 (plain)
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
/*
 * bibl.h
 *
 * Copyright (c) Chris Putnam 2005-2019
 *
 * 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 nrefs;
	long maxrefs;
	fields **ref;
} bibl;

extern void bibl_init( bibl *b );
extern int  bibl_addref( bibl *b, fields *ref );
extern void bibl_free( bibl *b );
extern int  bibl_copy( bibl *bout, bibl *bin );

#endif