mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-23 14:53:18 +00:00
11 lines
384 B
C
11 lines
384 B
C
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
#include "strpool.h"
|
|
|
|
bool AppendHostList(strpool **hostlist, char *filename);
|
|
bool LoadHostLists(strpool **hostlist, struct str_list_head *file_list);
|
|
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);
|