Add 'make test'

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Add travis

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
test: check basic header parsing/printing

This test currently fails (!)

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Fix travis

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
test: check the padding length

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
tar: marshal the link_indicator and link_name correctly

This fixes the unit test.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Add some OASIS autogen stuff

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
tar: start using cstruct internally to replace some string manipulation

The interface hasn't been changed yet.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
tar: replace ad-hoc split functions with Re_str.split

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
tar: remove overload of standard library String module

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Fix travis

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
tar: add a function ;allzeroes' to check for zero Cstruct.ts

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
tar: move the Unix I/O into Tar_unix

We'll add Tar_lwt soon.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
tar: main API now exposes Cstruct.t rather than strings

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Merge pull request #1 from djs55/cstruct

Main API now uses cstruct