
Good afternoon, Libsmi distro
I have code to contribute to the libsmi library. During the development of one of IEEE 802.3.1 standard revisions, a need for the configurable control of the line width became apparent to reprint existing MIBs into a line-width controlled format (via smidump). The parameter controlling the line width is hard coded right now so I have extended the existing parameter set with -w (--width) parametrization, which allows to set the line width for multiline printing function. I also had to rewrite the multiline printing function to properly account for whole word delimiters to provide a more visually acceptable output.
I have modified code available for review (there are in total 5-6 files I had to touch).
The code is written in C and compiled on Ubuntu 22.04 with all latest libraries for test purposes.
What would be the best way to share the code, have it reviewed, and perhaps pulled into the GIT repository? My goal, at the end of the day, is to make sure that the updated code with -w parameter support is included in future Linux distros, to facilitate SMIv2 code development for folks.
Regards
Marek Hajduczenia