diff options
Diffstat (limited to 'util-src/encodings.c')
-rw-r--r-- | util-src/encodings.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/util-src/encodings.c b/util-src/encodings.c index f99d3faf..cc7beef7 100644 --- a/util-src/encodings.c +++ b/util-src/encodings.c @@ -1,8 +1,6 @@ /*
-* xxpath.c
-* An implementation of a subset of xpath for Lua 5.1
-* Waqas Hussain <waqas20@gmail.com>
-* 05 Oct 2008 15:28:15
+* encodings.c
+* Lua library for base64, stringprep and idna encodings
*/
#include <string.h>
@@ -10,16 +8,6 @@ #include "lua.h"
#include "lauxlib.h"
-/*const char* hex_tab = "0123456789abcdef";
-void toHex(const char* in, int length, char* out) {
- int i;
- for (i = 0; i < length; i++) {
- out[i*2] = hex_tab[(in[i] >> 4) & 0xF];
- out[i*2+1] = hex_tab[(in[i]) & 0xF];
- }
- //out[i*2] = 0;
-}*/
-
/***************** BASE64 *****************/
#define uint unsigned int
|