summaryrefslogtreecommitdiffstats
path: root/gisi/iter.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-10gisi: Update copyright informationMarcel Holtmann1-1/+1
2011-03-04gisi: M6 coding style violation correctionsAntti Paila1-8/+8
2011-03-03gisi: Consumer functions for ISI message iteratorAntti Paila1-0/+63
2010-12-22gisi: Minor style fixesAki Niemi1-8/+15
2010-12-22gisi: Explicit compare to NULLAki Niemi1-4/+4
2010-12-22gisi: Add constructor for sub-iteratorsAki Niemi1-0/+31
This is needed for decoding messages that include sub-blocks within sub-blocks.
2010-12-22gisi: Add convenience API for structsAki Niemi1-0/+9
2010-12-22gisi: Make subblock iterator use new message APIAki Niemi1-4/+12
2010-11-29gisi: explicitly compare pointers to NULLLucas De Marchi1-1/+1
This patch was generated by the following semantic patch (http://coccinelle.lip6.fr/) // <smpl> @fix disable is_null,isnt_null1@ expression *E; @@ - !E + E == NULL // </smpl>
2010-10-14gisi: Fix copyright and license boilerplateAki Niemi1-14/+12
2010-05-27Eliminated bool, true and false from gisiPekka Pessi1-37/+36
2010-04-20gisi: fix pointer checkingAki Niemi1-2/+2
2009-10-14gisi: Add getter for sub-block dataAki Niemi1-26/+33
Also fix indentation and change int->unsigned in the API.
2009-10-09Refactor subblock iterators.Pekka Pessi1-19/+41
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-14/+15
2009-09-16Fix restrict keyword usageAki Niemi1-1/+1
2009-09-14Add support for long sub-block headerAki Niemi1-24/+39
2009-09-14Add and modify string gettersAki Niemi1-5/+25
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/+155