Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
io_error.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2021 Roc Streaming authors
3
*
4
* This Source Code Form is subject to the terms of the Mozilla Public
5
* License, v. 2.0. If a copy of the MPL was not distributed with this
6
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
*/
8
9
//! @file roc_netio/target_libuv/roc_netio/io_error.h
10
//! @brief I/O error codes.
11
12
#ifndef ROC_NETIO_IO_ERROR_H_
13
#define ROC_NETIO_IO_ERROR_H_
14
15
namespace
roc
{
16
namespace
netio {
17
18
//! I/O error codes.
19
enum
IOError
{
20
//! Operation can't be performed without blocking, try later.
21
IOErr_WouldBlock
= -1,
22
23
//! End of stream, no more data.
24
IOErr_StreamEnd
= -2,
25
26
//! Failure.
27
IOErr_Failure
= -3
28
};
29
30
}
// namespace netio
31
}
// namespace roc
32
33
#endif
// ROC_NETIO_IO_ERROR_H_
roc::netio::IOError
IOError
I/O error codes.
Definition:
io_error.h:19
roc::netio::IOErr_StreamEnd
@ IOErr_StreamEnd
End of stream, no more data.
Definition:
io_error.h:24
roc::netio::IOErr_Failure
@ IOErr_Failure
Failure.
Definition:
io_error.h:27
roc::netio::IOErr_WouldBlock
@ IOErr_WouldBlock
Operation can't be performed without blocking, try later.
Definition:
io_error.h:21
roc
Root namespace.
roc_netio
target_libuv
roc_netio
io_error.h
Generated by
1.9.1