package netsnmp

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

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=f300b9773b47da231c63fd272e171011fc19c79438dd0f18415f59c962f402d2

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

Source file pdu_monad.ml

1
2
3
4
5
6
7
8
9
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.