summaryrefslogtreecommitdiff
path: root/support/texlab/crates/bibutils_sys/src/bibl.h
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/crates/bibutils_sys/src/bibl.h')
-rw-r--r--support/texlab/crates/bibutils_sys/src/bibl.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/support/texlab/crates/bibutils_sys/src/bibl.h b/support/texlab/crates/bibutils_sys/src/bibl.h
new file mode 100644
index 0000000000..5743129455
--- /dev/null
+++ b/support/texlab/crates/bibutils_sys/src/bibl.h
@@ -0,0 +1,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
+