Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Struct

ServiceBinding

Public Struct
std.os.uefi.protocol.managed_network.ManagedNetwork.ServiceBinding
pub const ServiceBinding = extern struct

Fields

_create_child: *const fn (*const ServiceBinding, *?Handle) callconv(cc) Status
_destroy_child: *const fn (*const ServiceBinding, Handle) callconv(cc) Status

Values

Functions

pub fn createChild(self: *const ServiceBinding, handle: *?Handle) Status
pub fn destroyChild(self: *const ServiceBinding, handle: Handle) Status

File

os/uefi/protocol/managed_network.zig:202
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
    pub const ServiceBinding = extern struct {
        _create_child: *const fn (*const ServiceBinding, *?Handle) callconv(cc) Status,
        _destroy_child: *const fn (*const ServiceBinding, Handle) callconv(cc) Status,

        pub fn createChild(self: *const ServiceBinding, handle: *?Handle) Status {
            return self._create_child(self, handle);
        }

        pub fn destroyChild(self: *const ServiceBinding, handle: Handle) Status {
            return self._destroy_child(self, handle);
        }

        pub const guid align(8) = Guid{
            .time_low = 0xf36ff770,
            .time_mid = 0xa7e1,
            .time_high_and_version = 0x42cf,
            .clock_seq_high_and_reserved = 0x9e,
            .clock_seq_low = 0xd2,
            .node = [_]u8{ 0x56, 0xf0, 0xf2, 0x71, 0xf4, 0x4c },
        };
    }