doveadm-penalty.c revision bde78a7bf5f9000f1ae4dc7ce6cabd012e1f8b79
/* Copyright (c) 2009-2010 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "array.h"
#include "network.h"
#include "istream.h"
#include "hash.h"
#include "doveadm.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <time.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)
{
char buf[10];
return;
}
}
{
#define ANVIL_HANDSHAKE "VERSION\tanvil\t1\t0\n"
const char *line;
int fd;
if (*line == '\0')
break;
T_BEGIN {
struct penalty_line penalty_line;
} T_END;
}
if (input->stream_errno != 0)
}
{
struct penalty_context ctx;
int c;
switch (c) {
case 'a':
break;
default:
}
}
argv++;
}
}
struct doveadm_cmd doveadm_cmd_penalty = {
cmd_penalty, "penalty",
};