.TH "stage2.h" 3 "Bark" \" -*- nroff -*- .ad l .nh .SH NAME stage2.h \- Bark native Stage-2 library slice bootstrap and interface registry facade\&. .SH SYNOPSIS .br .PP .SS "Classes" .in +1c .ti -1c .RI "struct \fBbark_lib_host_env\fP" .br .RI "Host environment table passed to native Bark Stage-2 library slices at load time\&. " .in -1c .SS "Macros" .in +1c .ti -1c .RI "#define \fBBARK_LIB_HOST_ENV_ABI_VER\fP 3u" .br .RI "Current \fBbark_lib_host_env_t\fP ABI version\&. " .ti -1c .RI "#define \fBBARK_STAGE2_MAX_IFACES\fP 16u" .br .RI "Maximum number of simultaneously registered plugin interfaces\&. " .ti -1c .RI "#define \fBBARK_STAGE2_SLICE\fP(lib_id, slice_name, cap_spec)" .br .RI "Declare a Stage-2 native library slice's packaging metadata at file scope\&. " .ti -1c .RI "#define \fBBARK_STAGE2_BOOTSTRAP_DEF\fP()" .br .RI "Declare the Stage-2 library bootstrap host hook inside a slice translation unit\&. " .ti -1c .RI "#define \fBBARK_STAGE2_IFACE_DECL\fP()" .br .RI "Declare the Stage-2 interface lookup hook inside a guest/bridge translation unit\&. " .ti -1c .RI "#define \fBBARK_SDK_THIN_STUB_V1_PREFIX\fP" .br .RI "Thin SDK stub verification marker prefix\&. " .in -1c .SS "Typedefs" .in +1c .ti -1c .RI "typedef struct \fBbark_lib_host_env\fP \fBbark_lib_host_env_t\fP" .br .RI "Host environment table passed to native Bark Stage-2 library slices at load time\&. " .in -1c .SS "Functions" .in +1c .ti -1c .RI "int \fBbark_stage2_bootstrap\fP (uint32_t abi_ver, \fBbark_lib_host_env_t\fP *out_env)" .br .RI "Bootstrap the Stage-2 library host environment table inside xy_mem_entry()\&. " .ti -1c .RI "const void * \fBbark_get_stage2_iface\fP (uint32_t iface_id, uint32_t abi_ver)" .br .RI "Look up a registered Stage-2 library interface vtable by FourCC ID and ABI version\&. " .in -1c .SH "Detailed Description" .PP Bark native Stage-2 library slice bootstrap and interface registry facade\&. .SH "Author" .PP Generated automatically by Doxygen for Bark from the source code\&.