1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-03-09 23:38:56 +00:00

miracled: implement Start/StopScan

Both dbus commands allow external programs to make our device discoverable
for P2P devices and also start scanning for remote devices.

The commands are *not* ref-counted right now, so parallel use is
discouraged. However, these commands can interrupt normal operations on a
wifi-device anyway, so if used in parallel, it is very like to break.
Thus, keep the interface simple and require callers to do
access-management (it's root-only, anyway..).

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
This commit is contained in:
David Herrmann 2014-02-10 16:56:59 +01:00
parent 8bcf3348e8
commit e60e678d40
3 changed files with 42 additions and 2 deletions

View file

@ -108,6 +108,9 @@ void link_free(struct link *l);
int link_set_friendly_name(struct link *l, const char *name);
int link_start_scan(struct link *l);
void link_stop_scan(struct link *l);
/* manager */
struct manager {