/* Copyright (c) 2011-2018 Dovecot authors, see the included COPYING file */
#include "auth-common.h"
#include "ioloop.h"
#include "net.h"
#include "istream.h"
#include "ostream.h"
#include "llist.h"
#include "str.h"
#include "strescape.h"
#include "str-sanitize.h"
#include "master-service.h"
#include "userdb.h"
#include "auth-postfix-connection.h"
#include <unistd.h>
struct auth_postfix_connection {
int refcount;
int fd;
char *path;
};
static bool
const char *username,
{
return FALSE;
}
return TRUE;
}
static void
{
const char *value;
switch (result) {
else
break;
break;
case USERDB_RESULT_OK:
break;
}
}
static bool
{
const char *error;
&auth_request, &error)) {
} else {
}
return TRUE;
}
static bool
{
i_error("BUG: Unknown command in postfix socket: %s",
return FALSE;
}
{
char *line;
bool ret;
case 0:
return;
case -1:
/* disconnected */
return;
case -2:
/* buffer full */
i_error("BUG: Postfix sent us more than %d bytes",
(int)MAX_INBUF_SIZE);
return;
}
T_BEGIN {
} T_END;
if (!ret) {
return;
}
}
}
struct auth_postfix_connection *
{
return conn;
}
static void
{
return;
}
{
}
static void
{
return;
}
void auth_postfix_connections_destroy_all(void)
{
while (auth_postfix_connections != NULL) {
}
}