/usr/include/bibutils/fields.h is in libbibutils-dev 4.12-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 34 35 36 37 38 39 40 41 42 43 44 | /*
* fields.h
*
* Copyright (c) Chris Putnam 2003-2009
*
* Source code released under the GPL
*
*/
#ifndef FIELDS_H
#define FIELDS_H
#define LEVEL_MAIN (0)
#define LEVEL_HOST (1)
#define LEVEL_SERIES (2)
#define LEVEL_ORIG (-2)
#include "newstr.h"
typedef struct {
newstr *tag;
newstr *data;
int *used;
int *level;
int nfields;
int maxfields;
} fields;
extern int fields_add( fields *info, char *tag, char *data, int level );
extern int fields_add_tagsuffix( fields *info, char *tag, char *suffix,
char *data, int level );
extern void fields_free( fields *info );
extern void fields_init( fields *info );
extern fields *fields_new( void );
extern int fields_find( fields *info, char *searchtag, int level );
extern int fields_find_firstof( fields *info, char *tags[], int ntags,
int level );
extern int fields_maxlevel( fields *info );
extern void fields_clearused( fields *info );
extern void fields_setused( fields *info, int n );
extern void fields_replace_or_add( fields *info, char *tag, char *data, int level );
#endif
|