After trying to tweak gindent so that it does not mess-up my ASCII art, give
and read the help of Vim to setup 'cinoptions' according to my needs
(cino=t0(0). This changeset reindent some bits that where not indented as they
should. A future commit will reindent the switch/case according to my (bad)
taste now that I have setup cindent correctly on my system (cino=t0(0:0).
- New API function: tlv_append();
- Added unit tests for tlv_append();
- New internal functions: tlv_record_length(), tlv_next(), tlv_sequence_length();
- Rework tlv_decode() to use new internal functions.