blob: 6d95c6d5e1d513937a0dcd404ecb3417ece8df7f (
plain)
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
|
/* Milkway
* Copyright (C) 2009- Luo Jinghua <sunmoon1997@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more
*/
#ifndef MW_STATUS_H
#define MW_STATUS_H
enum mw_status {
MW_SUCCESS = 0,
MW_INVALID = -1,
MW_TOO_BIG = -2,
MW_TOO_SMALL = -3,
MW_NOT_SUPPORTED = -4,
NW_AGAIN = -5,
MW_IN_PROGRESS = -6,
MW_NOT_CONNECTTED = -7,
MW_TIMEOUT = -8,
MW_ACCESS_DENIED = -9,
MW_CONNECTION_RESET = -10,
MW_BADF = -11
};
#endif
|