SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
qrtplib
rtperrors.h
Go to the documentation of this file.
1
/*
2
3
This file is a part of JRTPLIB
4
Copyright (c) 1999-2017 Jori Liesenborgs
5
6
Contact: jori.liesenborgs@gmail.com
7
8
This library was developed at the Expertise Centre for Digital Media
9
(http://www.edm.uhasselt.be), a research center of the Hasselt University
10
(http://www.uhasselt.be). The library is based upon work done for
11
my thesis at the School for Knowledge Technology (Belgium/The Netherlands).
12
13
Permission is hereby granted, free of charge, to any person obtaining a
14
copy of this software and associated documentation files (the "Software"),
15
to deal in the Software without restriction, including without limitation
16
the rights to use, copy, modify, merge, publish, distribute, sublicense,
17
and/or sell copies of the Software, and to permit persons to whom the
18
Software is furnished to do so, subject to the following conditions:
19
20
The above copyright notice and this permission notice shall be included
21
in all copies or substantial portions of the Software.
22
23
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
24
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
26
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
28
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
29
IN THE SOFTWARE.
30
31
*/
32
37
#ifndef RTPERRORS_H
38
39
#define RTPERRORS_H
40
41
#include "
export.h
"
42
#include "
rtpconfig.h
"
43
#include <string>
44
45
namespace
qrtplib
46
{
47
49
QRTPLIB_API
std::string
RTPGetErrorString
(
int
errcode);
50
51
}
// end namespace
52
53
#define ERR_RTP_OUTOFMEM -1
54
#define ERR_RTP_NOTHREADSUPPORT -2
55
#define ERR_RTP_COLLISIONLIST_BADADDRESS -3
56
#define ERR_RTP_HASHTABLE_ELEMENTALREADYEXISTS -4
57
#define ERR_RTP_HASHTABLE_ELEMENTNOTFOUND -5
58
#define ERR_RTP_HASHTABLE_FUNCTIONRETURNEDINVALIDHASHINDEX -6
59
#define ERR_RTP_HASHTABLE_NOCURRENTELEMENT -7
60
#define ERR_RTP_KEYHASHTABLE_FUNCTIONRETURNEDINVALIDHASHINDEX -8
61
#define ERR_RTP_KEYHASHTABLE_KEYALREADYEXISTS -9
62
#define ERR_RTP_KEYHASHTABLE_KEYNOTFOUND -10
63
#define ERR_RTP_KEYHASHTABLE_NOCURRENTELEMENT -11
64
#define ERR_RTP_PACKBUILD_ALREADYINIT -12
65
#define ERR_RTP_PACKBUILD_CSRCALREADYINLIST -13
66
#define ERR_RTP_PACKBUILD_CSRCLISTFULL -14
67
#define ERR_RTP_PACKBUILD_CSRCNOTINLIST -15
68
#define ERR_RTP_PACKBUILD_DEFAULTMARKNOTSET -16
69
#define ERR_RTP_PACKBUILD_DEFAULTPAYLOADTYPENOTSET -17
70
#define ERR_RTP_PACKBUILD_DEFAULTTSINCNOTSET -18
71
#define ERR_RTP_PACKBUILD_INVALIDMAXPACKETSIZE -19
72
#define ERR_RTP_PACKBUILD_NOTINIT -20
73
#define ERR_RTP_PACKET_BADPAYLOADTYPE -21
74
#define ERR_RTP_PACKET_DATAEXCEEDSMAXSIZE -22
75
#define ERR_RTP_PACKET_EXTERNALBUFFERNULL -23
76
#define ERR_RTP_PACKET_ILLEGALBUFFERSIZE -24
77
#define ERR_RTP_PACKET_INVALIDPACKET -25
78
#define ERR_RTP_PACKET_TOOMANYCSRCS -26
79
#define ERR_RTP_POLLTHREAD_ALREADYRUNNING -27
80
#define ERR_RTP_POLLTHREAD_CANTINITMUTEX -28
81
#define ERR_RTP_POLLTHREAD_CANTSTARTTHREAD -29
82
#define ERR_RTP_RTCPCOMPOUND_INVALIDPACKET -30
83
#define ERR_RTP_RTCPCOMPPACKBUILDER_ALREADYBUILDING -31
84
#define ERR_RTP_RTCPCOMPPACKBUILDER_ALREADYBUILT -32
85
#define ERR_RTP_RTCPCOMPPACKBUILDER_ALREADYGOTREPORT -33
86
#define ERR_RTP_RTCPCOMPPACKBUILDER_APPDATALENTOOBIG -34
87
#define ERR_RTP_RTCPCOMPPACKBUILDER_BUFFERSIZETOOSMALL -35
88
#define ERR_RTP_RTCPCOMPPACKBUILDER_ILLEGALAPPDATALENGTH -36
89
#define ERR_RTP_RTCPCOMPPACKBUILDER_ILLEGALSUBTYPE -37
90
#define ERR_RTP_RTCPCOMPPACKBUILDER_INVALIDITEMTYPE -38
91
#define ERR_RTP_RTCPCOMPPACKBUILDER_MAXPACKETSIZETOOSMALL -39
92
#define ERR_RTP_RTCPCOMPPACKBUILDER_NOCURRENTSOURCE -40
93
#define ERR_RTP_RTCPCOMPPACKBUILDER_NOREPORTPRESENT -41
94
#define ERR_RTP_RTCPCOMPPACKBUILDER_NOTBUILDING -42
95
#define ERR_RTP_RTCPCOMPPACKBUILDER_NOTENOUGHBYTESLEFT -43
96
#define ERR_RTP_RTCPCOMPPACKBUILDER_REPORTNOTSTARTED -44
97
#define ERR_RTP_RTCPCOMPPACKBUILDER_TOOMANYSSRCS -45
98
#define ERR_RTP_RTCPCOMPPACKBUILDER_TOTALITEMLENGTHTOOBIG -46
99
#define ERR_RTP_RTCPPACKETBUILDER_ALREADYINIT -47
100
#define ERR_RTP_RTCPPACKETBUILDER_ILLEGALMAXPACKSIZE -48
101
#define ERR_RTP_RTCPPACKETBUILDER_ILLEGALTIMESTAMPUNIT -49
102
#define ERR_RTP_RTCPPACKETBUILDER_NOTINIT -50
103
#define ERR_RTP_RTCPPACKETBUILDER_PACKETFILLEDTOOSOON -51
104
#define ERR_RTP_SCHEDPARAMS_BADFRACTION -52
105
#define ERR_RTP_SCHEDPARAMS_BADMINIMUMINTERVAL -53
106
#define ERR_RTP_SCHEDPARAMS_INVALIDBANDWIDTH -54
107
#define ERR_RTP_SDES_LENGTHTOOBIG -55
108
#define ERR_RTP_SDES_MAXPRIVITEMS -56
109
#define ERR_RTP_SDES_PREFIXNOTFOUND -57
110
#define ERR_RTP_SESSION_ALREADYCREATED -58
111
#define ERR_RTP_SESSION_CANTGETLOGINNAME -59
112
#define ERR_RTP_SESSION_CANTINITMUTEX -60
113
#define ERR_RTP_SESSION_MAXPACKETSIZETOOSMALL -61
114
#define ERR_RTP_SESSION_NOTCREATED -62
115
#define ERR_RTP_SESSION_UNSUPPORTEDTRANSMISSIONPROTOCOL -63
116
#define ERR_RTP_SESSION_USINGPOLLTHREAD -64
117
#define ERR_RTP_SOURCES_ALREADYHAVEOWNSSRC -65
118
#define ERR_RTP_SOURCES_DONTHAVEOWNSSRC -66
119
#define ERR_RTP_SOURCES_ILLEGALSDESTYPE -67
120
#define ERR_RTP_SOURCES_SSRCEXISTS -68
121
#define ERR_RTP_TRANS_BUFFERLENGTHTOOSMALL -69
122
#define ERR_RTP_UDPV4TRANS_ALREADYCREATED -70
123
#define ERR_RTP_UDPV4TRANS_ALREADYINIT -71
124
#define ERR_RTP_UDPV4TRANS_ALREADYWAITING -72
125
#define ERR_RTP_UDPV4TRANS_CANTBINDRTCPSOCKET -73
126
#define ERR_RTP_UDPV4TRANS_CANTBINDRTPSOCKET -74
127
#define ERR_RTP_UDPV4TRANS_CANTCREATESOCKET -75
128
#define ERR_RTP_UDPV4TRANS_CANTINITMUTEX -76
129
#define ERR_RTP_UDPV4TRANS_CANTSETRTCPRECEIVEBUF -77
130
#define ERR_RTP_UDPV4TRANS_CANTSETRTCPTRANSMITBUF -78
131
#define ERR_RTP_UDPV4TRANS_CANTSETRTPRECEIVEBUF -79
132
#define ERR_RTP_UDPV4TRANS_CANTSETRTPTRANSMITBUF -80
133
#define ERR_RTP_UDPV4TRANS_COULDNTJOINMULTICASTGROUP -81
134
#define ERR_RTP_UDPV4TRANS_DIFFERENTRECEIVEMODE -82
135
#define ERR_RTP_UDPV4TRANS_ILLEGALPARAMETERS -83
136
#define ERR_RTP_UDPV4TRANS_INVALIDADDRESSTYPE -84
137
#define ERR_RTP_UDPV4TRANS_NOLOCALIPS -85
138
#define ERR_RTP_UDPV4TRANS_NOMULTICASTSUPPORT -86
139
#define ERR_RTP_UDPV4TRANS_NOSUCHENTRY -87
140
#define ERR_RTP_UDPV4TRANS_NOTAMULTICASTADDRESS -88
141
#define ERR_RTP_UDPV4TRANS_NOTCREATED -89
142
#define ERR_RTP_UDPV4TRANS_NOTINIT -90
143
#define ERR_RTP_UDPV4TRANS_NOTWAITING -91
144
#define ERR_RTP_UDPV4TRANS_PORTBASENOTEVEN -92
145
#define ERR_RTP_UDPV4TRANS_SPECIFIEDSIZETOOBIG -93
146
#define ERR_RTP_UDPV6TRANS_ALREADYCREATED -94
147
#define ERR_RTP_UDPV6TRANS_ALREADYINIT -95
148
#define ERR_RTP_UDPV6TRANS_ALREADYWAITING -96
149
#define ERR_RTP_UDPV6TRANS_CANTBINDRTCPSOCKET -97
150
#define ERR_RTP_UDPV6TRANS_CANTBINDRTPSOCKET -98
151
#define ERR_RTP_UDPV6TRANS_CANTCREATESOCKET -99
152
#define ERR_RTP_UDPV6TRANS_CANTINITMUTEX -100
153
#define ERR_RTP_UDPV6TRANS_CANTSETRTCPRECEIVEBUF -101
154
#define ERR_RTP_UDPV6TRANS_CANTSETRTCPTRANSMITBUF -102
155
#define ERR_RTP_UDPV6TRANS_CANTSETRTPRECEIVEBUF -103
156
#define ERR_RTP_UDPV6TRANS_CANTSETRTPTRANSMITBUF -104
157
#define ERR_RTP_UDPV6TRANS_COULDNTJOINMULTICASTGROUP -105
158
#define ERR_RTP_UDPV6TRANS_DIFFERENTRECEIVEMODE -106
159
#define ERR_RTP_UDPV6TRANS_ILLEGALPARAMETERS -107
160
#define ERR_RTP_UDPV6TRANS_INVALIDADDRESSTYPE -108
161
#define ERR_RTP_UDPV6TRANS_NOLOCALIPS -109
162
#define ERR_RTP_UDPV6TRANS_NOMULTICASTSUPPORT -110
163
#define ERR_RTP_UDPV6TRANS_NOSUCHENTRY -111
164
#define ERR_RTP_UDPV6TRANS_NOTAMULTICASTADDRESS -112
165
#define ERR_RTP_UDPV6TRANS_NOTCREATED -113
166
#define ERR_RTP_UDPV6TRANS_NOTINIT -114
167
#define ERR_RTP_UDPV6TRANS_NOTWAITING -115
168
#define ERR_RTP_UDPV6TRANS_PORTBASENOTEVEN -116
169
#define ERR_RTP_UDPV6TRANS_SPECIFIEDSIZETOOBIG -117
170
#define ERR_RTP_INTERNALSOURCEDATA_INVALIDPROBATIONTYPE -118
171
#define ERR_RTP_SESSION_USERDEFINEDTRANSMITTERNULL -119
172
#define ERR_RTP_FAKETRANS_ALREADYCREATED -120
173
#define ERR_RTP_FAKETRANS_ALREADYINIT -121
174
#define ERR_RTP_FAKETRANS_CANTINITMUTEX -122
175
#define ERR_RTP_FAKETRANS_COULDNTJOINMULTICASTGROUP -123
176
#define ERR_RTP_FAKETRANS_DIFFERENTRECEIVEMODE -124
177
#define ERR_RTP_FAKETRANS_ILLEGALPARAMETERS -125
178
#define ERR_RTP_FAKETRANS_INVALIDADDRESSTYPE -126
179
#define ERR_RTP_FAKETRANS_NOLOCALIPS -127
180
#define ERR_RTP_FAKETRANS_NOMULTICASTSUPPORT -128
181
#define ERR_RTP_FAKETRANS_NOSUCHENTRY -129
182
#define ERR_RTP_FAKETRANS_NOTAMULTICASTADDRESS -130
183
#define ERR_RTP_FAKETRANS_NOTCREATED -131
184
#define ERR_RTP_FAKETRANS_NOTINIT -132
185
#define ERR_RTP_FAKETRANS_PORTBASENOTEVEN -133
186
#define ERR_RTP_FAKETRANS_SPECIFIEDSIZETOOBIG -134
187
#define ERR_RTP_FAKETRANS_WAITNOTIMPLEMENTED -135
188
#define ERR_RTP_RTPRANDOMURANDOM_CANTOPEN -136
189
#define ERR_RTP_RTPRANDOMURANDOM_ALREADYOPEN -137
190
#define ERR_RTP_RTPRANDOMRANDS_NOTSUPPORTED -138
191
#define ERR_RTP_EXTERNALTRANS_ALREADYCREATED -139
192
#define ERR_RTP_EXTERNALTRANS_ALREADYINIT -140
193
#define ERR_RTP_EXTERNALTRANS_ALREADYWAITING -141
194
#define ERR_RTP_EXTERNALTRANS_BADRECEIVEMODE -142
195
#define ERR_RTP_EXTERNALTRANS_CANTINITMUTEX -143
196
#define ERR_RTP_EXTERNALTRANS_ILLEGALPARAMETERS -144
197
#define ERR_RTP_EXTERNALTRANS_NOACCEPTLIST -145
198
#define ERR_RTP_EXTERNALTRANS_NODESTINATIONSSUPPORTED -146
199
#define ERR_RTP_EXTERNALTRANS_NOIGNORELIST -147
200
#define ERR_RTP_EXTERNALTRANS_NOMULTICASTSUPPORT -148
201
#define ERR_RTP_EXTERNALTRANS_NOSENDER -149
202
#define ERR_RTP_EXTERNALTRANS_NOTCREATED -150
203
#define ERR_RTP_EXTERNALTRANS_NOTINIT -151
204
#define ERR_RTP_EXTERNALTRANS_NOTWAITING -152
205
#define ERR_RTP_EXTERNALTRANS_SENDERROR -153
206
#define ERR_RTP_EXTERNALTRANS_SPECIFIEDSIZETOOBIG -154
207
#define ERR_RTP_UDPV4TRANS_CANTGETSOCKETPORT -155
208
#define ERR_RTP_UDPV4TRANS_NOTANIPV4SOCKET -156
209
#define ERR_RTP_UDPV4TRANS_SOCKETPORTNOTSET -157
210
#define ERR_RTP_UDPV4TRANS_CANTGETSOCKETTYPE -158
211
#define ERR_RTP_UDPV4TRANS_INVALIDSOCKETTYPE -159
212
#define ERR_RTP_UDPV4TRANS_CANTGETVALIDSOCKET -160
213
#define ERR_RTP_UDPV4TRANS_TOOMANYATTEMPTSCHOOSINGSOCKET -161
214
#define ERR_RTP_RTPSESSION_CHANGEREQUESTEDBUTNOTIMPLEMENTED -162
215
#define ERR_RTP_SECURESESSION_CONTEXTALREADYINITIALIZED -163
216
#define ERR_RTP_SECURESESSION_CANTINITIALIZE_SRTPCONTEXT -164
217
#define ERR_RTP_SECURESESSION_CANTINITMUTEX -165
218
#define ERR_RTP_SECURESESSION_CONTEXTNOTINITIALIZED -166
219
#define ERR_RTP_SECURESESSION_NOTENOUGHDATATOENCRYPT -167
220
#define ERR_RTP_SECURESESSION_CANTENCRYPTRTPDATA -168
221
#define ERR_RTP_SECURESESSION_CANTENCRYPTRTCPDATA -169
222
#define ERR_RTP_SECURESESSION_NOTENOUGHDATATODECRYPT -170
223
#define ERR_RTP_SECURESESSION_CANTDECRYPTRTPDATA -171
224
#define ERR_RTP_SECURESESSION_CANTDECRYPTRTCPDATA -172
225
#define ERR_RTP_ABORTDESC_ALREADYINIT -173
226
#define ERR_RTP_ABORTDESC_NOTINIT -174
227
#define ERR_RTP_ABORTDESC_CANTCREATEABORTDESCRIPTORS -175
228
#define ERR_RTP_ABORTDESC_CANTCREATEPIPE -176
229
#define ERR_RTP_SESSION_THREADSAFETYCONFLICT -177
230
#define ERR_RTP_SELECT_ERRORINSELECT -178
231
#define ERR_RTP_SELECT_SOCKETDESCRIPTORTOOLARGE -179
232
#define ERR_RTP_SELECT_ERRORINPOLL -180
233
#define ERR_RTP_TCPTRANS_NOTINIT -181
234
#define ERR_RTP_TCPTRANS_ALREADYINIT -182
235
#define ERR_RTP_TCPTRANS_ALREADYCREATED -183
236
#define ERR_RTP_TCPTRANS_ILLEGALPARAMETERS -184
237
#define ERR_RTP_TCPTRANS_CANTINITMUTEX -185
238
#define ERR_RTP_TCPTRANS_ALREADYWAITING -186
239
#define ERR_RTP_TCPTRANS_NOTCREATED -187
240
#define ERR_RTP_TCPTRANS_INVALIDADDRESSTYPE -188
241
#define ERR_RTP_TCPTRANS_NOSOCKETSPECIFIED -189
242
#define ERR_RTP_TCPTRANS_NOMULTICASTSUPPORT -190
243
#define ERR_RTP_TCPTRANS_RECEIVEMODENOTSUPPORTED -191
244
#define ERR_RTP_TCPTRANS_SPECIFIEDSIZETOOBIG -192
245
#define ERR_RTP_TCPTRANS_NOTWAITING -193
246
#define ERR_RTP_TCPTRANS_SOCKETALREADYINDESTINATIONS -194
247
#define ERR_RTP_TCPTRANS_SOCKETNOTFOUNDINDESTINATIONS -195
248
#define ERR_RTP_TCPTRANS_ERRORINSEND -196
249
#define ERR_RTP_TCPTRANS_ERRORINRECV -197
250
251
#endif // RTPERRORS_H
252
export.h
QRTPLIB_API
#define QRTPLIB_API
Definition:
export.h:112
rtpconfig.h
qrtplib
Definition:
rtcpapppacket.cpp:35
qrtplib::RTPGetErrorString
std::string RTPGetErrorString(int errcode)
Definition:
rtperrors.cpp:248
Generated on Fri Aug 2 2019 17:56:32 for SDRAngel by
1.8.13