package netsnmp

  1. Overview
  2. Docs
An interface to the Net-SNMP client library

Install

Dune Dependency

Authors

Maintainers

Sources

netsnmp-v0.13.0.tar.gz
sha256=c8709405886c7e2844259dd8bd1a0eff9baf64cd39749b0c185696d79eeac214
md5=26abf4e283a814020c36a099d9387b4b

doc/netsnmp.raw/Netsnmp_raw/Pdu/index.html

Module Netsnmp_raw.Pdu

type t
module Pdu_type : sig ... end
val snmp_pdu_create : Pdu_type.t -> t

snmp_pdu_create pdu_type creates a PDU of the specified type, the associated memory is not part of the OCaml heap.

The PDU will be freed when the OCaml memory is garbage collected

val snmp_add_null_var : t -> Oid.t -> t

snmp_add_null_var adds an oid to a pdu with a null value. Used to build a request PDU

val snmp_add_variable : t -> Oid.t -> ASN1_value.t -> t

snmp_add_variable adds an oid and value to a pdu Used to build a request PDU

OCaml

Innovation. Community. Security.