History log of /external/avahi/avahi-client/browser.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8e46e738cae449bf44232c66e973c8e9e15fbcb5 05-Aug-2015 Robert Ginda <rginda@chromium.org> rename avahi-common/malloc.[ch] to avahi-malloc.

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
/external/avahi/avahi-client/browser.c
6589afffbb5f484ebc3aa5a7a533eaf0940ac202 02-Apr-2011 Lennart Poettering <lennart@poettering.net> general: various smaller fixes
/external/avahi/avahi-client/browser.c
908e491f7d55209acfbb2595ab1ef5b24502d641 25-Jun-2010 Lennart Poettering <lennart@poettering.net> get rid of a lot of old svn cruft
/external/avahi/avahi-client/browser.c
a97605e07ad7f44f2f65e15be64880e61a39ab43 25-Jun-2010 Lennart Poettering <lennart@poettering.net> from now on we enforce a strict whitespace regime
/external/avahi/avahi-client/browser.c
f6a388c0b603fa1913da7a5db4737e2c162f9547 23-Nov-2005 Lennart Poettering <lennart@poettering.net> in the domain browser objects: don't return statically configured browsing domains when the user asked for registration domains


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1022 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-client/browser.c
9e4237ebed07d00bf1176178d1358b475d749b27 16-Nov-2005 Lennart Poettering <lennart@poettering.net> * Implement client API for arbitrary record browsing
* Fix memory leak in avahi-client


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@984 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-client/browser.c
6ecd227ceadc32ed229246aa61df6361c7b58a95 08-Nov-2005 Lennart Poettering <lennart@poettering.net> * add new flags parameter to avahi_client_new()
* introduce flags AVAHI_CLIENT_NO_FAIL and AVAHI_CLIENT_IGNORE_USER_CONFIG
* beef up avahi-browse to show how AVAHI_CLIENT_NO_FAIL may be used: add a new
parameter "-f" which tells avahi-browse to stay running when the daemon
disconnects from DBUS and reconnect when it reappears. For now dbus-daemon
restarts are not handled and result in an AVAHI_CLIENT_FAIL event.


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@937 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-client/browser.c
4e2113a7d5b702ff070e8220b32662bb00ae02dd 06-Nov-2005 Lennart Poettering <lennart@poettering.net> * Rename AVAHI_ERR_NOT_CONNECTED to AVAHI_ERR_DISCONNECTED
* Remove client state AVAHI_CLIENT_DISCONNECTED and replace it with AVAHI_CLIENT_FAILURE with error code set to AVAHI_ERR_DISCONNECTED


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@935 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-client/browser.c
e5b1fb8c18a54528d869c350f52011f9f18193ad 05-Nov-2005 Lennart Poettering <lennart@poettering.net> * look for additional browsing dmains in $AVAHI_BROWSE_DOMAINS on the client side
* the same for the XDG config file ~/.config/avah/browse-domains


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@928 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-client/browser.c
6b391bb81f0dce0193a722254016b26c12a17643 18-Oct-2005 Lennart Poettering <lennart@poettering.net> * remove AVAHI_PUBLISH_IS_PROXY, it was a bad idea
* drop avahi_service_is_service_local(), avahi_client_is_service_local()
* add new lookup result flags AVAHI_LOOKUP_RESULT_OUR_OWN and AVAHI_LOOKUP_RESULT_LOCAL
* remove avahi_address_resolver_new() and replace it by avahi_address_resolver_new_a()
* avahi-client: save query data in browse/resolve objects so that we can return it on failure
* other cleanups


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@811 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-client/browser.c
bb14e0a8aa3173c8a6d80b1a9c8b300a452ee9f1 12-Oct-2005 Lennart Poettering <lennart@poettering.net> * drop AVAHI_RESOLVER_TIMEOUT, AVAHI_RESOLVER_NOT_FOUND and AVAHI_BROWSER_NOT_FOUND, use AVAHI_xxx_FAILURE instead
* set the client/server errno variable when AVAHI_xxx_FAILURE happens
* update DBUS interface accordingly, pass errno value with Failure events
* Pass DNS return codes to the app by wrapping them in avahi error codes


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@732 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-client/browser.c
424aefe8a431b79496672799dc4f4430fa935252 29-Sep-2005 Lennart Poettering <lennart@poettering.net> * make all flags parameters UINT32 when marshalling for DBUS
* rename AvahiEntryFlags to AvahiPublishFlags
* add flags parameter to add_service() and friends
* validity checking of flags, interface and protocol parameters of add_service() and friends
* make AVAHI_VALID_FLAGS a global macro
* add new flag AVAHI_PUBLISH_NO_REVERSE, if set address records will no be created with matching reverse lookup PTR RRs
* add new flag AVAHI_PUBLISH_NO_COOKIE, for not implicitly adding the service cookie to TXT records
* minor cleanups

Yes, this will break the mono bindings. More breakages to come.

NO_REVERSE and NO_COOKIE needs testing.

Lathiat, I guess the new flag NO_REVERSE makes the immediate need to add a client side API to add arbitrary RRs obsolete for now. You might consider moving it in the TODO list to "later".


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@648 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-client/browser.c
7da8bb6e9a1990413c943dcfd54c71d8744fcb00 25-Sep-2005 Lennart Poettering <lennart@poettering.net> * fix some bugs
* update to current DBUS API
* add test for resolving standalone SRV records


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@610 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-client/browser.c
abc3054d3823547b72f44e51faef63b51f028b3e 28-Aug-2005 Lennart Poettering <lennart@poettering.net> * Move service/host name/address resolvers to asynchronous interfaces
* drop xxx_get_dbus_path() functions
* drop xxx_block() functions
* fix compiler warning about missing const
* fix some minor memory corruption bugs


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@462 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-client/browser.c
45bf63f4c05690420fd2d701a6399550160aba02 26-Aug-2005 Trent Lloyd <lathiat@bur.st> * Implement the HostNameResolver in the avahi-client C api
* Add HostNameResolver and ServiceResolver to client-test
* Add get_client functions to all avahi-client browsers/resolvers


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@449 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-client/browser.c
1d6cecfe69fa2faea1c81ccd899bac24aad64273 23-Aug-2005 Trent Lloyd <lathiat@bur.st> * Move the D-BUS configured but not compiled in warning, and make it work right.
* Fix a bug in avahi-client where if you have multiple clients, a crash can occur when using AvahiServiceBrowsers.


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@424 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-client/browser.c
d0c6f66e03793c19c034c26c1267f9382167b3ad 20-Aug-2005 Lennart Poettering <lennart@poettering.net> * complete error handling in avahi-client


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@362 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-client/browser.c
ee4cc41fafaac0a2d76c1c791f6d43a6b6d937a7 16-Aug-2005 Lennart Poettering <lennart@poettering.net> * start implementing error handling in avahi-client
* doxygen document timeval.h
* add two more AVAHI_GCC_SENTINELs



git-svn-id: file:///home/lennart/svn/public/avahi/trunk@350 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-client/browser.c
deb6bcac8d1e1ecec4aafaee2d27dbe467e4f461 15-Aug-2005 Lennart Poettering <lennart@poettering.net> * implement ini file parser
* strip glib usage from avahi-daemon
* make dbus-watch-glue a static library so that both avahi-client and avahi-daemon can make use of it


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@327 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-client/browser.c
769c00f228ba0d37217aaf1424dedde390e7a01c 15-Aug-2005 Lennart Poettering <lennart@poettering.net> * add new priority parameter to avahi_glib_poll_new()
* beef up AvahiPoll a little to contain real timeout events
* cleanups in avahi-client
* drop glib dependency
* port to AvahiPoll system
* put some "const"s and "static"s in to make gcc shut up
* change all uses of malloc/free to avahi_malloc/avahi_new/avahi_free


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@324 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-client/browser.c
a4acfaf4f942f702606e660990c873c9ff5b0395 14-Aug-2005 Trent Lloyd <lathiat@bur.st> * Fix docs/INSTALL for the right dbus path for debian (Thanks sebest)
* Put -DDBUS_API_SUBJECT_TO_CHANGE in DBUS_CFLAGS and
remove from individual files
* Add avahi-client to the C++ test runs, compile with DBUS flags
* Fix avahi-client to compile with C++ compilers.


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@323 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-client/browser.c
7dfbaa097e99373e6eec03f07c43c046b94481f8 14-Aug-2005 Trent Lloyd <lathiat@bur.st> * Remove most of the debug printf()s from avahi-client code and make sure errors are set when appropriate.


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@321 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-client/browser.c
3d2e63d2c5c351dde38b24a45a679ce819ed0e41 14-Aug-2005 Trent Lloyd <lathiat@bur.st> * Add a free function for AvahiEntryGroup in C api
* Modify the browser free functions to return/set errors.


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@320 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-client/browser.c
77dc1cb05c8e6d23bd9cea37d4b4644cd76f0f82 14-Aug-2005 Trent Lloyd <lathiat@bur.st> * Implement free functions for the various browsers in the C api


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@319 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-client/browser.c
9f0dd75f02f5eceb758436de07f18fcc892c12f0 14-Aug-2005 Trent Lloyd <lathiat@bur.st> * Add service browser support to C client API
* Small fix to avahi-common to get make distcheck further


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@317 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-client/browser.c
5e9d4f12153a28fa85609724b6c5161712e12ef3 14-Aug-2005 Trent Lloyd <lathiat@bur.st> * Revert revision 303 (Name space changes) as avahi-core has now been changed.


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@315 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-client/browser.c
f8c479234af6b676027df4fb6b38ce8e22949049 12-Aug-2005 Trent Lloyd <lathiat@bur.st> * Rename various data structures to prevent a namespace conflict with avahi-core


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@304 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-client/browser.c
98b772ffc6e06ca0e19c2d31326c281a77646367 11-Aug-2005 Trent Lloyd <lathiat@bur.st> * Add ServiceTypeBrowser support to C API


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@290 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-client/browser.c
fde1c3d1a0156f0e06a819cc0958ec077a88c8c6 11-Aug-2005 Trent Lloyd <lathiat@bur.st> * Add DomainBrowser support to C client API


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@289 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-client/browser.c