Ring Daemon 16.0.0
|
Go to the source code of this file.
Classes | |
class | libjami::CallbackWrapper< TProto > |
class | libjami::CallbackWrapperBase |
class | libjami::SerializedCallbackWrapper< TProto > |
Namespaces | |
namespace | libjami |
Typedefs | |
using | libjami::MediaMap = std::map< std::string, std::string > |
Enumerations | |
enum | libjami::InitFlag { libjami::LIBJAMI_FLAG_DEBUG = 1 << 0 , libjami::LIBJAMI_FLAG_CONSOLE_LOG = 1 << 1 , libjami::LIBJAMI_FLAG_SYSLOG = 1 << 3 , libjami::LIBJAMI_FLAG_AUTOANSWER = 1 << 2 , libjami::LIBJAMI_FLAG_IOS_EXTENSION = 1 << 4 , libjami::LIBJAMI_FLAG_NO_LOCAL_AUDIO = 1 << 6 , libjami::LIBJAMI_FLAG_NO_LOCAL_VIDEO = 1 << 7 , libjami::LIBJAMI_FLAG_NO_LOCAL_MEDIA = LIBJAMI_FLAG_NO_LOCAL_AUDIO | LIBJAMI_FLAG_NO_LOCAL_VIDEO , libjami::LIBJAMI_FLAG_NO_AUTOSYNC = 1 << 8 , libjami::LIBJAMI_FLAG_NO_AUTOLOAD = 1 << 9 } |
Functions | |
std::string_view | libjami::arch () noexcept |
Return the target architecture as a string. | |
template<typename Ts > | |
std::pair< std::string, std::shared_ptr< CallbackWrapperBase > > | libjami::exportable_callback (std::function< typename Ts::cb_type > &&func, const char *file=CURRENT_FILENAME(), uint32_t linum=CURRENT_LINE()) |
Return an exportable callback object. | |
template<typename Ts > | |
std::pair< std::string, std::shared_ptr< CallbackWrapperBase > > | libjami::exportable_serialized_callback (std::function< typename Ts::cb_type > &&func, const char *file=CURRENT_FILENAME(), uint32_t linum=CURRENT_LINE()) |
LIBJAMI_PUBLIC void | libjami::fini () noexcept |
Stop and freeing any resource allocated by daemon. | |
LIBJAMI_PUBLIC bool | libjami::init (enum InitFlag flags) noexcept |
Initialize globals, create underlaying daemon. | |
LIBJAMI_PUBLIC bool | libjami::initialized () noexcept |
LIBJAMI_PUBLIC void | libjami::logging (const std::string &whom, const std::string &action) noexcept |
Control log handlers. | |
std::string_view | libjami::platform () noexcept |
Return the target platform (OS) as a string. | |
void | libjami::registerSignalHandlers (const std::map< std::string, std::shared_ptr< CallbackWrapperBase > > &handlers) |
LIBJAMI_PUBLIC bool | libjami::start (const std::filesystem::path &config_file={}) noexcept |
Start asynchronously daemon created by init(). | |
void | libjami::unregisterSignalHandlers () |
const char * | libjami::version () noexcept |
Return the library version as string. | |