]> git.notmuchmail.org Git - notmuch/commit
util: make remaining headers includable from C++
authorDavid Bremner <david@tethera.net>
Sat, 2 Mar 2019 20:26:06 +0000 (16:26 -0400)
committerDavid Bremner <david@tethera.net>
Tue, 12 Mar 2019 01:26:50 +0000 (22:26 -0300)
commit152b6cac5d496aaad816d20d7b2286e9ac73207d
treeb3796f575398e2588d102b327572265e342afd47
parent9f7e851263b96acacc9ea542e9f5d837563fea05
util: make remaining headers includable from C++

libnotmuch_util.a is supposed to be usable from the library and the
CLI, but much the library is compiled as C++. Add in appropriate
wrapping to prevent symbol mangling. These wrappers already existed in
string-util.h; it seems better to be consistent.
util/crypto.h
util/error_util.h
util/gmime-extra.h
util/hex-escape.h
util/talloc-extra.h
util/xutil.h
util/zlib-extra.h