X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fzebramap.c;h=ba301ab9cb559987cf7d9b8d0b601462d5e487de;hb=cd02e9c5558d2f0db2ab83fcad810a6522fd2319;hp=c6f3da91e20290148fe42889fbd4c6e942a8363d;hpb=96d166b6556cec66bc66cfc91b71e069288c051e;p=idzebra-moved-to-github.git diff --git a/util/zebramap.c b/util/zebramap.c index c6f3da9..ba301ab 100644 --- a/util/zebramap.c +++ b/util/zebramap.c @@ -342,6 +342,12 @@ zebra_maps_t zebra_maps_open(Res res, const char *base_path, return zms; } +void zebra_maps_define_default_sort(zebra_maps_t zms) +{ + zebra_map_t zm = zebra_add_map(zms, "s", ZEBRA_MAP_TYPE_SORT); + zm->u.sort.entry_size = 80; +} + zebra_map_t zebra_map_get(zebra_maps_t zms, const char *id) { zebra_map_t zm;