diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-12-12 21:02:44 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-12-12 21:02:44 +0100 |
commit | 1946f54fc6380ee57dcd3f2f491270c7b08a8479 (patch) | |
tree | c3eb9ae2974db60ac3d7742ffe922c8485da49b1 /avahi-core/core.h | |
parent | 7289ee4063da05f276bce22685312baa83f0f117 (diff) |
allow/deny interfaces support
Original patch from Skinkie. Heavily modified by Lennart Poettering.
Closes #212.
Diffstat (limited to 'avahi-core/core.h')
-rw-r--r-- | avahi-core/core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/avahi-core/core.h b/avahi-core/core.h index 55aafe2..94d1970 100644 --- a/avahi-core/core.h +++ b/avahi-core/core.h @@ -47,6 +47,8 @@ typedef struct AvahiServerConfig { char *domain_name; /**< Default domain name. If left empty defaults to .local */ int use_ipv4; /**< Enable IPv4 support */ int use_ipv6; /**< Enable IPv6 support */ + AvahiStringList *allow_interfaces;/**< Allow specific interface to be used for Avahi */ + AvahiStringList *deny_interfaces; /**< Deny specific interfaces to be used for Avahi */ int publish_hinfo; /**< Register a HINFO record for the host containing the local OS and CPU type */ int publish_addresses; /**< Register A, AAAA and PTR records for all local IP addresses */ int publish_workstation; /**< Register a _workstation._tcp service */ |