NetSNMP 0.1.1 → 0.1.2
raw patch · 2 files changed
+3/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- NetSNMP.cabal +1/−1
- src/Network/Protocol/NetSNMP.hsc +2/−2
NetSNMP.cabal view
@@ -1,6 +1,6 @@ Name: NetSNMP-Version: 0.1.1+Version: 0.1.2 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
@@ -175,7 +175,7 @@ -- |ASN.1 constants from snmp_impl.h and asn1.h-#{enum CInt ,+#{enum CUChar , , asn_boolean = ASN_BOOLEAN , asn_integer = ASN_INTEGER , asn_bit_str = ASN_BIT_STR@@ -561,7 +561,7 @@ peekVariableNext :: Ptr CVarList -> Trouble (Ptr CVarList) peekVariableNext rv = hoistT $ #{peek struct variable_list , next_variable} rv -peekVariableType :: Ptr CVarList -> Trouble CInt+peekVariableType :: Ptr CVarList -> Trouble CUChar peekVariableType rv = hoistT $ #{peek struct variable_list , type} rv peekVariableValBits :: Ptr CVarList -> Trouble (Ptr CUChar)