schema_syntax: Add comments for our index format functions
authorGarming Sam <garming@catalyst.net.nz>
Thu, 4 Apr 2019 21:22:28 +0000 (10:22 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 8 Apr 2019 02:07:23 +0000 (02:07 +0000)
commitdb584d50817b6d0dc186c0b00de47e4c2b6681cf
tree577362c2dd9998cafa358000fe71390152666496
parentc9b2a37268e793f2d8a8e3a6a340d2bc869f3f0e
schema_syntax: Add comments for our index format functions

We had to devise our own scheme for writing integers in a human readable
format which also sorted correctly numerically. This might look a bit
confusing to outsiders, so here's a large comment as a peace offering.

Pair-programmed-with: Tim Beale <timbeale@catalyst.net.nz>

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb-samba/ldif_handlers.c
lib/ldb/common/attrib_handlers.c