/* Copyright (c) 2007-2018 Dovecot authors, see the included COPYING file */
#include "test-lib.h"
#include "net.h"
struct test_net_is_in_network_input {
const char *ip;
const char *net;
unsigned int bits;
bool ret;
};
static void test_net_is_in_network(void)
{
};
unsigned int i;
test_begin("net_is_in_network()");
for (i = 0; i < N_ELEMENTS(input); i++) {
}
/* make sure non-IPv4 and non-IPv6 ip_addrs fail */
test_end();
}
static void test_net_ip2addr(void)
{
test_begin("net_ip2addr()");
test_end();
}
static void test_net_str2hostport(void)
{
const char *host;
test_begin("net_str2hostport()");
/* [IPv6] */
/* IPv6 */
/* host */
/* edge cases with multiple ':' - currently these don't return errors,
but perhaps they should. */
test_end();
}
void test_net(void)
{
}