xapian-bridge C port

endlessm/eos-sdk#2463
nitpick, optional: I don't think the style guide says anything about this but we don't vertically align the `\`s anywhere else.