
Hi!
libsmi 0.1.5 has just been released. Besides a few bugfixes it contains some tests that can be used to check the library and the tools if you have SNMPv2-MIB, IF-MIB, MAU-MIB, RMON2-MIB, and all dependant MIB modules installed. Some API structs and functions have been revised to increase efficiency, namely OIDs are now represented by int[] instead of a string, and some more knowledge on the underlying MIB language gets hidden from applications.
As usual, information on the libary and the actual code may be found at
http://www.ibr.cs.tu-bs.de/projects/libsmi/ ftp://ftp.ibr.cs.tu-bs.de/pub/local/libsmi/
Frank -- !! This message is brought to you via the `libsmi' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to libsmi-request@ibr.cs.tu-bs.de. !! See http://www.ibr.cs.tu-bs.de/projects/libsmi/ for more information.

Hi,
it looks like some nodes may get corrupted if multiple SMI files are loaded.
This example dumps core for me:
#include "smi.h"
int main (int argc, char *argv[]) { SmiNode * node;
smiInit(); smiSetErrorLevel(10); smiSetFlags(SMI_ERRORS|SMI_STATS);
smiLoadModule("SNMPv2-SMI"); smiLoadModule("SNMPv2-TC"); smiLoadModule("SNMPv2-CONF"); smiLoadModule("SNMPv2-MIB"); smiLoadModule("RFC-1212"); smiLoadModule("RFC1155-SMI"); smiLoadModule("RFC1213-MIB");
/* This call crashes with a nice little core :) */ node = smiGetNode("ifAdminStatus", NULL); }
Cheers, Jochen
-- !! This message is brought to you via the `libsmi' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to libsmi-request@ibr.cs.tu-bs.de. !! See http://www.ibr.cs.tu-bs.de/projects/libsmi/ for more information.
participants (2)
-
Frank Strauss
-
Jochen Friedrich