chiark
/
gitweb
/
~mdw
/
mLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
General build system spring-cleaning.
[mLib]
/
codec
/
hex.h
diff --git
a/codec/hex.h
b/codec/hex.h
index 3fee0ea5edd87036e42d9f626e73a9fe31131219..db79530b56437bf9498c37446fccfdfd471202bb 100644
(file)
--- a/
codec/hex.h
+++ b/
codec/hex.h
@@
-34,6
+34,10
@@
/*----- Header files ------------------------------------------------------*/
/*----- Header files ------------------------------------------------------*/
+#ifndef MLIB_CODEC_H
+# include "codec.h"
+#endif
+
#ifndef MLIB_DSTR_H
# include "dstr.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*/);
extern void hex_init(hex_ctx */*ctx*/);
+/*----- Codec object interface --------------------------------------------*/
+
+extern const codec_class hex_class;
+
/*----- That's all, folks -------------------------------------------------*/
#ifdef __cplusplus
/*----- That's all, folks -------------------------------------------------*/
#ifdef __cplusplus