package netsnmp

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

Install

Dune Dependency

Authors

Maintainers

Sources

netsnmp-v0.14.0.tar.gz
sha256=91a33e407dd1f5dc42ce5aaa5a65e0d65e19b454a129603a89c31d1461abe68f
md5=ae0c0a55bf466f9eca96543f4f2578e4

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

Source file pdu_monad.ml

1
2
3
4
5
6
7
8
9
10
open! Import

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

  let wrap = IO.wrap
  let snmp_pdu_create pdu_type  = wrap Pdu.snmp_pdu_create pdu_type
  let snmp_add_null_var t oid = wrap (Pdu.snmp_add_null_var t) oid 
  let snmp_add_variable t oid value = wrap (Pdu.snmp_add_variable t oid) value
end
OCaml

Innovation. Community. Security.