]> git.stg.codes - stg.git/blob - projects/sgconf/sg_error_codes.h
Unused code.
[stg.git] / projects / sgconf / sg_error_codes.h
1 /*
2  *    This program is free software; you can redistribute it and/or modify
3  *    it under the terms of the GNU General Public License as published by
4  *    the Free Software Foundation; either version 2 of the License, or
5  *    (at your option) any later version.
6  *
7  *    This program is distributed in the hope that it will be useful,
8  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
9  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10  *    GNU General Public License for more details.
11  *
12  *    You should have received a copy of the GNU General Public License
13  *    along with this program; if not, write to the Free Software
14  *    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
15  */
16
17 /*
18  *    Author : Boris Mikhailenko <stg34@stargazer.dp.ua>
19  */
20
21  /*
22  $Author: nobunaga $
23  $Revision: 1.2 $
24  $Date: 2008/05/11 08:15:08 $
25  */
26
27
28
29 #ifndef STG_ERROR_CODES_H
30 #define STG_ERROR_CODES_H
31
32 #ifndef ENODATA
33 #define ENODATA 61
34 #endif
35
36 #ifndef EBADMSG
37 #define EBADMSG 74
38 #endif
39
40 #define NETWORK_ERR_CODE            (1)
41 #define LOGIN_OR_PASS_ERR_CODE      (2)
42 #define USER_NOT_FOUND_ERR_CODE     (3)
43 #define TARIFF_NOT_FOUND_ERR_CODE   (4)
44 #define PARAMETER_PARSING_ERR_CODE  (5)
45 #define UNKNOWN_ERR_CODE            (6)
46 #define ICONV_ERR_CODE              (7)
47
48
49 #endif
50
51