stage2.h(3)Bark

NAME

stage2.h - Bark native Stage-2 library slice bootstrap and interface registry facade.

SYNOPSIS

Classes

struct bark_lib_host_env

Host environment table passed to native Bark Stage-2 library slices at load time.

Macros

#define BARK_LIB_HOST_ENV_ABI_VER 3u

Current bark_lib_host_env_t ABI version.

#define BARK_STAGE2_MAX_IFACES 16u

Maximum number of simultaneously registered plugin interfaces.

#define BARK_STAGE2_SLICE(lib_id, slice_name, cap_spec)

Declare a Stage-2 native library slice's packaging metadata at file scope.

#define BARK_STAGE2_BOOTSTRAP_DEF()

Declare the Stage-2 library bootstrap host hook inside a slice translation unit.

#define BARK_STAGE2_IFACE_DECL()

Declare the Stage-2 interface lookup hook inside a guest/bridge translation unit.

#define BARK_SDK_THIN_STUB_V1_PREFIX

Thin SDK stub verification marker prefix.

Typedefs

typedef struct bark_lib_host_env bark_lib_host_env_t

Host environment table passed to native Bark Stage-2 library slices at load time.

Functions

int bark_stage2_bootstrap (uint32_t abi_ver, bark_lib_host_env_t *out_env)

Bootstrap the Stage-2 library host environment table inside xy_mem_entry().

const void * bark_get_stage2_iface (uint32_t iface_id, uint32_t abi_ver)

Look up a registered Stage-2 library interface vtable by FourCC ID and ABI version.

Detailed Description

Bark native Stage-2 library slice bootstrap and interface registry facade.

Author

Generated automatically by Doxygen for Bark from the source code.