libupnpp
0.16.0
A C++ wrapper for the Portable UPnP reference library
libupnpp
upnperrcodes.hxx
1
/* Duplicate upnp.h errcodes, which are the sole reason for a libupnpp
2
client to include upnp.h. Makes things much easier now that upnp.h
3
can be found either in npupnp/ or upnp/ */
4
5
#ifndef UPNP_E_NO_WEB_SERVER
6
#define UPNP_E_SUCCESS 0
7
#define UPNP_E_INVALID_HANDLE -100
8
#define UPNP_E_INVALID_PARAM -101
9
#define UPNP_E_OUTOF_HANDLE -102
10
#define UPNP_E_OUTOF_CONTEXT -103
11
#define UPNP_E_OUTOF_MEMORY -104
12
#define UPNP_E_INIT -105
13
#define UPNP_E_BUFFER_TOO_SMALL -106
14
#define UPNP_E_INVALID_DESC -107
15
#define UPNP_E_INVALID_URL -108
16
#define UPNP_E_INVALID_SID -109
17
#define UPNP_E_INVALID_DEVICE -110
18
#define UPNP_E_INVALID_SERVICE -111
19
#define UPNP_E_BAD_RESPONSE -113
20
#define UPNP_E_BAD_REQUEST -114
21
#define UPNP_E_INVALID_ACTION -115
22
#define UPNP_E_FINISH -116
23
#define UPNP_E_INIT_FAILED -117
24
#define UPNP_E_URL_TOO_BIG -118
25
#define UPNP_E_BAD_HTTPMSG -119
26
#define UPNP_E_ALREADY_REGISTERED -120
27
#define UPNP_E_INVALID_INTERFACE -121
28
#define UPNP_E_NETWORK_ERROR -200
29
#define UPNP_E_SOCKET_WRITE -201
30
#define UPNP_E_SOCKET_READ -202
31
#define UPNP_E_SOCKET_BIND -203
32
#define UPNP_E_SOCKET_CONNECT -204
33
#define UPNP_E_OUTOF_SOCKET -205
34
#define UPNP_E_LISTEN -206
35
#define UPNP_E_TIMEDOUT -207
36
#define UPNP_E_SOCKET_ERROR -208
37
#define UPNP_E_FILE_WRITE_ERROR -209
38
#define UPNP_E_CANCELED -210
39
#define UPNP_E_EVENT_PROTOCOL -300
40
#define UPNP_E_SUBSCRIBE_UNACCEPTED -301
41
#define UPNP_E_UNSUBSCRIBE_UNACCEPTED -302
42
#define UPNP_E_NOTIFY_UNACCEPTED -303
43
#define UPNP_E_INVALID_ARGUMENT -501
44
#define UPNP_E_FILE_NOT_FOUND -502
45
#define UPNP_E_FILE_READ_ERROR -503
46
#define UPNP_E_EXT_NOT_XML -504
47
#define UPNP_E_NO_WEB_SERVER -505
48
#define UPNP_E_OUTOF_BOUNDS -506
49
#define UPNP_E_NOT_FOUND -507
50
#define UPNP_E_INTERNAL_ERROR -911
51
#define UPNP_SOAP_E_INVALID_ACTION 401
52
#define UPNP_SOAP_E_INVALID_ARGS 402
53
#define UPNP_SOAP_E_OUT_OF_SYNC 403
54
#define UPNP_SOAP_E_INVALID_VAR 404
55
#define UPNP_SOAP_E_ACTION_FAILED 501
56
#endif
/* not defined(UPNP_E_SUCCESS) */
Generated on Mon Jan 25 2021 09:48:35 for libupnpp by
1.8.13