mirror of
https://github.com/bol-van/zapret.git
synced 2025-08-10 01:02:03 +03:00
winws: return removed dp_list_have_autohostlist()
This commit is contained in:
@@ -228,3 +228,11 @@ void dp_list_destroy(struct desync_profile_list_head *head)
|
||||
dp_entry_destroy(entry);
|
||||
}
|
||||
}
|
||||
bool dp_list_have_autohostlist(struct desync_profile_list_head *head)
|
||||
{
|
||||
struct desync_profile_list *dpl;
|
||||
LIST_FOREACH(dpl, head, next)
|
||||
if (dpl->dp.hostlist_auto)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user