UPnPsdk
0.1
Universal Plug and Play +, Software Development Kit
Loading...
Searching...
No Matches
messages.hpp
Go to the documentation of this file.
1
#ifndef UPNPLIB_GLOBAL_HPP
2
#define UPNPLIB_GLOBAL_HPP
3
// Copyright (C) 2021 GPL 3 and higher by Ingo Höft, <Ingo@Hoeft-online.de>
4
// Redistribution only with this Copyright remark. Last modified: 2024-01-19
18
19
27
#define UPNP_E_SUCCESS 0
28
32
#define UPNP_E_INVALID_HANDLE -100
33
40
#define UPNP_E_INVALID_PARAM -101
41
47
#define UPNP_E_OUTOF_HANDLE -102
48
49
// #define UPNP_E_OUTOF_CONTEXT -103
50
57
#define UPNP_E_OUTOF_MEMORY -104
58
65
#define UPNP_E_INIT -105
66
67
// #define UPNP_E_BUFFER_TOO_SMALL -109
68
74
#define UPNP_E_INVALID_DESC -107
75
83
#define UPNP_E_INVALID_URL -108
84
85
// #define UPNP_E_INVALID_SID -109
86
87
// #define UPNP_E_INVALID_DEVICE -110
88
95
#define UPNP_E_INVALID_SERVICE -111
96
103
#define UPNP_E_BAD_RESPONSE -113
104
105
// #define UPNP_E_BAD_REQUEST -114
106
113
#define UPNP_E_INVALID_ACTION -115
114
121
#define UPNP_E_FINISH -116
122
128
#define UPNP_E_INIT_FAILED -117
129
135
#define UPNP_E_URL_TOO_BIG -118
136
146
#define UPNP_E_BAD_HTTPMSG -119
147
154
#define UPNP_E_ALREADY_REGISTERED -120
155
160
#define UPNP_E_INVALID_INTERFACE -121
161
169
#define UPNP_E_NETWORK_ERROR -200
170
179
#define UPNP_E_SOCKET_WRITE -201
180
189
#define UPNP_E_SOCKET_READ -202
190
199
#define UPNP_E_SOCKET_BIND -203
200
209
#define UPNP_E_SOCKET_CONNECT -204
210
219
#define UPNP_E_OUTOF_SOCKET -205
220
227
#define UPNP_E_LISTEN -206
228
235
#define UPNP_E_TIMEDOUT -207
236
243
#define UPNP_E_SOCKET_ERROR -208
244
245
// #define UPNP_E_FILE_WRITE_ERROR -209
246
252
#define UPNP_E_CANCELED -210
253
262
#define UPNP_E_SOCKET_ACCEPT -211
263
264
// #define UPNP_E_EVENT_PROTOCOL -300
265
269
#define UPNP_E_SUBSCRIBE_UNACCEPTED -301
270
274
#define UPNP_E_UNSUBSCRIBE_UNACCEPTED -302
275
279
#define UPNP_E_NOTIFY_UNACCEPTED -303
280
287
#define UPNP_E_INVALID_ARGUMENT -501
288
293
#define UPNP_E_FILE_NOT_FOUND -502
294
298
#define UPNP_E_FILE_READ_ERROR -503
299
304
#define UPNP_E_EXT_NOT_XML -504
305
306
// #define UPNP_E_NO_WEB_SERVER -505
307
// #define UPNP_E_OUTOF_BOUNDS -506
308
313
#define UPNP_E_NOT_FOUND -507
314
319
#define UPNP_E_INTERNAL_ERROR -911
320
322
/* SOAP-related error codes */
323
#define UPNP_SOAP_E_INVALID_ACTION 401
324
#define UPNP_SOAP_E_INVALID_ARGS 402
325
#define UPNP_SOAP_E_OUT_OF_SYNC 403
326
#define UPNP_SOAP_E_INVALID_VAR 404
327
#define UPNP_SOAP_E_ACTION_FAILED 501
329
331
332
#endif
// UPNPLIB_GLOBAL_HPP
UPnPsdk
include
UPnPsdk
messages.hpp
Generated by
1.9.8