aboutsummaryrefslogtreecommitdiff
path: root/avahi-client
AgeCommit message (Collapse)Author
2015-08-21Fix LOCAL_EXPORT_C_INCLUDE_DIRS variable name.Robert Ginda
Change-Id: I662b8923190239856d025acf9458589ca69697ba
2015-08-20Add LOCAL_EXPORT_C_INCLUDESRobert Ginda
Change-Id: Ieec3fcbaa17ef3f29a9b81cc5ba80e1746862698
2015-08-13Remove LOCAL_MODULE_TAGS vars, switch to SHARED libs.Robert Ginda
These components will have to be included in the PRODUCT_PACKAGES of products that want them. Switch avahi-common and avahi-core back to shared libs. Change-Id: I280fc308c71b8b89b0da29dc997852dbe5879c3b
2015-08-12Initial add of Android.mk files.Robert Ginda
These files were initially generated by the third party "androgenizer", but then updated and cleaned up by hand. The changes to the generated files were: * Hand edited some Android.mk files to add the lib prefix, changed build types, fix references to the dbus library. * Remove Android.mk files for avahi-glib and avahi-gobject since we're not going to need them. * Remove outdated LOCAL_PRELINK_MODULE variable. * Remove LOCAL_MODULE_TAGS from static modules. * Convert literal tabs to 4 spaces. * Dump a warning and exit from update_android_mk.sh, since we've diverged from the generated output. Change user/group (in config.h) from "avahi" to "system". Bug: 22827641 Change-Id: I84c3d7a96e091797f4380003045836f8183531ad
2015-08-11rename avahi-common/malloc.[ch] to avahi-malloc.Robert Ginda
This is to avoid clashing with the system malloc.h, which occurs in an android build beacause of the order of the generated includes. This change was generated with the script: cat > rename_malloc.sh <<EOF replace() { local search="$1" local replace="$2" FILES=$(grep -l "$search" $(find . -name '*.[ch]')) for file in $FILES; do echo $file sed "s|$search|$replace|" < $file > sed.tmp mv sed.tmp $file done } replace "include \"malloc.h\"" "include \"avahi-malloc.h\"" replace "include \"avahi-common/malloc.h\"" \ "include \"avahi-common/avahi-malloc.h\"" replace "include <avahi-common/malloc.h>" \ "include \"avahi-common/avahi-malloc.h\"" EOF Bug: 22827641 Change-Id: I1eeb4a57993650d8aae62f0686942cfac367b9a8
2015-08-11Apply patch 0001 from http://www.avahi.org/ticket/354Robert Ginda
This applies Apply patch 0001 from http://www.avahi.org/ticket/354 "Add support for building on Android", by "asoliverez_ccu". This patch is applied without modification. I used this just as a first step to generate initial Android.mk files. In the followup "Android.mk tweaks" CL, I hand hacked them into submission. The steps are committed as separate CLs in case someone needs to rerun or retrace them in the future. Bug: 22827641 Change-Id: Iaefdbd5aa2ea497e06ba25700a326073fbffc018
2011-04-02general: various smaller fixesLennart Poettering
2010-10-05client: use Ping() to test whether avahi is aroundLennart Poettering
Ping() should work more reliably on systems where dbus activation of avahi is not available. http://avahi.org/ticket/319
2010-07-13gcc: minor enum issues gcc 4.5 discoveredLennart Poettering
2010-07-13client: update libavahi-client so that it can deal with auto-activated avahi ↵Lennart Poettering
daemons
2010-06-25get rid of a lot of old svn cruftLennart Poettering
2010-06-25build-sys: make things more quietLennart Poettering
2010-06-25from now on we enforce a strict whitespace regimeLennart Poettering
2009-11-14fix various compiler warningsLennart Poettering
2009-06-08fix minor typosLennart Poettering
2008-10-26initialize i18n automaticallyLennart Poettering
2008-06-24Make avahi compile on GNU/Hurd. Patch by Samuel Thibault.Sjoerd Simons
2008-06-24Don't use -export-dynamic as a linker flagSjoerd Simons
2008-06-18add .gitignore filesLennart Poettering
2007-12-17rework documentation a bit, and explain the issues pointed out in #185 by ↵Lennart Poettering
Mathias Hasselmann, Closes #185 git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1597 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2007-12-16document the meaning of aprotocol in avahi_service_resolver_new(), closes #179Lennart Poettering
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1579 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2007-08-12make gcc shut up a little bit moreLennart Poettering
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1509 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2007-07-30Document in avahi_entry_group_add_service() that Avahi service names need to ↵Lennart Poettering
be shorter than 63 characters, as requested by Rémi Cardona git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1502 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2007-05-09Doxygen documentation cleanups:Lennart Poettering
* Hide a few irrelevant header files and definitions from doxygen to make the docs shorter * Update some texts * Put functions into categories git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1477 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2007-04-20adda note to avahi_service_resolver_new() to remind people to pass the ↵Lennart Poettering
correct interface/protocol args they received via avahi_service_browser_new()'s callback function git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1449 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2006-12-31remove yet another occurence of dbus_message_iter_get_array_len() due to ↵Lennart Poettering
obsolescence (similar in style to r1357) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1360 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2006-12-31Fix documentation of avahi_{entry_group|client}_new(): clarify that the ↵Lennart Poettering
specified callback function is called for the first time from withing the avahi_xxx_new() context. (Closes #65) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1359 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2006-08-31autoconf love: Lennart Poettering
* use autoconf to check whether dbus_connection_close() is available and use it if it is, don't do those checks based on the D-Bus version. * Make use of dbus_bus_get_private() if it is available. * Since D-Bus agreeed on a cononical way to write their name, use that way in configure.ac. * Add configure options to define the UNIX user/group for avahi-autoipd git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1295 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2006-08-24rethink r1269 once again: instead of updating the entry group state inLennart Poettering
EntryGroup::Commit() immediately (which would cause the state change callback function to be called from the current stack frame which might be roblem for some programs), do it asynchronously again, like in pre-r1269. However, modify GetState() to always return the real state by asking the server if we have doubt that our locally cached state is out-of-date. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1271 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2006-08-24If the client calls EntryGroup::Commit update the local state immediately andLennart Poettering
do not delay this until the server informed us about the state change asynchronously. The reason for this change is that otherwise all functions that access the entry group depend on the out-of-date state for their validity checks, which is obviously a bad idea. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1269 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2006-08-22implement avahi_client_set_host_name() as wrapper around the new DBUS ↵Lennart Poettering
function o.fd.A.S.SetHostName git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1261 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2006-08-21build docs for avahi-core only if --enable-core-docs was passed to ↵Lennart Poettering
configure. Build GLIb docs only when glib is enabled, same for qt3/qt4 git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1253 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2006-07-18 * Fix avhai builds with newer (>= 0.62) dbus that deprecated Trent Lloyd
dbus_connection_disconnect git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1238 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2006-05-15sunstudio cc compat (contributed by Padraig O'Briain)Lennart Poettering
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1219 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2006-05-14brown paperbag: actually reserve memory for our AvahiAddress before parsing ↵Lennart Poettering
data into it. (Reported by Padraig O'Briain) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1217 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2006-04-24* don't call dbus_connection_get_is_connected() for a NULL dbus connection ↵Lennart Poettering
(closes #26) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1193 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2006-02-20reverse 1144, since it broke more things than it fixedLennart Poettering
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1151 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2006-02-17make anonymous structs appear properly in doxygenLennart Poettering
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1144 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2006-01-30doxygen updateLennart Poettering
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1119 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2006-01-28Update doxygen docs for publishing a littleLennart Poettering
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1115 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2006-01-27fix entry group destruction (closes #5)Lennart Poettering
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1110 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2006-01-20add doxygen \since tagsLennart Poettering
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1093 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2006-01-20* add new API function avahi_nss_support()Lennart Poettering
* add new DBUS method Server.IsNSSSupportAvailable() * add support for IsNSSSupportAvailabke() to avahi-bookmarks git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1092 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2006-01-20small fix that speeds up destruction of AvahiClient objects. We will now ↵Lennart Poettering
simply terminate the DBUS connection before freeing local objects. This way the number of server calls is decreased. The server will clean up the client objects anyway if the connection is closed, hence there is no need to do that manually from the client side. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1090 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-12-07remove a stupid fprintf() lineLennart Poettering
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1039 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-11-24don't build static library for dbus-watch-glue and the like, instead compile ↵Lennart Poettering
the sources directly where it is needed git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1028 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-11-24Add DBUS API versioningLennart Poettering
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1027 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-11-24Map DBUS specific errors to Avahi counterpartsLennart Poettering
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1026 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-11-23in the domain browser objects: don't return statically configured browsing ↵Lennart Poettering
domains when the user asked for registration domains git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1022 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-11-16small doxygen fixLennart Poettering
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@986 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe