[libvirt] [snmp PATCH 08/20] libvirtSnmp: Rewrite some functions