Loading...
Searching...
No Matches
ReadconDbMirror.cpp File Reference
#include "ReadconDbMirror.h"
#include "eon/EonLogger.h"
#include <cstdint>
#include <cstdlib>
#include <filesystem>
#include <fstream>
#include <mutex>
#include <optional>
#include <sstream>
#include <string>
#include <unordered_map>
#include <dlfcn.h>

Go to the source code of this file.

Namespaces

namespace  eonc
 RAII resource manager for the ARTn C library with global synchronization.
namespace  eonc::io

Macros

#define EON_READCON_DB_VERSION   ""

Typedefs

using LibHandle = void *

Functions

int rkrdb_open (const char *, std::size_t *)
void eonc::io::mirror_con_corpus (const std::string &path)
 Copy a con file into the run readcon-db corpus when libreadcon_db loads.
bool eonc::io::readcon_db_mirror_ok ()
 True when the loaded rkrdb_open belongs to the linked readcon-db.
void eonc::io::readcon_db_mirror_reset ()
 Drop a cached load so a later call reads EON_READCON_DB_LIBRARY again.
const char * eonc::io::readcon_db_loaded_version ()
 Version of the loaded library. Empty when the load failed.

Variables

static int(*const kLinkedOpen )(const char *, std::size_t *) = rkrdb_open

Macro Definition Documentation

◆ EON_READCON_DB_VERSION

#define EON_READCON_DB_VERSION   ""

Definition at line 27 of file ReadconDbMirror.cpp.

Typedef Documentation

◆ LibHandle

using LibHandle = void *

Definition at line 41 of file ReadconDbMirror.cpp.

Function Documentation

◆ rkrdb_open()

int rkrdb_open ( const char * ,
std::size_t *  )

Variable Documentation

◆ kLinkedOpen

int(*const kLinkedOpen) (const char *, std::size_t *) ( const char * ,
std::size_t *  ) = rkrdb_open
static

Definition at line 46 of file ReadconDbMirror.cpp.