utils/versioncmp.h: Add a wrapper macro for `versioncmp'.
[mLib] / codec / hex.h
index 3fee0ea..db79530 100644 (file)
 
 /*----- 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