-
-
Notifications
You must be signed in to change notification settings - Fork 117
/
Copy pathrtpp_command_ecodes.h
90 lines (77 loc) · 2.84 KB
/
rtpp_command_ecodes.h
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
/*
* Copyright (c) 2004-2006 Maxim Sobolev <sobomax@FreeBSD.org>
* Copyright (c) 2006-2014 Sippy Software, Inc., http://www.sippysoft.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
*/
#ifndef _RTPP_COMMAND_ECODES_H_
#define _RTPP_COMMAND_ECODES_H_
#define ECODE_CMDUNKN 0
#define ECODE_PARSE_NARGS 1
#define ECODE_PARSE_MODS 2
#define ECODE_PARSE_SUBC 3
#define ECODE_PARSE_1 5
#define ECODE_PARSE_2 6
#define ECODE_PARSE_3 7
#define ECODE_PARSE_4 8
#define ECODE_PARSE_5 9
#define ECODE_PARSE_10 10
#define ECODE_PARSE_11 11
#define ECODE_PARSE_12 12
#define ECODE_PARSE_13 13
#define ECODE_PARSE_14 14
#define ECODE_PARSE_15 15
#define ECODE_PARSE_16 16
#define ECODE_PARSE_6 17
#define ECODE_PARSE_7 18
#define ECODE_PARSE_8 19
#define ECODE_RTOOBIG_1 25
#define ECODE_RTOOBIG_2 26
#define ECODE_INVLARG_1 31
#define ECODE_INVLARG_2 32
#define ECODE_INVLARG_3 33
#define ECODE_INVLARG_4 34
#define ECODE_INVLARG_5 35
#define ECODE_INVLARG_6 36
#define ECODE_INVLARG_7 37
#define ECODE_SESUNKN 50
#define ECODE_PLRFAIL 60
#define ECODE_QRYFAIL 62
#define ECODE_CPYFAIL 65
#define ECODE_STSFAIL 68
#define ECODE_LSTFAIL_1 71
#define ECODE_LSTFAIL_2 72
#define ECODE_NSOFF 75
#define ECODE_NOMEM_1 81
#define ECODE_NOMEM_2 82
#define ECODE_NOMEM_3 83
#define ECODE_NOMEM_4 84
#define ECODE_NOMEM_5 85
#define ECODE_NOMEM_6 86
#define ECODE_NOMEM_7 87
#define ECODE_NOMEM_8 88
#define ECODE_NOMEM_9 89
#define ECODE_OVERLOAD 98
#define ECODE_SLOWSHTDN 99
#endif