YAZ  5.23.1
Macros | Functions
diagsrw.h File Reference

Diagnostics: Generated by csvtodiag.tcl from ./srw.csv. More...

#include <yaz/yconfig.h>

Go to the source code of this file.

Macros

#define YAZ_SRW_PERMANENT_SYSTEM_ERROR   1
 
#define YAZ_SRW_SYSTEM_TEMPORARILY_UNAVAILABLE   2
 
#define YAZ_SRW_AUTHENTICATION_ERROR   3
 
#define YAZ_SRW_UNSUPP_OPERATION   4
 
#define YAZ_SRW_UNSUPP_VERSION   5
 
#define YAZ_SRW_UNSUPP_PARAMETER_VALUE   6
 
#define YAZ_SRW_MANDATORY_PARAMETER_NOT_SUPPLIED   7
 
#define YAZ_SRW_UNSUPP_PARAMETER   8
 
#define YAZ_SRW_QUERY_SYNTAX_ERROR   10
 
#define YAZ_SRW_UNSUPP_QUERY_TYPE   11
 
#define YAZ_SRW_TOO_MANY_CHARS_IN_QUERY   12
 
#define YAZ_SRW_INVALID_OR_UNSUPP_USE_OF_PARENTHESES   13
 
#define YAZ_SRW_INVALID_OR_UNSUPP_USE_OF_QUOTES   14
 
#define YAZ_SRW_UNSUPP_CONTEXT_SET   15
 
#define YAZ_SRW_UNSUPP_INDEX   16
 
#define YAZ_SRW_UNSUPP_COMBI_OF_INDEX_AND_CONTEXT_SET   17
 
#define YAZ_SRW_UNSUPP_COMBI_OF_INDEXES   18
 
#define YAZ_SRW_UNSUPP_RELATION   19
 
#define YAZ_SRW_UNSUPP_RELATION_MODIFIER   20
 
#define YAZ_SRW_UNSUPP_COMBI_OF_RELATION_MODIFERS   21
 
#define YAZ_SRW_UNSUPP_COMBI_OF_RELATION_AND_INDEX   22
 
#define YAZ_SRW_TOO_MANY_CHARS_IN_TERM   23
 
#define YAZ_SRW_UNSUPP_COMBI_OF_RELATION_AND_TERM   24
 
#define YAZ_SRW_SPECIAL_CHARS_NOT_QUOTED_IN_TERM   25
 
#define YAZ_SRW_NON_SPECIAL_CHAR_ESCAPED_IN_TERM   26
 
#define YAZ_SRW_EMPTY_TERM_UNSUPP   27
 
#define YAZ_SRW_MASKING_CHAR_UNSUPP   28
 
#define YAZ_SRW_MASKED_WORDS_TOO_SHORT   29
 
#define YAZ_SRW_TOO_MANY_MASKING_CHARS_IN_TERM   30
 
#define YAZ_SRW_ANCHORING_CHAR_UNSUPP   31
 
#define YAZ_SRW_ANCHORING_CHAR_IN_UNSUPP_POSITION   32
 
#define YAZ_SRW_COMBI_OF_PROX_ADJACENCY_AND_MASKING_CHARS_UNSUPP   33
 
#define YAZ_SRW_COMBI_OF_PROX_ADJACENCY_AND_ANCHORING_CHARS_UNSUPP   34
 
#define YAZ_SRW_TERM_CONTAINS_ONLY_STOPWORDS   35
 
#define YAZ_SRW_TERM_IN_INVALID_FORMAT_FOR_INDEX_OR_RELATION   36
 
#define YAZ_SRW_UNSUPP_BOOLEAN_OPERATOR   37
 
#define YAZ_SRW_TOO_MANY_BOOLEAN_OPERATORS_IN_QUERY   38
 
#define YAZ_SRW_PROX_UNSUPP   39
 
#define YAZ_SRW_UNSUPP_PROX_RELATION   40
 
#define YAZ_SRW_UNSUPP_PROX_DISTANCE   41
 
#define YAZ_SRW_UNSUPP_PROX_UNIT   42
 
#define YAZ_SRW_UNSUPP_PROX_ORDERING   43
 
#define YAZ_SRW_UNSUPP_COMBI_OF_PROX_MODIFIERS   44
 
#define YAZ_SRW_PREFIX_ASSIGNED_TO_MULTIPLE_IDENTIFIERS   45
 
#define YAZ_SRW_UNSUPP_BOOLEAN_MODIFIER   46
 
#define YAZ_SRW_CANNOT_PROCESS_QUERY_REASON_UNKNOWN   47
 
#define YAZ_SRW_QUERY_FEATURE_UNSUPP   48
 
#define YAZ_SRW_MASKING_CHAR_IN_UNSUPP_POSITION   49
 
#define YAZ_SRW_RESULT_SETS_UNSUPP   50
 
#define YAZ_SRW_RESULT_SET_DOES_NOT_EXIST   51
 
#define YAZ_SRW_RESULT_SET_TEMPORARILY_UNAVAILABLE   52
 
#define YAZ_SRW_RESULT_SETS_ONLY_SUPPORTED_FOR_RETRIEVAL   53
 
#define YAZ_SRW_RETRIEVAL_MAY_ONLY_OCCUR_FROM_AN_EXISTING_RESULT_SET   54
 
#define YAZ_SRW_COMBI_OF_RESULT_SETS_WITH_SEARCH_TERMS_UNSUPP   55
 
#define YAZ_SRW_ONLY_COMBI_OF_SINGLE_RESULT_SET_WITH_SEARCH_TERMS_   56
 
#define YAZ_SRW_RESULT_SET_CREATED_BUT_NO_RECORDS_AVAILABLE   57
 
#define YAZ_SRW_RESULT_SET_CREATED_WITH_UNPREDICTABLE_PARTIAL_RESULTS_   58
 
#define YAZ_SRW_RESULT_SET_CREATED_WITH_VALID_PARTIAL_RESULTS_AVAILABLE   59
 
#define YAZ_SRW_RESULT_SET_NOT_CREATED_TOO_MANY_MATCHING_RECORDS   60
 
#define YAZ_SRW_FIRST_RECORD_POSITION_OUT_OF_RANGE   61
 
#define YAZ_SRW_NEGATIVE_NUMBER_OF_RECORDS_REQUESTED   62
 
#define YAZ_SRW_SYSTEM_ERROR_IN_RETRIEVING_RECORDS   63
 
#define YAZ_SRW_RECORD_TEMPORARILY_UNAVAILABLE   64
 
#define YAZ_SRW_RECORD_DOES_NOT_EXIST   65
 
#define YAZ_SRW_UNKNOWN_SCHEMA_FOR_RETRIEVAL   66
 
#define YAZ_SRW_RECORD_NOT_AVAILABLE_IN_THIS_SCHEMA   67
 
#define YAZ_SRW_NOT_AUTHORISED_TO_SEND_RECORD   68
 
#define YAZ_SRW_NOT_AUTHORISED_TO_SEND_RECORD_IN_THIS_SCHEMA   69
 
#define YAZ_SRW_RECORD_TOO_LARGE_TO_SEND   70
 
#define YAZ_SRW_UNSUPP_RECORD_PACKING   71
 
#define YAZ_SRW_XPATH_RETRIEVAL_UNSUPP   72
 
#define YAZ_SRW_XPATH_EXPRESSION_CONTAINS_UNSUPP_FEATURE   73
 
#define YAZ_SRW_UNABLE_TO_EVALUATE_XPATH_EXPRESSION   74
 
#define YAZ_SRW_SORT_UNSUPP   80
 
#define YAZ_SRW_UNSUPP_SORT_TYPE   81
 
#define YAZ_SRW_UNSUPP_SORT_SEQUENCE   82
 
#define YAZ_SRW_TOO_MANY_RECORDS_TO_SORT   83
 
#define YAZ_SRW_TOO_MANY_SORT_KEYS_TO_SORT   84
 
#define YAZ_SRW_DUP_SORT_KEYS   85
 
#define YAZ_SRW_CANNOT_SORT_INCOMPATIBLE_RECORD_FORMATS   86
 
#define YAZ_SRW_UNSUPP_SCHEMA_FOR_SORT   87
 
#define YAZ_SRW_UNSUPP_PATH_FOR_SORT   88
 
#define YAZ_SRW_PATH_UNSUPP_FOR_SCHEMA   89
 
#define YAZ_SRW_UNSUPP_DIRECTION_VALUE   90
 
#define YAZ_SRW_UNSUPP_CASE_VALUE   91
 
#define YAZ_SRW_UNSUPP_MISSING_VALUE_ACTION   92
 
#define YAZ_SRW_SORT_ENDED_DUE_TO_MISSING_VALUE   93
 
#define YAZ_SRW_EXPLAIN_UNSUPP   100
 
#define YAZ_SRW_EXPLAIN_REQUEST_TYPE_UNSUPP_SOAP_VS_GET_   101
 
#define YAZ_SRW_EXPLAIN_RECORD_TEMPORARILY_UNAVAILABLE   102
 
#define YAZ_SRW_STYLESHEETS_UNSUPP   110
 
#define YAZ_SRW_UNSUPP_STYLESHEET   111
 
#define YAZ_SRW_RESPONSE_POSITION_OUT_OF_RANGE   120
 
#define YAZ_SRW_TOO_MANY_TERMS_REQUESTED   121
 
#define YAZ_SRW_DATABASE_DOES_NOT_EXIST   235
 
#define YAZ_SRW_ACCESS_TO_SPECIFIED_DATABASE_DENIED   236
 
#define YAZ_SRW_INIT_AC_MAXIMUM_NUMBER_OF_SIMULTANEOUS_SESSIONS_FOR_   1015
 
#define YAZ_SRW_PROXY_FAILURE   1074
 

Functions

const char * yaz_diag_srw_str (int code)
 

Detailed Description

Diagnostics: Generated by csvtodiag.tcl from ./srw.csv.

Definition in file diagsrw.h.

Macro Definition Documentation

#define YAZ_SRW_ACCESS_TO_SPECIFIED_DATABASE_DENIED   236

Definition at line 105 of file diagsrw.h.

#define YAZ_SRW_ANCHORING_CHAR_IN_UNSUPP_POSITION   32

Definition at line 40 of file diagsrw.h.

Referenced by emit_term().

#define YAZ_SRW_ANCHORING_CHAR_UNSUPP   31

Definition at line 39 of file diagsrw.h.

#define YAZ_SRW_AUTHENTICATION_ERROR   3

Definition at line 12 of file diagsrw.h.

Referenced by srw_bend_init().

#define YAZ_SRW_CANNOT_PROCESS_QUERY_REASON_UNKNOWN   47

Definition at line 55 of file diagsrw.h.

#define YAZ_SRW_CANNOT_SORT_INCOMPATIBLE_RECORD_FORMATS   86

Definition at line 89 of file diagsrw.h.

#define YAZ_SRW_COMBI_OF_PROX_ADJACENCY_AND_ANCHORING_CHARS_UNSUPP   34

Definition at line 42 of file diagsrw.h.

#define YAZ_SRW_COMBI_OF_PROX_ADJACENCY_AND_MASKING_CHARS_UNSUPP   33

Definition at line 41 of file diagsrw.h.

#define YAZ_SRW_COMBI_OF_RESULT_SETS_WITH_SEARCH_TERMS_UNSUPP   55

Definition at line 63 of file diagsrw.h.

#define YAZ_SRW_DATABASE_DOES_NOT_EXIST   235

Definition at line 104 of file diagsrw.h.

#define YAZ_SRW_DUP_SORT_KEYS   85

Definition at line 88 of file diagsrw.h.

#define YAZ_SRW_EMPTY_TERM_UNSUPP   27

Definition at line 35 of file diagsrw.h.

#define YAZ_SRW_EXPLAIN_RECORD_TEMPORARILY_UNAVAILABLE   102

Definition at line 99 of file diagsrw.h.

#define YAZ_SRW_EXPLAIN_REQUEST_TYPE_UNSUPP_SOAP_VS_GET_   101

Definition at line 98 of file diagsrw.h.

#define YAZ_SRW_EXPLAIN_UNSUPP   100

Definition at line 97 of file diagsrw.h.

#define YAZ_SRW_FIRST_RECORD_POSITION_OUT_OF_RANGE   61

Definition at line 69 of file diagsrw.h.

Referenced by srw_bend_search().

#define YAZ_SRW_INIT_AC_MAXIMUM_NUMBER_OF_SIMULTANEOUS_SESSIONS_FOR_   1015

Definition at line 106 of file diagsrw.h.

#define YAZ_SRW_INVALID_OR_UNSUPP_USE_OF_PARENTHESES   13

Definition at line 21 of file diagsrw.h.

#define YAZ_SRW_INVALID_OR_UNSUPP_USE_OF_QUOTES   14

Definition at line 22 of file diagsrw.h.

#define YAZ_SRW_MANDATORY_PARAMETER_NOT_SUPPLIED   7

Definition at line 16 of file diagsrw.h.

Referenced by yaz_sru_decode().

#define YAZ_SRW_MASKED_WORDS_TOO_SHORT   29

Definition at line 37 of file diagsrw.h.

#define YAZ_SRW_MASKING_CHAR_IN_UNSUPP_POSITION   49

Definition at line 57 of file diagsrw.h.

#define YAZ_SRW_MASKING_CHAR_UNSUPP   28

Definition at line 36 of file diagsrw.h.

Referenced by emit_term().

#define YAZ_SRW_NEGATIVE_NUMBER_OF_RECORDS_REQUESTED   62

Definition at line 70 of file diagsrw.h.

#define YAZ_SRW_NON_SPECIAL_CHAR_ESCAPED_IN_TERM   26

Definition at line 34 of file diagsrw.h.

#define YAZ_SRW_NOT_AUTHORISED_TO_SEND_RECORD   68

Definition at line 76 of file diagsrw.h.

#define YAZ_SRW_NOT_AUTHORISED_TO_SEND_RECORD_IN_THIS_SCHEMA   69

Definition at line 77 of file diagsrw.h.

#define YAZ_SRW_ONLY_COMBI_OF_SINGLE_RESULT_SET_WITH_SEARCH_TERMS_   56

Definition at line 64 of file diagsrw.h.

#define YAZ_SRW_PATH_UNSUPP_FOR_SCHEMA   89

Definition at line 92 of file diagsrw.h.

#define YAZ_SRW_PERMANENT_SYSTEM_ERROR   1

Definition at line 10 of file diagsrw.h.

#define YAZ_SRW_PREFIX_ASSIGNED_TO_MULTIPLE_IDENTIFIERS   45

Definition at line 53 of file diagsrw.h.

#define YAZ_SRW_PROX_UNSUPP   39

Definition at line 47 of file diagsrw.h.

#define YAZ_SRW_PROXY_FAILURE   1074

Definition at line 107 of file diagsrw.h.

#define YAZ_SRW_QUERY_FEATURE_UNSUPP   48

Definition at line 56 of file diagsrw.h.

#define YAZ_SRW_QUERY_SYNTAX_ERROR   10

Definition at line 18 of file diagsrw.h.

Referenced by ccl2pqf(), cql2pqf(), cql2pqf_scan(), and srw_bend_search().

#define YAZ_SRW_RECORD_DOES_NOT_EXIST   65

Definition at line 73 of file diagsrw.h.

#define YAZ_SRW_RECORD_NOT_AVAILABLE_IN_THIS_SCHEMA   67

Definition at line 75 of file diagsrw.h.

#define YAZ_SRW_RECORD_TEMPORARILY_UNAVAILABLE   64

Definition at line 72 of file diagsrw.h.

#define YAZ_SRW_RECORD_TOO_LARGE_TO_SEND   70

Definition at line 78 of file diagsrw.h.

#define YAZ_SRW_RESPONSE_POSITION_OUT_OF_RANGE   120

Definition at line 102 of file diagsrw.h.

#define YAZ_SRW_RESULT_SET_CREATED_BUT_NO_RECORDS_AVAILABLE   57

Definition at line 65 of file diagsrw.h.

#define YAZ_SRW_RESULT_SET_CREATED_WITH_UNPREDICTABLE_PARTIAL_RESULTS_   58

Definition at line 66 of file diagsrw.h.

#define YAZ_SRW_RESULT_SET_CREATED_WITH_VALID_PARTIAL_RESULTS_AVAILABLE   59

Definition at line 67 of file diagsrw.h.

Referenced by srw_bend_search().

#define YAZ_SRW_RESULT_SET_DOES_NOT_EXIST   51

Definition at line 59 of file diagsrw.h.

#define YAZ_SRW_RESULT_SET_NOT_CREATED_TOO_MANY_MATCHING_RECORDS   60

Definition at line 68 of file diagsrw.h.

#define YAZ_SRW_RESULT_SET_TEMPORARILY_UNAVAILABLE   52

Definition at line 60 of file diagsrw.h.

#define YAZ_SRW_RESULT_SETS_ONLY_SUPPORTED_FOR_RETRIEVAL   53

Definition at line 61 of file diagsrw.h.

#define YAZ_SRW_RESULT_SETS_UNSUPP   50

Definition at line 58 of file diagsrw.h.

#define YAZ_SRW_RETRIEVAL_MAY_ONLY_OCCUR_FROM_AN_EXISTING_RESULT_SET   54

Definition at line 62 of file diagsrw.h.

#define YAZ_SRW_SORT_ENDED_DUE_TO_MISSING_VALUE   93

Definition at line 96 of file diagsrw.h.

#define YAZ_SRW_SORT_UNSUPP   80

Definition at line 83 of file diagsrw.h.

#define YAZ_SRW_SPECIAL_CHARS_NOT_QUOTED_IN_TERM   25

Definition at line 33 of file diagsrw.h.

#define YAZ_SRW_STYLESHEETS_UNSUPP   110

Definition at line 100 of file diagsrw.h.

#define YAZ_SRW_SYSTEM_ERROR_IN_RETRIEVING_RECORDS   63

Definition at line 71 of file diagsrw.h.

#define YAZ_SRW_SYSTEM_TEMPORARILY_UNAVAILABLE   2

Definition at line 11 of file diagsrw.h.

#define YAZ_SRW_TERM_CONTAINS_ONLY_STOPWORDS   35

Definition at line 43 of file diagsrw.h.

#define YAZ_SRW_TERM_IN_INVALID_FORMAT_FOR_INDEX_OR_RELATION   36

Definition at line 44 of file diagsrw.h.

#define YAZ_SRW_TOO_MANY_BOOLEAN_OPERATORS_IN_QUERY   38

Definition at line 46 of file diagsrw.h.

#define YAZ_SRW_TOO_MANY_CHARS_IN_QUERY   12

Definition at line 20 of file diagsrw.h.

Referenced by cql_transform_buf().

#define YAZ_SRW_TOO_MANY_CHARS_IN_TERM   23

Definition at line 31 of file diagsrw.h.

#define YAZ_SRW_TOO_MANY_MASKING_CHARS_IN_TERM   30

Definition at line 38 of file diagsrw.h.

#define YAZ_SRW_TOO_MANY_RECORDS_TO_SORT   83

Definition at line 86 of file diagsrw.h.

#define YAZ_SRW_TOO_MANY_SORT_KEYS_TO_SORT   84

Definition at line 87 of file diagsrw.h.

#define YAZ_SRW_TOO_MANY_TERMS_REQUESTED   121

Definition at line 103 of file diagsrw.h.

#define YAZ_SRW_UNABLE_TO_EVALUATE_XPATH_EXPRESSION   74

Definition at line 82 of file diagsrw.h.

#define YAZ_SRW_UNKNOWN_SCHEMA_FOR_RETRIEVAL   66

Definition at line 74 of file diagsrw.h.

#define YAZ_SRW_UNSUPP_BOOLEAN_MODIFIER   46

Definition at line 54 of file diagsrw.h.

Referenced by cql_pr_prox(), and emit_node().

#define YAZ_SRW_UNSUPP_BOOLEAN_OPERATOR   37

Definition at line 45 of file diagsrw.h.

#define YAZ_SRW_UNSUPP_CASE_VALUE   91

Definition at line 94 of file diagsrw.h.

#define YAZ_SRW_UNSUPP_COMBI_OF_INDEX_AND_CONTEXT_SET   17

Definition at line 25 of file diagsrw.h.

#define YAZ_SRW_UNSUPP_COMBI_OF_INDEXES   18

Definition at line 26 of file diagsrw.h.

#define YAZ_SRW_UNSUPP_COMBI_OF_PROX_MODIFIERS   44

Definition at line 52 of file diagsrw.h.

#define YAZ_SRW_UNSUPP_COMBI_OF_RELATION_AND_INDEX   22

Definition at line 30 of file diagsrw.h.

#define YAZ_SRW_UNSUPP_COMBI_OF_RELATION_AND_TERM   24

Definition at line 32 of file diagsrw.h.

Referenced by emit_node().

#define YAZ_SRW_UNSUPP_COMBI_OF_RELATION_MODIFERS   21

Definition at line 29 of file diagsrw.h.

#define YAZ_SRW_UNSUPP_CONTEXT_SET   15

Definition at line 23 of file diagsrw.h.

Referenced by emit_node().

#define YAZ_SRW_UNSUPP_DIRECTION_VALUE   90

Definition at line 93 of file diagsrw.h.

#define YAZ_SRW_UNSUPP_INDEX   16

Definition at line 24 of file diagsrw.h.

Referenced by emit_node(), and emit_term().

#define YAZ_SRW_UNSUPP_MISSING_VALUE_ACTION   92

Definition at line 95 of file diagsrw.h.

#define YAZ_SRW_UNSUPP_OPERATION   4

Definition at line 13 of file diagsrw.h.

Referenced by srw_bend_scan(), and yaz_sru_decode().

#define YAZ_SRW_UNSUPP_PARAMETER   8

Definition at line 17 of file diagsrw.h.

Referenced by yaz_sru_decode().

#define YAZ_SRW_UNSUPP_PARAMETER_VALUE   6

Definition at line 15 of file diagsrw.h.

Referenced by yaz_sru_decode_integer().

#define YAZ_SRW_UNSUPP_PATH_FOR_SORT   88

Definition at line 91 of file diagsrw.h.

#define YAZ_SRW_UNSUPP_PROX_DISTANCE   41

Definition at line 49 of file diagsrw.h.

#define YAZ_SRW_UNSUPP_PROX_ORDERING   43

Definition at line 51 of file diagsrw.h.

#define YAZ_SRW_UNSUPP_PROX_RELATION   40

Definition at line 48 of file diagsrw.h.

Referenced by cql_pr_prox().

#define YAZ_SRW_UNSUPP_PROX_UNIT   42

Definition at line 50 of file diagsrw.h.

Referenced by cql_pr_prox().

#define YAZ_SRW_UNSUPP_QUERY_TYPE   11

Definition at line 19 of file diagsrw.h.

Referenced by srw_bend_search().

#define YAZ_SRW_UNSUPP_RECORD_PACKING   71

Definition at line 79 of file diagsrw.h.

#define YAZ_SRW_UNSUPP_RELATION   19

Definition at line 27 of file diagsrw.h.

Referenced by emit_node().

#define YAZ_SRW_UNSUPP_RELATION_MODIFIER   20

Definition at line 28 of file diagsrw.h.

Referenced by emit_term().

#define YAZ_SRW_UNSUPP_SCHEMA_FOR_SORT   87

Definition at line 90 of file diagsrw.h.

#define YAZ_SRW_UNSUPP_SORT_SEQUENCE   82

Definition at line 85 of file diagsrw.h.

#define YAZ_SRW_UNSUPP_SORT_TYPE   81

Definition at line 84 of file diagsrw.h.

Referenced by cql2pqf().

#define YAZ_SRW_UNSUPP_STYLESHEET   111

Definition at line 101 of file diagsrw.h.

#define YAZ_SRW_UNSUPP_VERSION   5

Definition at line 14 of file diagsrw.h.

Referenced by yaz_sru_decode().

#define YAZ_SRW_XPATH_EXPRESSION_CONTAINS_UNSUPP_FEATURE   73

Definition at line 81 of file diagsrw.h.

#define YAZ_SRW_XPATH_RETRIEVAL_UNSUPP   72

Definition at line 80 of file diagsrw.h.

Function Documentation

const char* yaz_diag_srw_str ( int  code)

Definition at line 110 of file diagsrw.c.

References yaz_diag_to_str().

Referenced by yaz_mk_sru_surrogate(), yaz_srw_diagnostics(), and ZOOM_connection_error_x().