xapian-bridge C port

endlessm/eos-sdk#2463
Should have some comment indicating `transfer none` (whole gtk-doc spiel not needed IMO, though)