summaryrefslogtreecommitdiffstats
path: root/gisi/iter.h
AgeCommit message (Collapse)AuthorFilesLines
2010-10-14gisi: Fix copyright and license boilerplateAki Niemi1-14/+12
2010-05-27Eliminated bool, true and false from gisiPekka Pessi1-12/+11
2009-10-14gisi: Add getter for sub-block dataAki Niemi1-11/+13
Also fix indentation and change int->unsigned in the API.
2009-10-09Refactor subblock iterators.Pekka Pessi1-4/+13
Always initialize iterators. Try to avoid pointer arithmetics on NULL; in other words, move all pointer arithmetics inside g_isi_sb_iter_init(). There are 4 different ways for representing sub blocks in ISI message: - 8-bit sub_blocks count, 8-bit sub_block_id/sub_block_len - 16-bit sub_blocks count, 8-bit sub_block_id/sub_block_len - 8-bit sub_blocks count, 16-bit sub_block_id/sub_block_len - 16-bit sub_blocks count, 16-bit sub_block_id/sub_block_len The compact form g_isi_sb_iter_init() supports 8-bit sub_block count before start of the sub blocks themselves and 8-bit sub_block_id and sub_block_len. The full form g_isi_sb_iter_init_full() with explicit longhdr and sub_block count supports all other cases.
2009-10-07gisi: use const and restrict in iterPekka Pessi1-13/+16
2009-09-16Fix restrict keyword usageAki Niemi1-1/+1
2009-09-14Add support for long sub-block headerAki Niemi1-5/+5
2009-09-14Add and modify string gettersAki Niemi1-1/+5
Add a getter for latin ASCII only tags, and change the alpha tag getter. Turns out not all alpha tags in ISI are of the length-value variety.
2009-09-14gisi: Add ISI sub-block iteratorAki Niemi1-0/+59