File: modstypes.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 (33 lines) | stat: -rw-r--r-- 634 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
31
32
33
/*
 * modstypes.h
 *
 * Copyright (c) Chris Putnam 2008-2021
 *
 * Source code released under the GPL version 2
 *
 */
#ifndef MODSTYPES_H
#define MODSTYPES_H

#include "fields.h"

typedef struct convert {
	char *mods;     /* old */
	char *internal; /* new */
} convert;

typedef struct convert2 {
	char *mods;     /* old */
	char *internal; /* new */
	int pos;
	int code;
} convert2;


char *mods_get_id_from_internal( char *internal_name, convert *data, int ndata );
char *mods_get_id_from_mods( char *mods_name, convert *data, int ndata );

int convert2_findallfields( fields *f, convert2 *parts, int nparts, int level );


#endif