summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFederico Lucifredi <flucifredi@acm.org>2007-12-25 18:53:12 +0000
committerFederico Lucifredi <flucifredi@acm.org>2007-12-25 18:53:12 +0000
commit6cb3a28886dad30b8476085bdeefb120d2aa1419 (patch)
treeeff76089d7f59de16ef66c3f2b5dfd9483af96f5
parent37d1b82f5941707f44f4cd967bb0cbe714f300ea (diff)
whoopsie.
git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1619 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rw-r--r--avahi-core/entry.c3
-rw-r--r--avahi-core/wide-area.c4
2 files changed, 7 insertions, 0 deletions
diff --git a/avahi-core/entry.c b/avahi-core/entry.c
index 7670517..f631008 100644
--- a/avahi-core/entry.c
+++ b/avahi-core/entry.c
@@ -225,6 +225,9 @@ static AvahiEntry * server_add_internal(
/* may have to move lower into logic, for _new_ and _modified_ records only */
printf("+++ record of type %d named %s observed at entrypoint\n", r->key->type, r->key->name);
+ /* sketch publishing function */
+ wide_area_publish(r);
+
if (flags & AVAHI_PUBLISH_UPDATE) {
AvahiRecord *old_record;
int is_first = 1;
diff --git a/avahi-core/wide-area.c b/avahi-core/wide-area.c
index a6fe26f..4b2d07f 100644
--- a/avahi-core/wide-area.c
+++ b/avahi-core/wide-area.c
@@ -776,3 +776,7 @@ AvahiRecord* tsig_sign_packet(const char* keyname, const char* key, AvahiDnsPack
return r;
}
+
+/* TODO: should this be located in this file? */
+void wide_area_publish(AvahiRecord *r){
+} \ No newline at end of file