File: bibl.h

package info (click to toggle)
bibutils 7.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,040 kB
  • sloc: ansic: 112,579; sh: 462; makefile: 42
file content (30 lines) | stat: -rw-r--r-- 484 bytes parent folder | download | duplicates (2)
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