2024-10-28 09:32:24 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include "pools.h"
|
|
|
|
#include "params.h"
|
|
|
|
|
2024-10-13 17:26:25 +03:00
|
|
|
bool AppendHostList(strpool **hostlist, const char *filename);
|
2024-10-28 09:32:24 +03:00
|
|
|
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);
|