Crate hostfxr_sys
source ·Expand description
FFI bindings for hostfxr.
§Related crates
- nethost-sys - bindings for the nethost library.
- coreclr-hosting-shared - shared bindings between this crate and nethost-sys.
- netcorehost - rusty wrapper over the nethost and hostfxr libraries.
§Additional Information
- Hosting layer APIs
- Native hosting
- Write a custom .NET Core host to control the .NET runtime from your native code
§License
Licensed under the MIT license (LICENSE or http://opensource.org/licenses/MIT)
Re-exports§
pub use dlopen2;
Modules§
- hostfxr_resolve_sdk2_flags_t
netcore2_1
Flag constants forhostfxr_resolve_sdk2
.
Structs§
- A structure that stores parameters which are common to all forms of initialization.
Enums§
- hostfxr_delegate_type
netcore3_0
Enum representing the type of runtime functionality requested withhostfxr_get_runtime_delegate
. - hostfxr_resolve_sdk2_result_key_t
netcore2_1
Constants§
- Seperator char used to seperate a list of paths in a string.
- Signifies that the target method is marked with the
UnmanagedCallersOnlyAttribute
. This means that the name alone can identify the target method.
Type Aliases§
- component_entry_point_fn
netcore3_0
Signature of delegate returned byload_assembly_and_get_function_pointer_fn
whendelegate_type_name == null
(default) - get_function_pointer_fn
net5_0
Signature of delegate returned byhostfxr_get_runtime_delegate
for typehdt_get_function_pointer
- hostfxr_error_writer_fn
netcore3_0
Error reporting function signature. - hostfxr_get_available_sdks_result_fn
netcore2_1
Result callback signature forhostfxr_get_available_sdks
. - Handle to a hostfxr context.
- hostfxr_resolve_sdk2_result_fn
netcore2_1
Result callback signature forhostfxr_resolve_sdk2
. - Signature of delegate returned by
hostfxr_get_runtime_delegate
for typehdt_load_assembly_and_get_function_pointer
- load_assembly_bytes_fn
net8_0
Signature of delegate returned byhostfxr_get_runtime_delegate
for typehdt_load_assembly_bytes
- load_assembly_fn
net8_0
Signature of delegate returned byhostfxr_get_runtime_delegate
for typehdt_load_assembly
.