This file is indexed.

/usr/include/yaz/zes-update0.h is in libyaz4-dev 4.2.30-4+b6.

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
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
/** \file zes-update0.h
    \brief ASN.1 Module ESFormat-Update0

    Generated automatically by YAZ ASN.1 Compiler 0.4
*/

#ifndef zes_update0_H
#define zes_update0_H

#include <yaz/odr.h>
#include <yaz/z-core.h>
#ifdef __cplusplus
extern "C" {
#endif

typedef struct Z_IU0UpdateEsRequest Z_IU0UpdateEsRequest;
YAZ_EXPORT int z_IU0UpdateEsRequest(ODR o, Z_IU0UpdateEsRequest **p, int opt, const char *name);

typedef struct Z_IU0UpdateTaskPackage Z_IU0UpdateTaskPackage;
YAZ_EXPORT int z_IU0UpdateTaskPackage(ODR o, Z_IU0UpdateTaskPackage **p, int opt, const char *name);

typedef struct Z_IU0Update Z_IU0Update;
YAZ_EXPORT int z_IU0Update(ODR o, Z_IU0Update **p, int opt, const char *name);

typedef struct Z_IU0OriginPartToKeep Z_IU0OriginPartToKeep;
YAZ_EXPORT int z_IU0OriginPartToKeep(ODR o, Z_IU0OriginPartToKeep **p, int opt, const char *name);

typedef struct Z_IU0TargetPart Z_IU0TargetPart;
YAZ_EXPORT int z_IU0TargetPart(ODR o, Z_IU0TargetPart **p, int opt, const char *name);

typedef struct Z_IU0SuppliedRecordsId Z_IU0SuppliedRecordsId;
YAZ_EXPORT int z_IU0SuppliedRecordsId(ODR o, Z_IU0SuppliedRecordsId **p, int opt, const char *name);

typedef struct Z_IU0SuppliedRecords_elem Z_IU0SuppliedRecords_elem;
YAZ_EXPORT int z_IU0SuppliedRecords_elem(ODR o, Z_IU0SuppliedRecords_elem **p, int opt, const char *name);

typedef struct Z_IU0SuppliedRecords Z_IU0SuppliedRecords;
YAZ_EXPORT int z_IU0SuppliedRecords(ODR o, Z_IU0SuppliedRecords **p, int opt, const char *name);

typedef Z_IU0SuppliedRecords  Z_IU0OriginPartNotToKeep;
YAZ_EXPORT int z_IU0OriginPartNotToKeep(ODR o, Z_IU0OriginPartNotToKeep **p, int opt, const char *name);

typedef struct Z_IU0CorrelationInfo Z_IU0CorrelationInfo;
YAZ_EXPORT int z_IU0CorrelationInfo(ODR o, Z_IU0CorrelationInfo **p, int opt, const char *name);

typedef struct Z_IU0TaskPackageRecordStructure Z_IU0TaskPackageRecordStructure;
YAZ_EXPORT int z_IU0TaskPackageRecordStructure(ODR o, Z_IU0TaskPackageRecordStructure **p, int opt, const char *name);
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
extern "C" {
#endif
struct Z_IU0UpdateEsRequest {
	Z_IU0OriginPartToKeep *toKeep;
	Z_IU0OriginPartNotToKeep *notToKeep;
};

struct Z_IU0UpdateTaskPackage {
	Z_IU0OriginPartToKeep *originPart;
	Z_IU0TargetPart *targetPart;
};

struct Z_IU0Update {
	int which;
	union {
		Z_IU0UpdateEsRequest *esRequest;
		Z_IU0UpdateTaskPackage *taskPackage;
#define Z_IU0Update_esRequest 1
#define Z_IU0Update_taskPackage 2
	} u;
};

struct Z_IU0OriginPartToKeep {
#define Z_IU0OriginPartToKeep_recordInsert 1
#define Z_IU0OriginPartToKeep_recordReplace 2
#define Z_IU0OriginPartToKeep_recordDelete 3
#define Z_IU0OriginPartToKeep_elementUpdate 4
	Odr_int *action;
	Z_InternationalString *databaseName;
	Odr_oid *schema; /* OPT */
	Z_InternationalString *elementSetName; /* OPT */
};



struct Z_IU0TargetPart {
#define Z_IU0TargetPart_success 1
#define Z_IU0TargetPart_partial 2
#define Z_IU0TargetPart_failure 3
	Odr_int *updateStatus;
	int num_globalDiagnostics;
	Z_DiagRec **globalDiagnostics; /* OPT */
	int num_taskPackageRecords;
	Z_IU0TaskPackageRecordStructure **taskPackageRecords; /* OPT */
};

struct Z_IU0SuppliedRecordsId {
	int which;
	union {
		char *timeStamp;
		Z_InternationalString *versionNumber;
		Z_External *previousVersion;
#define Z_IU0SuppliedRecordsId_timeStamp 1
#define Z_IU0SuppliedRecordsId_versionNumber 2
#define Z_IU0SuppliedRecordsId_previousVersion 3
	} u;
};

struct Z_IU0SuppliedRecords_elem {
	int which;
	union {
		Odr_int *number;
		Z_InternationalString *string;
		Odr_oct *opaque;
#define Z_IU0SuppliedRecords_elem_number 1
#define Z_IU0SuppliedRecords_elem_string 2
#define Z_IU0SuppliedRecords_elem_opaque 3
	} u; /* OPT */
	Z_IU0SuppliedRecordsId *supplementalId; /* OPT */
	Z_IU0CorrelationInfo *correlationInfo; /* OPT */
	Z_External *record;
};

struct Z_IU0SuppliedRecords {
	int num;
	Z_IU0SuppliedRecords_elem **elements;
};

struct Z_IU0CorrelationInfo {
	Z_InternationalString *note; /* OPT */
	Odr_int *id; /* OPT */
};

struct Z_IU0TaskPackageRecordStructure {
	int which;
	union {
		Z_External *record;
		Z_DiagRec *diagnostic;
#define Z_IU0TaskPackageRecordStructure_record 1
#define Z_IU0TaskPackageRecordStructure_diagnostic 2
	} u; /* OPT */
	Z_IU0CorrelationInfo *correlationInfo; /* OPT */
#define Z_IU0TaskPackageRecordStructure_success 1
#define Z_IU0TaskPackageRecordStructure_queued 2
#define Z_IU0TaskPackageRecordStructure_inProcess 3
#define Z_IU0TaskPackageRecordStructure_failure 4
	Odr_int *recordStatus;
};

#ifdef __cplusplus
}
#endif
#endif