This file is indexed.

/usr/include/openct/buffer.h is in libopenct1-dev 0.6.20-1.2.

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
/*
 * Buffer handling functions of the IFD handler library
 *
 * Copyright (C) 2003, Olaf Kirch <okir@suse.de>
 */

#ifndef OPENCT_BUFFER_H
#define OPENCT_BUFFER_H

#ifdef __cplusplus
extern "C" {
#endif

#include <sys/types.h>

typedef struct ct_buf {
	unsigned char *		base;
	unsigned int		head, tail, size;
	unsigned int		overrun;
} ct_buf_t;

extern void		ct_buf_init(ct_buf_t *, void *, size_t);
extern void		ct_buf_set(ct_buf_t *, void *, size_t);
extern void		ct_buf_clear(ct_buf_t *);
extern int		ct_buf_get(ct_buf_t *, void *, size_t);
extern int		ct_buf_gets(ct_buf_t *, char *, size_t);
extern int		ct_buf_put(ct_buf_t *, const void *, size_t);
extern int		ct_buf_putc(ct_buf_t *, int);
extern int		ct_buf_puts(ct_buf_t *, const char *);
extern int		ct_buf_push(ct_buf_t *, const void *, size_t);
extern unsigned int	ct_buf_avail(ct_buf_t *);
extern unsigned int	ct_buf_tailroom(ct_buf_t *);
extern unsigned int	ct_buf_size(ct_buf_t *);
extern void *		ct_buf_head(ct_buf_t *);
extern void *		ct_buf_tail(ct_buf_t *);
extern int		ct_buf_read(ct_buf_t *, int);
extern void		ct_buf_compact(ct_buf_t *);
extern int		ct_buf_overrun(ct_buf_t *);

#ifdef __cplusplus
}
#endif

#endif /* OPENCT_BUFFER_H */