package netsnmp

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

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.