package netsnmp

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

Install

Dune Dependency

Authors

Maintainers

Sources

netsnmp-v0.15.0.tar.gz
sha256=4c9b6bae3b61d85d92f80fb5c0fe3fd6db498512eeaa3d332eed284f4693d269

doc/src/netsnmp.raw_monad/pdu_monad.ml.html

Source file pdu_monad.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
open! Import

module Pdu(IO : Io_intf.S) : Pdu_intf.S with module IO := IO = struct
  include Pdu

  let snmp_pdu_create pdu_type =
    IO.wrap_mt Pdu.snmp_pdu_create pdu_type

  let snmp_add_null_var t oid =
    IO.wrap_mt (Pdu.snmp_add_null_var t) oid

  let snmp_add_variable t oid value =
    IO.wrap_mt (Pdu.snmp_add_variable t oid) value
end
OCaml

Innovation. Community. Security.