/* Copyright (c) 2009-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "array.h"
#include "net.h"
#include "istream.h"
#include "hash.h"
#include "strescape.h"
#include "time-util.h"
#include "doveadm.h"
#include "doveadm-print.h"
#include <unistd.h>
struct penalty_line {
unsigned int penalty;
};
struct penalty_context {
const char *anvil_path;
unsigned int net_bits;
};
{
const char *ident = args[0];
}
static void
const struct penalty_line *line)
{
return;
}
}
{
const char *line;
int fd;
if (*line == '\0')
break;
T_BEGIN {
} T_END;
}
if (input->stream_errno != 0) {
}
}
{
const char *netmask;
return;
}
}
doveadm_print_header_simple("IP");
doveadm_print_header_simple("penalty");
doveadm_print_header_simple("last_penalty");
doveadm_print_header_simple("last_update");
}
.name = "penalty",
.cmd = cmd_penalty,
};