isds_guess_raw_type() addedversion42
commit18ea0db3817e71e6160ca017d3d38f216a6d0dff
authorPetr Písař <petr.pisar@atlas.cz>
Sun, 18 Apr 2010 10:05:54 +0000 (18 12:05 +0200)
committerPetr Písař <petr.pisar@atlas.cz>
Sun, 18 Apr 2010 19:43:37 +0000 (18 21:43 +0200)
treee5640d296872e01eefcc8557832e1fef160579c4
parentbb5abaa5ba1ba6a71c8951ec7a355c609390c229
isds_guess_raw_type() added

This function detects content type of ISDS data structure. It can be used to
determine raw type of data passed to isds_load_{message|delivery}().

Test guess_raw_type added too.
TODO: Test incoming messages and unsigned delivery info.
src/isds.c
test/guess_raw_type.c