NetSNMP 0.3.0.4 → 0.3.0.5
raw patch · 2 files changed
+2/−7 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Network.Protocol.NetSNMP: type OIDpart = CUInt
+ Network.Protocol.NetSNMP: type OIDpart = Word32
Files
- NetSNMP.cabal +1/−1
- src/Network/Protocol/NetSNMP.hsc +1/−6
NetSNMP.cabal view
@@ -1,6 +1,6 @@ Name: NetSNMP-Version: 0.3.0.4+Version: 0.3.0.5 Synopsis: Bindings for net-snmp's C API for clients Description: Network.Protocol.NetSNMP is a partial binding to the library portion of the net-snmp package. It uses the
src/Network/Protocol/NetSNMP.hsc view
@@ -67,12 +67,7 @@ sizeOf _ = #size struct snmp_pdu alignment _ = 16 -#ifdef EIGHTBIT_SUBIDS-type OIDpart = CUChar -- C typedef oid-#else-type OIDpart = CUInt-#endif-+type OIDpart = #{type oid} type RawOID = [OIDpart] showOid :: RawOID -> String