hex-binary.c revision 89a126810703c666309310d0f3189e9834d70b5b
/* Copyright (c) 2002-2007 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "buffer.h"
#include "hex-binary.h"
static const char *
{
size_t i;
int value;
/* @UNSAFE */
for (i = 0; i < size; i++) {
}
*p = '\0';
return buf;
}
{
}
{
}
{
int value;
while (*data != '\0') {
else
return -1;
data++;
else
return -1;
data++;
}
return 0;
}