#include "base/native_library.h"
#include <dlfcn.h>
#include <string_view>
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/notreached.h"
#include "base/strings/strcat.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "base/threading/scoped_blocking_call.h"
#include "build/build_config.h"
namespace base {
std::string NativeLibraryLoadError::ToString() const { … }
NativeLibrary LoadNativeLibraryWithOptions(const FilePath& library_path,
const NativeLibraryOptions& options,
NativeLibraryLoadError* error) { … }
void UnloadNativeLibrary(NativeLibrary library) { … }
void* GetFunctionPointerFromNativeLibrary(NativeLibrary library,
const char* name) { … }
std::string GetNativeLibraryName(std::string_view name) { … }
std::string GetLoadableModuleName(std::string_view name) { … }
}