doc/file-format: Use syntax highlighting for data structures

Signed-off-by: Pekka Enberg <penberg@kernel.org>
Update pstore file format specification

Signed-off-by: Pekka Enberg <penberg@kernel.org>
Re-format and update README file

Signed-off-by: Pekka Enberg <penberg@kernel.org>
Remove JNI bindings

This removes pstore JNI bindings. If we *really* want Java bindings for
the C library, we should use JNA instead. However, it's likely that a
pure Java implementation will be more efficient solution.

Signed-off-by: Pekka Enberg <penberg@kernel.org>
Fix error handling in library code

Library code should not call die(). Fixes #7.

Signed-off-by: Pekka Enberg <penberg@kernel.org>
Move die() function definition out of library code

Make sure that die() cannot be called from library code.

Signed-off-by: Pekka Enberg <penberg@kernel.org>