diff options
author | Pekka Pessi <Pekka.Pessi@nokia.com> | 2009-10-08 19:47:15 +0300 |
---|---|---|
committer | Aki Niemi <aki.niemi@nokia.com> | 2009-10-09 12:54:04 +0300 |
commit | d1d870ba7a037773ae731a21b9707df8dcb47992 (patch) | |
tree | 793bcae692a3e9aab6f1839b0a762a702cd04cf8 /AUTHORS | |
parent | 8778826638d3f563b7a26746f05e2d0c47a9e238 (diff) | |
download | ofono-d1d870ba7a037773ae731a21b9707df8dcb47992.tar.bz2 |
Refactor subblock iterators.
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.
Diffstat (limited to 'AUTHORS')
-rw-r--r-- | AUTHORS | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,4 +12,4 @@ Alexander Kanavin <alexander.kanavin@nokia.com> Ismo Puustinen <ismo.h.puustinen@nokia.com> Zhenhua Zhang <zhenhua.zhang@intel.com> Jukka Saunamäki <jukka.saunamaki@nokia.com> -Pekka Pessi <ppessi@gmail.com> +Pekka Pessi <pekka.pessi@nokia.com> |