srsLTE/lib/include/srslte/srslog/shared_types.h

26 lines
510 B
C++

/**
*
* \section COPYRIGHT
*
* Copyright 2013-2020 Software Radio Systems Limited
*
* By using this file, you agree to the terms and conditions set
* forth in the LICENSE file which can be found at the top level of
* the distribution.
*
*/
#ifndef SRSLOG_SHARED_TYPES_H
#define SRSLOG_SHARED_TYPES_H
#include <functional>
namespace srslog {
/// Generic error handler callback.
using error_handler = std::function<void(const std::string&)>;
} // namespace srslog
#endif // SRSLOG_SHARED_TYPES_H