NewMadeleine
Documentation
«
back to
PM2 home
.
nm_errno.h
Go to the documentation of this file.
1
/*
2
* NewMadeleine
3
* Copyright (C) 2006-2025 (see AUTHORS file)
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or (at
8
* your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful, but
11
* WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* General Public License for more details.
14
*/
15
16
#ifndef NM_ERRNO_H
17
#define NM_ERRNO_H
18
34
enum
nm_errno_e
35
{
36
NM_ESUCCESS
= 0,
37
NM_EUNKNOWN
= 1,
38
NM_ENOTIMPL
= 2,
39
NM_EAGAIN
= 3,
40
NM_ECLOSED
= 4,
41
NM_EBROKEN
= 5,
42
NM_EINVAL
= 6,
43
NM_ENOMEM
= 7,
44
NM_EALREADY
= 8,
45
NM_EINPROGRESS
= 9,
46
NM_ECANCELED
= 10,
47
NM_EBUSY
= 11,
48
NM_ENOTPOSTED
= 12,
49
NM_ETRUNCATED
= 13,
50
_NM_ERR_MAX
51
};
52
53
const
char
*
nm_strerror
(
int
rc);
54
58
#endif
/* NM_ERRNO_H */
nm_strerror
const char * nm_strerror(int rc)
nm_errno_e
nm_errno_e
Error codes.
Definition
nm_errno.h:35
NM_ENOTIMPL
@ NM_ENOTIMPL
not implemented
Definition
nm_errno.h:38
NM_ETRUNCATED
@ NM_ETRUNCATED
receive is too short, message would be truncated
Definition
nm_errno.h:49
NM_ECANCELED
@ NM_ECANCELED
operation canceled
Definition
nm_errno.h:46
NM_EBROKEN
@ NM_EBROKEN
error condition on connection
Definition
nm_errno.h:41
NM_EALREADY
@ NM_EALREADY
already in progress or done
Definition
nm_errno.h:44
NM_EINPROGRESS
@ NM_EINPROGRESS
operation in progress
Definition
nm_errno.h:45
NM_EUNKNOWN
@ NM_EUNKNOWN
unknown error
Definition
nm_errno.h:37
NM_ENOTPOSTED
@ NM_ENOTPOSTED
request not posted
Definition
nm_errno.h:48
_NM_ERR_MAX
@ _NM_ERR_MAX
Definition
nm_errno.h:50
NM_EAGAIN
@ NM_EAGAIN
poll again
Definition
nm_errno.h:39
NM_ECLOSED
@ NM_ECLOSED
connection closed
Definition
nm_errno.h:40
NM_EBUSY
@ NM_EBUSY
gate/track is busy
Definition
nm_errno.h:47
NM_ESUCCESS
@ NM_ESUCCESS
successful operation
Definition
nm_errno.h:36
NM_ENOMEM
@ NM_ENOMEM
out of memory
Definition
nm_errno.h:43
NM_EINVAL
@ NM_EINVAL
invalid parameter
Definition
nm_errno.h:42
nmad
include
nm_errno.h
Generated on Thu Nov 13 2025 12:10:14 for NewMadeleine by
1.9.8