chiark
/
gitweb
/
~mdw
/
mLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test base64 and hex encoding.
[mLib]
/
hex.c
diff --git
a/hex.c
b/hex.c
index 93bc3de2a9ca3d3f69414e428cbe36697ec5a717..45b4f3353c1aec15bb82e3cd5698a68982419edd 100644
(file)
--- a/
hex.c
+++ b/
hex.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: hex.c,v 1.
1 2002/01/13 13:26:30
mdw Exp $
+ * $Id: hex.c,v 1.
2 2003/05/16 00:22:58
mdw Exp $
*
* Hexadecimal encoding and decoding.
*
*
* Hexadecimal encoding and decoding.
*
@@
-30,6
+30,9
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: hex.c,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: hex.c,v $
+ * Revision 1.2 2003/05/16 00:22:58 mdw
+ * Test base64 and hex encoding.
+ *
* Revision 1.1 2002/01/13 13:26:30 mdw
* New hex encoding stuff.
*
* Revision 1.1 2002/01/13 13:26:30 mdw
* New hex encoding stuff.
*
@@
-175,7
+178,7
@@
int main(int argc, char *argv[])
unsigned char buf[BUFSIZ];
dstr d = DSTR_INIT;
hex_ctx ctx;
unsigned char buf[BUFSIZ];
dstr d = DSTR_INIT;
hex_ctx ctx;
- void (*proc)(hex_ctx *, const
unsigned char
*, size_t, dstr *);
+ void (*proc)(hex_ctx *, const
void
*, size_t, dstr *);
size_t sz;
hex_init(&ctx);
size_t sz;
hex_init(&ctx);