X-Git-Url: https://git.distorted.org.uk/~mdw/mLib/blobdiff_plain/18c831dcd0ae4d660c70ccac69d27ed2a97851be..804935b97e0b73f4456e2c0661c7ca1c7ef7ad34:/codec/hex.h diff --git a/codec/hex.h b/codec/hex.h index 3fee0ea..db79530 100644 --- a/codec/hex.h +++ b/codec/hex.h @@ -34,6 +34,10 @@ /*----- Header files ------------------------------------------------------*/ +#ifndef MLIB_CODEC_H +# include "codec.h" +#endif + #ifndef MLIB_DSTR_H # include "dstr.h" #endif @@ -92,6 +96,10 @@ extern void hex_decode(hex_ctx */*ctx*/, const void */*p*/, size_t /*sz*/, extern void hex_init(hex_ctx */*ctx*/); +/*----- Codec object interface --------------------------------------------*/ + +extern const codec_class hex_class; + /*----- That's all, folks -------------------------------------------------*/ #ifdef __cplusplus