ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/util.C
(Generate patch)

Comparing gvpe/src/util.C (file contents):
Revision 1.25 by root, Tue Mar 8 17:33:31 2011 UTC vs.
Revision 1.26 by root, Wed Jul 17 05:34:17 2013 UTC

292 292
293#endif 293#endif
294 294
295/*****************************************************************************/ 295/*****************************************************************************/
296 296
297void hexdump (const char *header, void *data, int len)
298{
299 u8 *p = (u8 *)data;
300
301 printf ("%s:", header);
302
303 while (len--)
304 printf (" %02x", *p++);
305
306 printf ("\n");
307}
308
309/*****************************************************************************/
310
297#if ENABLE_HTTP_PROXY 311#if ENABLE_HTTP_PROXY
298// works like strdup 312// works like strdup
299u8 * 313u8 *
300base64_encode (const u8 *data, unsigned int len) 314base64_encode (const u8 *data, unsigned int len)
301{ 315{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines