plibsys 0.0.5
perrortypes.h
Go to the documentation of this file.
1/*
2 * The MIT License
3 *
4 * Copyright (C) 2016 Alexander Saprykin <saprykin.spb@gmail.com>
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining
7 * a copy of this software and associated documentation files (the
8 * 'Software'), to deal in the Software without restriction, including
9 * without limitation the rights to use, copy, modify, merge, publish,
10 * distribute, sublicense, and/or sell copies of the Software, and to
11 * permit persons to whom the Software is furnished to do so, subject to
12 * the following conditions:
13 *
14 * The above copyright notice and this permission notice shall be
15 * included in all copies or substantial portions of the Software.
16 *
17 * THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
18 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 */
25
40#if !defined (PLIBSYS_H_INSIDE) && !defined (PLIBSYS_COMPILATION)
41# error "Header files shouldn't be included directly, consider using <plibsys.h> instead."
42#endif
43
44#ifndef PLIBSYS_HEADER_PERRORTYPES_H
45#define PLIBSYS_HEADER_PERRORTYPES_H
46
47#include <pmacros.h>
48
50
57
84
103
105
106#endif /* PLIBSYS_HEADER_PERRORTYPES_H */
enum PErrorIO_ PErrorIO
Enum with IO errors.
enum PErrorIPC_ PErrorIPC
Enum with IPC errors.
PErrorIO_
Enum with IO errors.
Definition perrortypes.h:59
@ P_ERROR_IO_NOT_IMPLEMENTED
Operation is not implemented.
Definition perrortypes.h:81
@ P_ERROR_IO_FAILED
General error.
Definition perrortypes.h:82
@ P_ERROR_IO_NAMETOOLONG
Specified name is too long.
Definition perrortypes.h:77
@ P_ERROR_IO_NOT_EXISTS
Specified entry doesn't exist.
Definition perrortypes.h:79
@ P_ERROR_IO_EXISTS
Specified entry already exists.
Definition perrortypes.h:78
@ P_ERROR_IO_INVALID_ARGUMENT
Invalid argument specified.
Definition perrortypes.h:67
@ P_ERROR_IO_NOT_SUPPORTED
Operation not supported.
Definition perrortypes.h:68
@ P_ERROR_IO_NO_MORE
No more data left.
Definition perrortypes.h:80
@ P_ERROR_IO_IS_DIRECTORY
Trying to open directory for writing.
Definition perrortypes.h:75
@ P_ERROR_IO_QUOTA
User quota exceeded.
Definition perrortypes.h:74
@ P_ERROR_IO_NONE
No error.
Definition perrortypes.h:60
@ P_ERROR_IO_NOT_AVAILABLE
Resource isn't available.
Definition perrortypes.h:62
@ P_ERROR_IO_ADDRESS_IN_USE
Address is already under usage.
Definition perrortypes.h:71
@ P_ERROR_IO_IN_PROGRESS
Operation in progress.
Definition perrortypes.h:65
@ P_ERROR_IO_ACCESS_DENIED
Access denied.
Definition perrortypes.h:63
@ P_ERROR_IO_CONNECTED
Already connected.
Definition perrortypes.h:64
@ P_ERROR_IO_NOT_CONNECTED
Connection required first.
Definition perrortypes.h:73
@ P_ERROR_IO_NOT_DIRECTORY
Component of the path prefix is not a directory.
Definition perrortypes.h:76
@ P_ERROR_IO_TIMED_OUT
Operation timed out.
Definition perrortypes.h:69
@ P_ERROR_IO_CONNECTION_REFUSED
Connection refused.
Definition perrortypes.h:72
@ P_ERROR_IO_WOULD_BLOCK
Operation cannot be completed immediatly.
Definition perrortypes.h:70
@ P_ERROR_IO_NO_RESOURCES
Operating system hasn't enough resources.
Definition perrortypes.h:61
@ P_ERROR_IO_ABORTED
Operation aborted.
Definition perrortypes.h:66
PErrorIPC_
Enum with IPC errors.
Definition perrortypes.h:86
@ P_ERROR_IPC_NOT_IMPLEMENTED
Operation is not implemented (for example when using some filesystems).
Definition perrortypes.h:98
@ P_ERROR_IPC_NAMETOOLONG
Object name is too long.
Definition perrortypes.h:96
@ P_ERROR_IPC_NO_RESOURCES
Not enough system resources or memory to perform operation.
Definition perrortypes.h:93
@ P_ERROR_IPC_OVERFLOW
Semaphore value overflow.
Definition perrortypes.h:95
@ P_ERROR_IPC_FAILED
General error.
@ P_ERROR_IPC_ACCESS
Not enough rights to access object or its key.
Definition perrortypes.h:88
@ P_ERROR_IPC_EXISTS
Object already exists and no proper open flags were specified.
Definition perrortypes.h:89
@ P_ERROR_IPC_INVALID_ARGUMENT
Invalid argument (parameter) specified.
Definition perrortypes.h:97
@ P_ERROR_IPC_NONE
No error.
Definition perrortypes.h:87
@ P_ERROR_IPC_DEADLOCK
Deadlock detected.
@ P_ERROR_IPC_NOT_EXISTS
Object doesn't exist or was removed before, and no proper create flags were specified.
Definition perrortypes.h:91
enum PErrorDomain_ PErrorDomain
Enum with error domains.
PErrorDomain_
Enum with error domains.
Definition perrortypes.h:52
@ P_ERROR_DOMAIN_IO
Input/output domain.
Definition perrortypes.h:54
@ P_ERROR_DOMAIN_IPC
Interprocess communication domain.
Definition perrortypes.h:55
@ P_ERROR_DOMAIN_NONE
No domain was specified.
Definition perrortypes.h:53
Miscellaneous macros.
#define P_BEGIN_DECLS
Starts .h file declarations to be exported as C functions.
Definition pmacros.h:298
#define P_END_DECLS
Closes .h file declarations to be exported as C functions, should be always used after P_BEGIN_DECLS.
Definition pmacros.h:299