dso_meth_st

Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Members

Variables

dso_bind_func
.DSO_FUNC_TYPE function(.DSO* dso, const(char)* symname) dso_bind_func;

Binds a function - assumes a return type of DSO_FUNC_TYPE. This should be cast to the real function prototype by the caller. Platforms that don't have compatible representations for different prototypes (this is possible within ANSI C) are highly unlikely to have shared libraries at all, let alone a DSO_METHOD implemented for them.

dso_bind_var
void* function(.DSO* dso, const(char)* symname) dso_bind_var;

Binds a variable

dso_ctrl
core.stdc.config.c_long function(.DSO* dso, int cmd, core.stdc.config.c_long larg, void* parg) dso_ctrl;

The generic (yuck) "ctrl()" function. NB: Negative return values (rather than zero) indicate errors.

dso_load
int function(.DSO* dso) dso_load;

Loads a shared library, NB: new DSO_METHODs must ensure that a successful load populates the loaded_filename field, and likewise a successful unload frees and NULLs it out.

dso_merger
.DSO_MERGER_FUNC dso_merger;

The default DSO_METHOD-specific function for converting filenames to a canonical native form.

dso_name_converter
.DSO_NAME_CONVERTER_FUNC dso_name_converter;

The default DSO_METHOD-specific function for converting filenames to a canonical native form.

dso_unload
int function(.DSO* dso) dso_unload;

Unloads a shared library

finish
int function(.DSO* dso) finish;
Undocumented in source.
globallookup
void* function(const(char)* symname) globallookup;

Perform global symbol lookup, i.e. among *all* modules

init
int function(.DSO* dso) init;
Undocumented in source.
name
const(char)* name;
Undocumented in source.
pathbyaddr
int function(void* addr, char* path, int sz) pathbyaddr;

Return pathname of the module containing location

Meta