/usr/include/yaz/diagsru_update.h is in libyaz4-dev 4.2.30-4.
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 | /** \file ./../include/yaz/diagsru_update.h
\brief Diagnostics: Generated by csvtodiag.tcl from ./sru_update.csv */
#include <yaz/yconfig.h>
#ifndef YAZ_DIAG_sru_update_H
#define YAZ_DIAG_sru_update_H
YAZ_BEGIN_CDECL
YAZ_EXPORT const char *yaz_diag_sru_update_str(int code);
#define YAZ_SRU_UPDATE_INVALID_COMPONENT_RECORD_REJECTED 1
#define YAZ_SRU_UPDATE_INVALID_COMPONENT_COMPONENT_REJECTED 2
#define YAZ_SRU_UPDATE_INVALID_COMPONENT_WARNING_ONLY 3
#define YAZ_SRU_UPDATE_INVALID_COMPONENT_DEFAULT_VALUE_APPLIED 4
#define YAZ_SRU_UPDATE_INVALID_COMPONENT_DATA_CORRECTED_BY_SERVER 5
#define YAZ_SRU_UPDATE_INVALID_REPETITION_OF_COMPONENT_RECORD_REJECTED 6
#define YAZ_SRU_UPDATE_INVALID_REPETITION_OF_COMPONENT_COMPONENT_REJECTED 7
#define YAZ_SRU_UPDATE_INVALID_REPETITION_OF_COMPONENT_WARNING_ONLY 8
#define YAZ_SRU_UPDATE_MISSING_MANDATORY_ELEMENT_RECORD_REJECTED 9
#define YAZ_SRU_UPDATE_MISSING_MANDATORY_ELEMENT_WARNING_ONLY 10
#define YAZ_SRU_UPDATE_MISSING_MANDATORY_ELEMENT_DEFAULT_VALUE_APPLIED 11
#define YAZ_SRU_UPDATE_INVALID_DATA_STRUCTURE_RECORD_REJECTED 12
#define YAZ_SRU_UPDATE_INVALID_DATA_STRUCTURE_COMPONENT_REJECTED 13
#define YAZ_SRU_UPDATE_INVALID_DATA_STRUCTURE_WARNING_ONLY 14
#define YAZ_SRU_UPDATE_INVALID_DATA_STRUCTURE_DEFAULT_VALUE_APPLIED 15
#define YAZ_SRU_UPDATE_INVALID_DATA_STRUCTURE_DATA_CORRECTED_BY_SERVER 16
#define YAZ_SRU_UPDATE_INCORRECT_ELEMENT_LENGTH_RECORD_REJECTED 17
#define YAZ_SRU_UPDATE_INCORRECT_ELEMENT_LENGTH_COMPONENT_REJECTED 18
#define YAZ_SRU_UPDATE_INCORRECT_ELEMENT_LENGTH_WARNING_ONLY 19
#define YAZ_SRU_UPDATE_INCORRECT_ELEMENT_LENGTH_DEFAULT_VALUE_APPLIED 20
#define YAZ_SRU_UPDATE_INCORRECT_ELEMENT_LENGTH_DATA_CORRECTED_BY_SERVER 21
#define YAZ_SRU_UPDATE_INVALID_RECORD_IDENTIFIER_RECORD_REJECTED 22
#define YAZ_SRU_UPDATE_INVALID_RECORD_IDENTIFIER_WARNING_ONLY 23
#define YAZ_SRU_UPDATE_INVALID_RECORD_IDENTIFIER_DEFAULT_APPLIED 24
#define YAZ_SRU_UPDATE_INVALID_RECORD_IDENTIFIER_DATA_CORRECTED_BY_SERVER 25
#define YAZ_SRU_UPDATE_INVALID_COMPONENT_IDENTIFIER_RECORD_REJECTED 26
#define YAZ_SRU_UPDATE_INVALID_COMPONENT_IDENTIFIER_COMPONENT_REJECTED 27
#define YAZ_SRU_UPDATE_INVALID_COMPONENT_IDENTIFIER_WARNING_ONLY 28
#define YAZ_SRU_UPDATE_INVALID_COMPONENT_IDENTIFIER_DATA_CORRECTED_BY_SERVER 29
#define YAZ_SRU_UPDATE_RECORD_SCHEMA_UNACCEPTABLE_RECORD_REJECTED 30
#define YAZ_SRU_UPDATE_RECORD_SCHEMA_UNACCEPTABLE_COMPONENT_REJECTED 31
#define YAZ_SRU_UPDATE_RECORD_SCHEMA_UNRECOGNISED_WARNING_ONLY 32
#define YAZ_SRU_UPDATE_RECORD_SCHEMA_UNACCEPTABLE_RECORD_CONVERTED 33
#define YAZ_SRU_UPDATE_RECORD_NOT_FOUND_REPLACEMENT_OR_DELETE_ 50
#define YAZ_SRU_UPDATE_COMPONENT_NOT_FOUND_REPLACEMENT_OR_DELETE_ 51
#define YAZ_SRU_UPDATE_RECORD_PROTECTED_OR_LOCKED_BY_ANOTHER_USER 52
#define YAZ_SRU_UPDATE_CANNOT_DELETE_OR_REPLACE_RECORD_OR_COMPONENT_ 53
#define YAZ_SRU_UPDATE_CANNOT_DELETE_OR_REPLACE_RECORD_OR_COMPONENT_WITHOUT_ 54
#define YAZ_SRU_UPDATE_CANNOT_PROCESS_UPDATE_INCORRECT_OR_INVALID_VERSION 55
#define YAZ_SRU_UPDATE_LINKED_RECORDS_EXIST_CANNOT_DELETE_RECORD 56
#define YAZ_SRU_UPDATE_RECORD_OR_COMPONENT_NOT_FOUND_REPLACEMENT_REQUEST_ 57
#define YAZ_SRU_UPDATE_SUSPECT_DUP_RECORD_OR_COMPONENT_INSERT_REJECTED 58
#define YAZ_SRU_UPDATE_SUSPECT_DUP_WARNING_ONLY 59
#define YAZ_SRU_UPDATE_INCOMING_RECORD_MATCHES_WITH_DATABASE_RECORD_RECORDS_ 60
#define YAZ_SRU_UPDATE_UNSPECIFIED_DATABASE_ERROR 61
#define YAZ_SRU_UPDATE_CANNOT_PROCESS_OR_STORE_RECORD_INSUFFICENT_SPACE 62
#define YAZ_SRU_UPDATE__RECORD_IS_IGNORED_WHILE_BOTH_RECORDIDENTIFIER_AND_ 63
#define YAZ_SRU_UPDATE__RECORDIDENTIFIER_IS_IGNORED_WHILE_BOTH_ 64
#define YAZ_SRU_UPDATE_NOT_PROCESSED_REPLACE_OR_DELETE_RECORD_IDENTIFIER_ 65
#define YAZ_SRU_UPDATE_INVALID_ACTION 100
YAZ_END_CDECL
#endif
|