Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
code_to_str.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2019 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_status/code_to_str.h
10
//! @brief Format status code to string.
11
12
#ifndef ROC_STATUS_CODE_TO_STR_H_
13
#define ROC_STATUS_CODE_TO_STR_H_
14
15
#include "
roc_status/status_code.h
"
16
17
namespace
roc
{
18
namespace
status {
19
20
//! Get string name of status code.
21
const
char
*
code_to_str
(
StatusCode
code);
22
23
}
// namespace status
24
}
// namespace roc
25
26
#endif
// ROC_STATUS_CODE_TO_STR_H_
roc::status::code_to_str
const char * code_to_str(StatusCode code)
Get string name of status code.
roc
Root namespace.
status_code.h
Status codes.
roc::status::StatusCode
StatusCode
Status code.
Definition:
status_code.h:19
roc_status
code_to_str.h
Generated by
1.9.1