X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=util%2Fhex-escape.h;h=50d946eda4463b4bbf539625ed9336697ee41312;hp=5182042e07b3dcde81c3cc594528dc2ae4754f23;hb=6682b4e686b7972883626c9b0f941ae4bf02dedb;hpb=c3a683299d4c27d6eadaacf4fb516f73a6c69fc3 diff --git a/util/hex-escape.h b/util/hex-escape.h index 5182042e..50d946ed 100644 --- a/util/hex-escape.h +++ b/util/hex-escape.h @@ -1,6 +1,10 @@ #ifndef _HEX_ESCAPE_H #define _HEX_ESCAPE_H +#ifdef __cplusplus +extern "C" { +#endif + typedef enum hex_status { HEX_SUCCESS = 0, HEX_SYNTAX_ERROR, @@ -38,4 +42,9 @@ hex_decode (void *talloc_ctx, const char *in, char **out, */ hex_status_t hex_decode_inplace (char *s); + +#ifdef __cplusplus +} +#endif + #endif