source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/mprerror.h@ 1181

Last change on this file since 1181 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 3.1 KB
RevLine 
[1166]1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6#ifndef _MPRERROR_H_
7#define _MPRERROR_H_
8
9#define ROUTEBASE 900
10#define SUCCESS 0
11
12#define ERROR_ROUTER_STOPPED (ROUTEBASE+0)
13#define ERROR_ALREADY_CONNECTED (ROUTEBASE+1)
14#define ERROR_UNKNOWN_PROTOCOL_ID (ROUTEBASE+2)
15#define ERROR_DDM_NOT_RUNNING (ROUTEBASE+3)
16#define ERROR_INTERFACE_ALREADY_EXISTS (ROUTEBASE+4)
17#define ERROR_NO_SUCH_INTERFACE (ROUTEBASE+5)
18#define ERROR_INTERFACE_NOT_CONNECTED (ROUTEBASE+6)
19#define ERROR_PROTOCOL_STOP_PENDING (ROUTEBASE+7)
20#define ERROR_INTERFACE_CONNECTED (ROUTEBASE+8)
21#define ERROR_NO_INTERFACE_CREDENTIALS_SET (ROUTEBASE+9)
22#define ERROR_ALREADY_CONNECTING (ROUTEBASE+10)
23#define ERROR_UPDATE_IN_PROGRESS (ROUTEBASE+11)
24#define ERROR_INTERFACE_CONFIGURATION (ROUTEBASE+12)
25#define ERROR_NOT_CLIENT_PORT (ROUTEBASE+13)
26#define ERROR_NOT_ROUTER_PORT (ROUTEBASE+14)
27#define ERROR_CLIENT_INTERFACE_ALREADY_EXISTS (ROUTEBASE+15)
28#define ERROR_INTERFACE_DISABLED (ROUTEBASE+16)
29#define ERROR_AUTH_PROTOCOL_REJECTED (ROUTEBASE+17)
30#define ERROR_NO_AUTH_PROTOCOL_AVAILABLE (ROUTEBASE+18)
31#define ERROR_PEER_REFUSED_AUTH (ROUTEBASE+19)
32#define ERROR_REMOTE_NO_DIALIN_PERMISSION (ROUTEBASE+20)
33#define ERROR_REMOTE_PASSWD_EXPIRED (ROUTEBASE+21)
34#define ERROR_REMOTE_ACCT_DISABLED (ROUTEBASE+22)
35#define ERROR_REMOTE_RESTRICTED_LOGON_HOURS (ROUTEBASE+23)
36#define ERROR_REMOTE_AUTHENTICATION_FAILURE (ROUTEBASE+24)
37#define ERROR_INTERFACE_HAS_NO_DEVICES (ROUTEBASE+25)
38#define ERROR_IDLE_DISCONNECTED (ROUTEBASE+26)
39#define ERROR_INTERFACE_UNREACHABLE (ROUTEBASE+27)
40#define ERROR_SERVICE_IS_PAUSED (ROUTEBASE+28)
41#define ERROR_INTERFACE_DISCONNECTED (ROUTEBASE+29)
42#define ERROR_AUTH_SERVER_TIMEOUT (ROUTEBASE+30)
43#define ERROR_PORT_LIMIT_REACHED (ROUTEBASE+31)
44#define ERROR_PPP_SESSION_TIMEOUT (ROUTEBASE+32)
45#define ERROR_MAX_LAN_INTERFACE_LIMIT (ROUTEBASE+33)
46#define ERROR_MAX_WAN_INTERFACE_LIMIT (ROUTEBASE+34)
47#define ERROR_MAX_CLIENT_INTERFACE_LIMIT (ROUTEBASE+35)
48#define ERROR_BAP_DISCONNECTED (ROUTEBASE+36)
49#define ERROR_USER_LIMIT (ROUTEBASE+37)
50#define ERROR_NO_RADIUS_SERVERS (ROUTEBASE+38)
51#define ERROR_INVALID_RADIUS_RESPONSE (ROUTEBASE+39)
52#define ERROR_DIALIN_HOURS_RESTRICTION (ROUTEBASE+40)
53#define ERROR_ALLOWED_PORT_TYPE_RESTRICTION (ROUTEBASE+41)
54#define ERROR_AUTH_PROTOCOL_RESTRICTION (ROUTEBASE+42)
55#define ERROR_BAP_REQUIRED (ROUTEBASE+43)
56#define ERROR_DIALOUT_HOURS_RESTRICTION (ROUTEBASE+44)
57#define ERROR_ROUTER_CONFIG_INCOMPATIBLE (ROUTEBASE+45)
58#define WARNING_NO_MD5_MIGRATION (ROUTEBASE+46)
59#define ERROR_PROTOCOL_ALREADY_INSTALLED (ROUTEBASE+48)
60#define ERROR_INVALID_SIGNATURE_LENGTH (ROUTEBASE+49)
61#define ERROR_INVALID_SIGNATURE (ROUTEBASE+50)
62#define ERROR_NO_SIGNATURE (ROUTEBASE+51)
63#define ERROR_INVALID_PACKET_LENGTH_OR_ID (ROUTEBASE+52)
64#define ERROR_INVALID_ATTRIBUTE_LENGTH (ROUTEBASE+53)
65#define ERROR_INVALID_PACKET (ROUTEBASE+54)
66#define ERROR_AUTHENTICATOR_MISMATCH (ROUTEBASE+55)
67#define ROUTEBASEEND (ROUTEBASE+56)
68
69#endif
Note: See TracBrowser for help on using the repository browser.