vissermc@gmail.com wrote:
Full_Name: Michiel Visser Version: 2.4.35 OS: Linux URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (88.159.211.22)
The MDB documentation must specify what is expected of MDB_cmp_func. I assume it must return -1,0,1 depending on the order, similar to ansi compare functions, but it is not trivial, nor all will know.
The mdb_cmp() description already describes the return values. Users of the library are expected to be able to associate related concepts.