mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-26 12:10:53 +03:00
12 lines
344 B
C
12 lines
344 B
C
|
#pragma once
|
||
|
|
||
|
#include <stdbool.h>
|
||
|
#include <arpa/inet.h>
|
||
|
#include "params.h"
|
||
|
#include "pools.h"
|
||
|
|
||
|
bool LoadIncludeIpsets();
|
||
|
bool LoadExcludeIpsets();
|
||
|
bool SearchIpset(const ipset *ips, const struct in_addr *ipv4, const struct in6_addr *ipv6);
|
||
|
bool IpsetCheck(struct desync_profile *dp, const struct in_addr *ipv4, const struct in6_addr *ipv6);
|