
Ashok Kumar [ GVG DDF ] writes:
Now to the question: How I can get the table information form the MIB file, that is I want table name, table oid, column count, column names and index details.
Table and row nodes are special kinds of nodes (SMI_NODEKIND_TABLE, SMI_NODEKIND_ROW). All functions that operate on nodes can thus be used to retrieve table/entry nodes. See smi_node(3) for details.
The simplest thing to do is to look at the dump drivers of the smidump tool and to copy the code.
/js
-- !! 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.