summaryrefslogtreecommitdiffstats
path: root/avahi-core/server.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-11-06 02:08:32 +0000
committerLennart Poettering <lennart@poettering.net>2005-11-06 02:08:32 +0000
commitfbce111b069aa1e4c701ed37ee1d9f6d6cefaac5 (patch)
tree73649d7fb6fc5d3742ad36ec0f1b7fc9f58b249e /avahi-core/server.c
parent05d7275c1d856fbe911e5e6af2c63bce8e766a53 (diff)
* add two new configuration file options: "disable-publishing" and "disable-user-service-publishing"
* add two new errors: NOT_PERMITTED and NOT_SUPPORTED * add two new publishing flags: AVAHI_PUBLISH_USE_MULTICAST, AVAHI_PUBLISH_USE_WIDE_AREA * return NOT_SUPPORTED when user tries to add RRs in wide area domains - for now git-svn-id: file:///home/lennart/svn/public/avahi/trunk@930 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/server.c')
-rw-r--r--avahi-core/server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/avahi-core/server.c b/avahi-core/server.c
index d92afac..0cc4d4e 100644
--- a/avahi-core/server.c
+++ b/avahi-core/server.c
@@ -1529,6 +1529,7 @@ AvahiServerConfig* avahi_server_config_init(AvahiServerConfig *c) {
c->n_wide_area_servers = 0;
c->disallow_other_stacks = 0;
c->browse_domains = NULL;
+ c->disable_publishing = 0;
return c;
}