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

SslKeyLog

Public Struct
std.crypto.tls.Client.SslKeyLog
pub const SslKeyLog = struct

Fields

client_key_seq: u64
server_key_seq: u64
client_random: [32]u8
writer: *Writer

Functions

fn clientCounter(key_log: *@This()) u64
fn serverCounter(key_log: *@This()) u64

File

crypto/tls/Client.zig:66
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
pub const SslKeyLog = struct {
    client_key_seq: u64,
    server_key_seq: u64,
    client_random: [32]u8,
    writer: *Writer,

    fn clientCounter(key_log: *@This()) u64 {
        defer key_log.client_key_seq += 1;
        return key_log.client_key_seq;
    }

    fn serverCounter(key_log: *@This()) u64 {
        defer key_log.server_key_seq += 1;
        return key_log.server_key_seq;
    }
}