Use strings to identify section types in the on-disk repo format.
authorJames Bowes <jbowes@redhat.com>
Wed, 9 Jul 2008 12:16:08 +0000 (08:16 -0400)
committerKristian Høgsberg <krh@redhat.com>
Wed, 9 Jul 2008 14:11:13 +0000 (10:11 -0400)
commitbad9d8fd033c8f2bf5c08436a16442783a3d8549
treeb106416c15c2882dd30344d5f44a8a9df6d1ff3d
parent48047240d3157ef9f8525ccd9d5c2342eb10abc6
Use strings to identify section types in the on-disk repo format.

Previously, a given razor file type had a fixed number of sections in a
fixed order, identified by an integer type. Now, sections are identified
by a named string (stored in a string pool after the section lists).

This will allow for razor files to contain arbitrary sections.

For bonus points, also drop the 4k section alignment and change the
magic byte string to "RZDB".
TODO
librazor/razor-internal.h
librazor/razor.c