YAZ  5.23.1
diagsru_update.h
Go to the documentation of this file.
1 
4 #include <yaz/yconfig.h>
5 
6 #ifndef YAZ_DIAG_sru_update_H
7 #define YAZ_DIAG_sru_update_H
9 YAZ_EXPORT const char *yaz_diag_sru_update_str(int code);
10 #define YAZ_SRU_UPDATE_INVALID_COMPONENT_RECORD_REJECTED 1
11 #define YAZ_SRU_UPDATE_INVALID_COMPONENT_COMPONENT_REJECTED 2
12 #define YAZ_SRU_UPDATE_INVALID_COMPONENT_WARNING_ONLY 3
13 #define YAZ_SRU_UPDATE_INVALID_COMPONENT_DEFAULT_VALUE_APPLIED 4
14 #define YAZ_SRU_UPDATE_INVALID_COMPONENT_DATA_CORRECTED_BY_SERVER 5
15 #define YAZ_SRU_UPDATE_INVALID_REPETITION_OF_COMPONENT_RECORD_REJECTED 6
16 #define YAZ_SRU_UPDATE_INVALID_REPETITION_OF_COMPONENT_COMPONENT_REJECTED 7
17 #define YAZ_SRU_UPDATE_INVALID_REPETITION_OF_COMPONENT_WARNING_ONLY 8
18 #define YAZ_SRU_UPDATE_MISSING_MANDATORY_ELEMENT_RECORD_REJECTED 9
19 #define YAZ_SRU_UPDATE_MISSING_MANDATORY_ELEMENT_WARNING_ONLY 10
20 #define YAZ_SRU_UPDATE_MISSING_MANDATORY_ELEMENT_DEFAULT_VALUE_APPLIED 11
21 #define YAZ_SRU_UPDATE_INVALID_DATA_STRUCTURE_RECORD_REJECTED 12
22 #define YAZ_SRU_UPDATE_INVALID_DATA_STRUCTURE_COMPONENT_REJECTED 13
23 #define YAZ_SRU_UPDATE_INVALID_DATA_STRUCTURE_WARNING_ONLY 14
24 #define YAZ_SRU_UPDATE_INVALID_DATA_STRUCTURE_DEFAULT_VALUE_APPLIED 15
25 #define YAZ_SRU_UPDATE_INVALID_DATA_STRUCTURE_DATA_CORRECTED_BY_SERVER 16
26 #define YAZ_SRU_UPDATE_INCORRECT_ELEMENT_LENGTH_RECORD_REJECTED 17
27 #define YAZ_SRU_UPDATE_INCORRECT_ELEMENT_LENGTH_COMPONENT_REJECTED 18
28 #define YAZ_SRU_UPDATE_INCORRECT_ELEMENT_LENGTH_WARNING_ONLY 19
29 #define YAZ_SRU_UPDATE_INCORRECT_ELEMENT_LENGTH_DEFAULT_VALUE_APPLIED 20
30 #define YAZ_SRU_UPDATE_INCORRECT_ELEMENT_LENGTH_DATA_CORRECTED_BY_SERVER 21
31 #define YAZ_SRU_UPDATE_INVALID_RECORD_IDENTIFIER_RECORD_REJECTED 22
32 #define YAZ_SRU_UPDATE_INVALID_RECORD_IDENTIFIER_WARNING_ONLY 23
33 #define YAZ_SRU_UPDATE_INVALID_RECORD_IDENTIFIER_DEFAULT_APPLIED 24
34 #define YAZ_SRU_UPDATE_INVALID_RECORD_IDENTIFIER_DATA_CORRECTED_BY_SERVER 25
35 #define YAZ_SRU_UPDATE_INVALID_COMPONENT_IDENTIFIER_RECORD_REJECTED 26
36 #define YAZ_SRU_UPDATE_INVALID_COMPONENT_IDENTIFIER_COMPONENT_REJECTED 27
37 #define YAZ_SRU_UPDATE_INVALID_COMPONENT_IDENTIFIER_WARNING_ONLY 28
38 #define YAZ_SRU_UPDATE_INVALID_COMPONENT_IDENTIFIER_DATA_CORRECTED_BY_SERVER 29
39 #define YAZ_SRU_UPDATE_RECORD_SCHEMA_UNACCEPTABLE_RECORD_REJECTED 30
40 #define YAZ_SRU_UPDATE_RECORD_SCHEMA_UNACCEPTABLE_COMPONENT_REJECTED 31
41 #define YAZ_SRU_UPDATE_RECORD_SCHEMA_UNRECOGNISED_WARNING_ONLY 32
42 #define YAZ_SRU_UPDATE_RECORD_SCHEMA_UNACCEPTABLE_RECORD_CONVERTED 33
43 #define YAZ_SRU_UPDATE_RECORD_NOT_FOUND_REPLACEMENT_OR_DELETE_ 50
44 #define YAZ_SRU_UPDATE_COMPONENT_NOT_FOUND_REPLACEMENT_OR_DELETE_ 51
45 #define YAZ_SRU_UPDATE_RECORD_PROTECTED_OR_LOCKED_BY_ANOTHER_USER 52
46 #define YAZ_SRU_UPDATE_CANNOT_DELETE_OR_REPLACE_RECORD_OR_COMPONENT_ 53
47 #define YAZ_SRU_UPDATE_CANNOT_DELETE_OR_REPLACE_RECORD_OR_COMPONENT_WITHOUT_ 54
48 #define YAZ_SRU_UPDATE_CANNOT_PROCESS_UPDATE_INCORRECT_OR_INVALID_VERSION 55
49 #define YAZ_SRU_UPDATE_LINKED_RECORDS_EXIST_CANNOT_DELETE_RECORD 56
50 #define YAZ_SRU_UPDATE_RECORD_OR_COMPONENT_NOT_FOUND_REPLACEMENT_REQUEST_ 57
51 #define YAZ_SRU_UPDATE_SUSPECT_DUP_RECORD_OR_COMPONENT_INSERT_REJECTED 58
52 #define YAZ_SRU_UPDATE_SUSPECT_DUP_WARNING_ONLY 59
53 #define YAZ_SRU_UPDATE_INCOMING_RECORD_MATCHES_WITH_DATABASE_RECORD_RECORDS_ 60
54 #define YAZ_SRU_UPDATE_UNSPECIFIED_DATABASE_ERROR 61
55 #define YAZ_SRU_UPDATE_CANNOT_PROCESS_OR_STORE_RECORD_INSUFFICENT_SPACE 62
56 #define YAZ_SRU_UPDATE__RECORD_IS_IGNORED_WHILE_BOTH_RECORDIDENTIFIER_AND_ 63
57 #define YAZ_SRU_UPDATE__RECORDIDENTIFIER_IS_IGNORED_WHILE_BOTH_ 64
58 #define YAZ_SRU_UPDATE_NOT_PROCESSED_REPLACE_OR_DELETE_RECORD_IDENTIFIER_ 65
59 #define YAZ_SRU_UPDATE_INVALID_ACTION 100
60 
62 #endif
63 
#define YAZ_END_CDECL
Definition: yconfig.h:57
Header with fundamental macros.
int code
Definition: diag-entry.h:34
const char * yaz_diag_sru_update_str(int code)
#define YAZ_BEGIN_CDECL
Definition: yconfig.h:56