mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-30 21:20:33 +05:00
14 lines
498 B
C
14 lines
498 B
C
|
#pragma once
|
||
|
|
||
|
#include <stdbool.h>
|
||
|
#include "pools.h"
|
||
|
#include "params.h"
|
||
|
|
||
|
bool AppendHostList(strpool **hostlist, char *filename);
|
||
|
bool LoadHostLists(strpool **hostlist, struct str_list_head *file_list);
|
||
|
bool LoadIncludeHostLists();
|
||
|
bool LoadExcludeHostLists();
|
||
|
bool NonEmptyHostlist(strpool **hostlist);
|
||
|
bool SearchHostList(strpool *hostlist, const char *host);
|
||
|
// return : true = apply fooling, false = do not apply
|
||
|
bool HostlistCheck(struct desync_profile *dp,const char *host, bool *excluded);
|