NewMadeleine

Documentation

nm_errno.h
Go to the documentation of this file.
1/*
2 * NewMadeleine
3 * Copyright (C) 2006-2023 (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
33 {
50 NM_EBUSY = 16,
54 };
55
56const char*nm_strerror(int rc);
57
61#endif /* NM_ERRNO_H */
const char * nm_strerror(int rc)
nm_errno_e
Error codes.
Definition: nm_errno.h:33
@ NM_ENOTIMPL
not implemented
Definition: nm_errno.h:36
@ NM_ENOTFOUND
not found
Definition: nm_errno.h:42
@ NM_ETRUNCATED
receive is too short, message would be truncated
Definition: nm_errno.h:52
@ NM_ECANCELED
operation canceled
Definition: nm_errno.h:48
@ NM_EBROKEN
error condition on connection
Definition: nm_errno.h:40
@ NM_EALREADY
already in progress or done
Definition: nm_errno.h:44
@ NM_EINPROGRESS
operation in progress
Definition: nm_errno.h:46
@ NM_EUNREACH
destination unreachable
Definition: nm_errno.h:47
@ NM_EUNKNOWN
unknown error
Definition: nm_errno.h:35
@ NM_ETIMEDOUT
operation timeout
Definition: nm_errno.h:45
@ NM_ENOTPOSTED
request not posted
Definition: nm_errno.h:51
@ NM_ESCFAILD
syscall failed, see errno
Definition: nm_errno.h:37
@ NM_EABORTED
operation aborted
Definition: nm_errno.h:49
@ _NM_ERR_MAX
Definition: nm_errno.h:53
@ NM_EAGAIN
poll again
Definition: nm_errno.h:38
@ NM_ECLOSED
connection closed
Definition: nm_errno.h:39
@ NM_EBUSY
gate/track is busy
Definition: nm_errno.h:50
@ NM_ESUCCESS
successful operation
Definition: nm_errno.h:34
@ NM_ENOMEM
out of memory
Definition: nm_errno.h:43
@ NM_EINVAL
invalid parameter
Definition: nm_errno.h:41