File: apreq_error.h.3

package info (click to toggle)
rapache 1.2.10-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,368 kB
  • sloc: sh: 18,629; ansic: 10,417; perl: 5,675; javascript: 2,800; makefile: 307
file content (150 lines) | stat: -rw-r--r-- 4,050 bytes parent folder | download | duplicates (3)
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
.TH "include/apreq_error.h" 3 "4 May 2005" "Version 2.05-dev" "libapreq2" \" -*- nroff -*-
.ad l
.nh
.SH NAME
include/apreq_error.h \- Error status codes. 
.SH SYNOPSIS
.br
.PP
\fC#include 'apr_errno.h'\fP
.br
\fC#include 'apreq.h'\fP
.br

.SS "Defines"

.in +1c
.ti -1c
.RI "#define \fBAPR_EBADARG\fP   \fBAPR_BADARG\fP"
.br
.ti -1c
.RI "#define \fBAPREQ_ERROR_GENERAL\fP   \fBAPR_OS_START_USERERR\fP"
.br
.ti -1c
.RI "#define \fBAPREQ_ERROR_TAINTED\fP   (APREQ_ERROR_GENERAL + 1)"
.br
.ti -1c
.RI "#define \fBAPREQ_ERROR_INTERRUPT\fP   (APREQ_ERROR_GENERAL + 2)"
.br
.ti -1c
.RI "#define \fBAPREQ_ERROR_BADDATA\fP   (APREQ_ERROR_GENERAL  + 10)"
.br
.ti -1c
.RI "#define \fBAPREQ_ERROR_BADCHAR\fP   (APREQ_ERROR_BADDATA  +  1)"
.br
.ti -1c
.RI "#define \fBAPREQ_ERROR_BADSEQ\fP   (APREQ_ERROR_BADDATA  +  2)"
.br
.ti -1c
.RI "#define \fBAPREQ_ERROR_BADATTR\fP   (APREQ_ERROR_BADDATA  +  3)"
.br
.ti -1c
.RI "#define \fBAPREQ_ERROR_BADHEADER\fP   (APREQ_ERROR_BADDATA  +  4)"
.br
.ti -1c
.RI "#define \fBAPREQ_ERROR_BADUTF8\fP   (APREQ_ERROR_BADDATA  +  5)"
.br
.ti -1c
.RI "#define \fBAPREQ_ERROR_NODATA\fP   (APREQ_ERROR_GENERAL  + 20)"
.br
.ti -1c
.RI "#define \fBAPREQ_ERROR_NOTOKEN\fP   (APREQ_ERROR_NODATA   +  1)"
.br
.ti -1c
.RI "#define \fBAPREQ_ERROR_NOATTR\fP   (APREQ_ERROR_NODATA   +  2)"
.br
.ti -1c
.RI "#define \fBAPREQ_ERROR_NOHEADER\fP   (APREQ_ERROR_NODATA   +  3)"
.br
.ti -1c
.RI "#define \fBAPREQ_ERROR_NOPARSER\fP   (APREQ_ERROR_NODATA   +  4)"
.br
.ti -1c
.RI "#define \fBAPREQ_ERROR_MISMATCH\fP   (APREQ_ERROR_GENERAL  + 30)"
.br
.ti -1c
.RI "#define \fBAPREQ_ERROR_OVERLIMIT\fP   (APREQ_ERROR_MISMATCH +  1)"
.br
.ti -1c
.RI "#define \fBAPREQ_ERROR_UNDERLIMIT\fP   (APREQ_ERROR_MISMATCH +  2)"
.br
.ti -1c
.RI "#define \fBAPREQ_ERROR_NOTEMPTY\fP   (APREQ_ERROR_MISMATCH +  3)"
.br
.in -1c
.SS "Functions"

.in +1c
.ti -1c
.RI "char * \fBapreq_strerror\fP (\fBapr_status_t\fP s, char *buf, \fBapr_size_t\fP bufsize)"
.br
.in -1c
.SH "Detailed Description"
.PP 
Error status codes. 

Define the APREQ_ error codes. 
.SH "Define Documentation"
.PP 
.SS "#define APREQ_ERROR_BADATTR   (APREQ_ERROR_BADDATA  +  3)"
.PP
Invalid attribute. 
.SS "#define APREQ_ERROR_BADCHAR   (APREQ_ERROR_BADDATA  +  1)"
.PP
Invalid character. 
.SS "#define APREQ_ERROR_BADDATA   (APREQ_ERROR_GENERAL  + 10)"
.PP
Invalid input data. 
.SS "#define APREQ_ERROR_BADHEADER   (APREQ_ERROR_BADDATA  +  4)"
.PP
Invalid header. 
.SS "#define APREQ_ERROR_BADSEQ   (APREQ_ERROR_BADDATA  +  2)"
.PP
Invalid byte sequence. 
.SS "#define APREQ_ERROR_BADUTF8   (APREQ_ERROR_BADDATA  +  5)"
.PP
Invalid utf8 encoding. 
.SS "#define APREQ_ERROR_GENERAL   \fBAPR_OS_START_USERERR\fP"
.PP
Internal apreq error. 
.SS "#define APREQ_ERROR_INTERRUPT   (APREQ_ERROR_GENERAL + 2)"
.PP
Parsing interrupted. 
.SS "#define APREQ_ERROR_MISMATCH   (APREQ_ERROR_GENERAL  + 30)"
.PP
Conflicting information. 
.SS "#define APREQ_ERROR_NOATTR   (APREQ_ERROR_NODATA   +  2)"
.PP
Missing attribute. 
.SS "#define APREQ_ERROR_NODATA   (APREQ_ERROR_GENERAL  + 20)"
.PP
Missing input data. 
.SS "#define APREQ_ERROR_NOHEADER   (APREQ_ERROR_NODATA   +  3)"
.PP
Missing header. 
.SS "#define APREQ_ERROR_NOPARSER   (APREQ_ERROR_NODATA   +  4)"
.PP
Missing parser. 
.SS "#define APREQ_ERROR_NOTEMPTY   (APREQ_ERROR_MISMATCH +  3)"
.PP
Setting already configured. 
.SS "#define APREQ_ERROR_NOTOKEN   (APREQ_ERROR_NODATA   +  1)"
.PP
Missing required token. 
.SS "#define APREQ_ERROR_OVERLIMIT   (APREQ_ERROR_MISMATCH +  1)"
.PP
Exceeds configured maximum limit. 
.SS "#define APREQ_ERROR_TAINTED   (APREQ_ERROR_GENERAL + 1)"
.PP
Attempted to perform unsafe action with tainted data. 
.SS "#define APREQ_ERROR_UNDERLIMIT   (APREQ_ERROR_MISMATCH +  2)"
.PP
Below configured minimum limit. 
.SH "Function Documentation"
.PP 
.SS "char* apreq_strerror (\fBapr_status_t\fP s, char * buf, \fBapr_size_t\fP bufsize)"
.PP
apreq's wrapper around \fBapr_strerror()\fP; recognizes APREQ_ERROR_* status codes. 
.SH "Author"
.PP 
Generated automatically by Doxygen for libapreq2 from the source code.