This file is indexed.

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

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
45
46
47
48
49
50
51
/*
 * Error codes
 *
 * Copyright (C) 2003, Olaf Kirch <okir@suse.de>
 */

#ifndef OPENCT_ERROR_H
#define OPENCT_ERROR_H

#ifdef __cplusplus
extern "C" {
#endif

#define IFD_SUCCESS			0
#define IFD_ERROR_GENERIC		-1
#define IFD_ERROR_TIMEOUT		-2
#define IFD_ERROR_INVALID_SLOT		-3
#define IFD_ERROR_NOT_SUPPORTED		-4
#define IFD_ERROR_COMM_ERROR		-5
#define IFD_ERROR_NO_CARD		-6
#define IFD_ERROR_LOCKED		-7
#define IFD_ERROR_NOLOCK		-8
#define IFD_ERROR_INVALID_ARG		-9
#define IFD_ERROR_NO_MEMORY		-10
#define IFD_ERROR_BUFFER_TOO_SMALL	-11
#define IFD_ERROR_USER_TIMEOUT		-12
#define IFD_ERROR_USER_ABORT		-13
#define IFD_ERROR_PIN_MISMATCH		-14
#define IFD_ERROR_NO_ATR		-15
#define IFD_ERROR_INCOMPATIBLE_DEVICE	-16
#define IFD_ERROR_DEVICE_DISCONNECTED	-17
#define IFD_ERROR_INVALID_ATR		-18

/* for application/resource manager protocol */
#define IFD_ERROR_INVALID_MSG		-100
#define IFD_ERROR_INVALID_CMD		-101
#define IFD_ERROR_MISSING_ARG		-102
#define IFD_ERROR_NOT_CONNECTED		-103

/* Specific error codes for proxy protocol */
#define IFD_ERROR_ALREADY_CLAIMED	-200
#define IFD_ERROR_DEVICE_BUSY		-201
#define IFD_ERROR_UNKNOWN_DEVICE	-202

extern const char *	ct_strerror(int);

#ifdef __cplusplus
}
#endif

#endif /* OPENCT_ERROR_H */