package netsnmp

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

Install

Dune Dependency

Authors

Maintainers

Sources

netsnmp-v0.12.0.tar.gz
sha256=94a73fdf5d051655b9c2357f73c436d6b9e9104254ce48b0c0e95267c9b3f322
md5=02ad13086ae11823525e20a2bc48409b

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.