change Copyright headers, change line endings to Unix format
[platform/core/system/swap-probe.git] / include / daerror.h
1 /*  DA probe
2  *
3  * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
4  *
5  * Contact:
6  *
7  * Jaewon Lim <jaewon81.lim@samsung.com>
8  * Woojin Jung <woojin2.jung@samsung.com>
9  * Juyoung Kim <j0.kim@samsung.com>
10  *
11  * This library is free software; you can redistribute it and/or modify it under
12  * the terms of the GNU Lesser General Public License as published by the
13  * Free Software Foundation; either version 2.1 of the License, or (at your option)
14  * any later version.
15  *
16  * This library is distributed in the hope that it will be useful, but WITHOUT ANY
17  * WARRANTY; without even the implied warranty of MERCHANTABILITY or
18  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
19  * License for more details.
20  *
21  * You should have received a copy of the GNU Lesser General Public License
22  * along with this library; if not, write to the Free Software Foundation, Inc., 51
23  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
24  *
25  * Contributors:
26  * - S-Core Co., Ltd
27  *
28  */
29
30 #ifndef DAERROR_H_
31 #define DAERROR_H_
32
33 #ifdef __cplusplus
34 extern "C"{
35 #endif
36
37 #define ERR_SUCCESS                             0
38 #define ERR_OUTOFMEMORY                 -11
39 #define ERR_WRONGPARAMETER              -12
40 #define ERR_NOTINITIALIZED              -13
41 #define ERR_NOTEXIST                    -21
42 #define ERR_ALREADYEXIST                -22
43 #define ERR_OTHER                               -30
44 #define ERR_DLOPEN                              -101
45 #define ERR_DLSYM                               -102
46 #define ERR_USER                                -10000
47
48
49 #ifdef __cplusplus
50 }
51 #endif
52
53
54 #endif /* DAERROR_H_ */