
2009/1/11 Juergen Schoenwaelder j.schoenwaelder@jacobs-university.de:
On Sun, Jan 11, 2009 at 01:39:17PM +0100, Miroslav Berani?? ml. wrote:
There are no API functions to do this sort of thing. In general, I recommend to put just one module into a MIB file; this will also help with the resolution of imports.
Well, it is not up to me do decide about module number inside one MIB file; so... but I agree with you. I will try to arrange it that way.
For resolving imports, the libsmi parser looks for files with a matching name. If people put multiple modules into a single file, then libsmi needs to maintain an additional index in order to efficiently resolve imports, which just adds complexity.
/js
-- Juergen Schoenwaelder Jacobs University Bremen gGmbH Phone: +49 421 200 3587 Campus Ring 1, 28759 Bremen, Germany Fax: +49 421 200 3103 http://www.jacobs-university.de/
Would you say, libsmi is stable and production ready product?
Regards, Miroslav