mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +00:00
add option --use-dev to miracle-wifid to workaround the 'no ifname' issue
This commit is contained in:
parent
a9266e5055
commit
3886dcb7c7
4 changed files with 27 additions and 1 deletions
|
@ -135,6 +135,7 @@ struct link {
|
|||
|
||||
bool managed : 1;
|
||||
bool public : 1;
|
||||
bool use_dev : 1;
|
||||
};
|
||||
|
||||
#define link_from_htable(_l) \
|
||||
|
@ -153,6 +154,10 @@ int link_new(struct manager *m,
|
|||
struct link **out);
|
||||
void link_free(struct link *l);
|
||||
|
||||
/* workaround for the 'no ifname' issue */
|
||||
void link_use_dev(struct link *l);
|
||||
bool link_is_using_dev(struct link *l);
|
||||
|
||||
void link_set_managed(struct link *l, bool set);
|
||||
int link_renamed(struct link *l, const char *ifname);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue