ofono/gisi
Pekka Pessi d1d870ba7a 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.
2009-10-09 12:54:04 +03:00
..
client.c gisi: Add ISI version and reachability check API 2009-09-15 15:35:47 +03:00
client.h gisi: Add ISI version and reachability check API 2009-09-15 15:35:47 +03:00
iter.c Refactor subblock iterators. 2009-10-09 12:54:04 +03:00
iter.h Refactor subblock iterators. 2009-10-09 12:54:04 +03:00
modem.h gisi: low-level modem scoping for sockets 2009-08-19 17:07:15 +03:00
netlink.c gisi: cannot do ioctl() with Netlink sockets, use local instead 2009-09-10 17:44:01 +03:00
netlink.h gisi: provide modem identifier through Netlink API 2009-08-19 17:07:15 +03:00
pep.c gisi: return GPRS interface index/name 2009-08-28 15:20:27 +03:00
pep.h gisi: return GPRS interface index/name 2009-08-28 15:20:27 +03:00
phonet.h Phonet: missing SOL_PNPIPE definition 2009-08-19 17:07:16 +03:00
pipe.c gisi: Getter function for pipe handle 2009-09-01 13:42:15 +03:00
pipe.h gisi: Getter function for pipe handle 2009-09-01 13:42:15 +03:00
socket.c gisi: warn if GIsiModem is missing rather than fail 2009-08-19 17:07:15 +03:00
socket.h gisi: low-level modem scoping for sockets 2009-08-19 17:07:15 +03:00
verify.c gisi: Make reachability detection more robust 2009-09-16 23:37:23 +03:00