auth-stream.c revision b4205cfdf6eb4ca8ea7d01fbdcf77d9c9ad6ae72
/* Copyright (c) 2005-2011 Dovecot authors, see the included COPYING file */
#include "auth-common.h"
#include "str.h"
#include "strescape.h"
#include "ostream.h"
#include "auth-request.h"
#include "auth-stream.h"
struct auth_stream_reply {
};
{
struct auth_stream_reply *reply;
return reply;
}
{
}
/* escape dangerous characters in the value */
}
}
static bool
{
i = 0;
while (str[i] != '\0') {
start = i;
for (; str[i] != '\0'; i++) {
if (str[i] == '\t')
break;
}
return TRUE;
}
if (str[i] == '\t')
i++;
}
return FALSE;
}
{
return;
/* remove also trailing tab */
len++;
/* removing last item, remove preceding tab */
len++;
idx--;
}
}
const char *key)
{
return NULL;
else {
/* key without =value */
return "";
}
}
}
{
}
{
}
{
}
{
}
{
}
{
}
{
}