package netsnmp

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Netsnmp_raw.PduSource

Sourcetype t
Sourcemodule Pdu_type : sig ... end
Sourceval 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

Sourceval 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

Sourceval 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.