mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-26 12:10:53 +03:00
winws: return removed dp_list_have_autohostlist()
This commit is contained in:
parent
1a722c1b78
commit
a6ef91124e
@ -228,3 +228,11 @@ void dp_list_destroy(struct desync_profile_list_head *head)
|
|||||||
dp_entry_destroy(entry);
|
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;
|
||||||
|
}
|
||||||
|
@ -90,6 +90,7 @@ struct desync_profile_list {
|
|||||||
LIST_HEAD(desync_profile_list_head, desync_profile_list);
|
LIST_HEAD(desync_profile_list_head, desync_profile_list);
|
||||||
struct desync_profile_list *dp_list_add(struct desync_profile_list_head *head);
|
struct desync_profile_list *dp_list_add(struct desync_profile_list_head *head);
|
||||||
void dp_list_destroy(struct desync_profile_list_head *head);
|
void dp_list_destroy(struct desync_profile_list_head *head);
|
||||||
|
bool dp_list_have_autohostlist(struct desync_profile_list_head *head);
|
||||||
|
|
||||||
struct params_s
|
struct params_s
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user