mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-14 10:48:32 +05:00
12 lines
441 B
C
12 lines
441 B
C
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
#include "pools.h"
|
|
|
|
bool AppendHostList(strpool **hostlist, char *filename);
|
|
bool LoadHostLists(strpool **hostlist, struct str_list_head *file_list);
|
|
bool NonEmptyHostlist(strpool **hostlist);
|
|
bool SearchHostList(strpool *hostlist, const char *host);
|
|
// return : true = apply fooling, false = do not apply
|
|
bool HostlistCheck(strpool *hostlist, strpool *hostlist_exclude, const char *host, bool *excluded);
|