// SPDX-FileCopyrightText: © 2026 Jeffrey C. Ollie // SPDX-License-Identifier: MIT //! An SNMP manager for Zig: versions 1, 2c and 3 on the wire, with the //! command line tools net-snmp's are named after on top of it. const std = @import("std"); const testing = std.testing; pub const asn1 = @import("asn1"); /// Re-exported because they appear in this library's public API: a /// `Value.ip_address` *is* a `z46.Ipv4Address` and `Value.asMacAddress` /// returns a `macaddress.MacAddress`, so a caller cannot name what it is /// handed without them. pub const z46 = @import("z46"); pub const macaddress = @import("macaddress"); pub const protocol = @import("protocol.zig"); pub const Client = @import("Client.zig"); pub const Receiver = @import("Receiver.zig"); pub const usm = @import("usm.zig"); /// MIB support, which is what lets a tool take `sysDescr.0` and print /// `IF-MIB::ifDescr.1`. Re-exported because `Mibs` is a thin join over it and /// a caller wanting the syntax of an object goes to the registry directly. pub const smi = @import("smi"); pub const Mibs = @import("Mibs.zig"); /// The pieces a caller reaches for most often, spelled without the layer in /// between. pub const ObjectId = asn1.ObjectId; pub const Message = protocol.Message; pub const Pdu = protocol.Pdu; pub const Value = protocol.Value; pub const VarBind = protocol.VarBind; pub const Version = protocol.Version; test { testing.refAllDecls(@This()); _ = protocol; _ = Client; _ = usm; _ = Receiver; _ = Mibs; }