summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-11-17 14:50:54 +0000
committerLennart Poettering <lennart@poettering.net>2005-11-17 14:50:54 +0000
commit2fde7bcf7507b18c0f0c828cd5ae011c90d01a04 (patch)
treee30c551608848b607ccda81d848f65bec835e198
parente86a0be5fac4db7b94433b65b87030b04d68f61d (diff)
downloadavahi-2fde7bcf7507b18c0f0c828cd5ae011c90d01a04.tar.gz
* update API-CHANGES-0.6
* update automatically generated C++ test git-svn-id: file:///home/lennart/svn/public/avahi/trunk@994 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rw-r--r--docs/API-CHANGES-0.622
-rw-r--r--tests/c-plus-plus-test.cc4
2 files changed, 23 insertions, 3 deletions
diff --git a/docs/API-CHANGES-0.6 b/docs/API-CHANGES-0.6
index 9307688..c29dd56 100644
--- a/docs/API-CHANGES-0.6
+++ b/docs/API-CHANGES-0.6
@@ -1,7 +1,7 @@
-*-text-*-
-A terse list of API changes between 0.5.2 and 0.6:
+A terse (and incomplete) list of API changes between 0.5.2 and 0.6:
* Most browsing and registration functions and their callbacks gained
new "flags" parameters. Passing 0 results in similar behaviour as
@@ -55,7 +55,23 @@ A terse list of API changes between 0.5.2 and 0.6:
* AVAHI_ERR_LOCAL_COLLISION has been renamed to AVAHI_ERR_COLLSION
- * The values of AVAHI_PROTO_xxx have changed, they are no longer identical to
- the BSD AF_xxx constants
+ * The values of AVAHI_PROTO_xxx have changed, they are no longer
+ identical to the BSD AF_xxx constants
+
+ * avahi_client_new() now takes an additional flags parameter. Most
+ interesting flag here is AVAHI_CLIENT_NO_FAIL, which can be used to
+ create an AvahiClient object even when the daemon is not
+ running. This is useful to deal with daemon restarts.
+
+ * AvahiClient gained a new state AVAHI_CLIENT_FAILURE. (superseding
+ AVAHI_CLIENT_DISCONNECTED). If this event happens,
+ avahi_client_errno() will return the reason. If the error returned
+ is AVAHI_ERR_DISCONNECTED, the situation where
+ AVAHI_CLIENT_DISCONNECTED was previously thrown is entered. You may
+ choose to reconnect in that case by freeing your AvahiClient new
+ and create a new one with passing AVAHI_CLIENT_NO_FAIL.
+
+ * There's now a client side AvahiRecordBrowser, and
+ avahi_entry_group_add_record().
$Id$
diff --git a/tests/c-plus-plus-test.cc b/tests/c-plus-plus-test.cc
index fcdc7a4..947aa44 100644
--- a/tests/c-plus-plus-test.cc
+++ b/tests/c-plus-plus-test.cc
@@ -40,12 +40,14 @@
#include <avahi-common/strlst.h>
#include <avahi-common/timeval.h>
#include <avahi-common/watch.h>
+#include <avahi-core/addr-util.h>
#include <avahi-core/announce.h>
#include <avahi-core/browse.h>
#include <avahi-core/cache.h>
#include <avahi-core/core.h>
#include <avahi-core/dns-srv-rr.h>
#include <avahi-core/dns.h>
+#include <avahi-core/domain-util.h>
#include <avahi-core/fdutil.h>
#include <avahi-core/hashmap.h>
#include <avahi-core/iface-linux.h>
@@ -61,6 +63,7 @@
#include <avahi-core/querier.h>
#include <avahi-core/query-sched.h>
#include <avahi-core/response-sched.h>
+#include <avahi-core/rr-util.h>
#include <avahi-core/rr.h>
#include <avahi-core/rrlist.h>
#include <avahi-core/socket.h>
@@ -71,6 +74,7 @@
#include <avahi-client/internal.h>
#include <avahi-client/lookup.h>
#include <avahi-client/publish.h>
+#include <avahi-client/xdg-config.h>
#include <avahi-glib/glib-malloc.h>
#include <avahi-glib/glib-watch.h>