xapian-bridge C port

endlessm/eos-sdk#2463
Consider a short comment saying that `path_spec_keys` is not optional as an out parameter, since the usual pattern is to allow passing `NULL` if you aren't interested in the out parameter.