History log of /external/avahi/avahi-core/browse-dns-server.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-core/browse-dns-server.c
908e491f7d55209acfbb2595ab1ef5b24502d641 25-Jun-2010 Lennart Poettering <lennart@poettering.net> get rid of a lot of old svn cruft
/external/avahi/avahi-core/browse-dns-server.c
a97605e07ad7f44f2f65e15be64880e61a39ab43 25-Jun-2010 Lennart Poettering <lennart@poettering.net> from now on we enforce a strict whitespace regime
/external/avahi/avahi-core/browse-dns-server.c
854f901f491ccda79aee11edc3d59109cb229d28 26-Oct-2005 Lennart Poettering <lennart@poettering.net> * avahi-utils: replace python avahi-browse with a version written in C.
* remove -Wunused from GCC command line and use "unused" attribute instead
* remove AVAHI_CLIENT_S_FAILURE and AVAHI_CLIENT_S_INVALID since these event's are never forwarded to the client anyway
* make use of AVAHI_GCC_NORETURN
* really send eror code with StateChange DBUS signals
* ignore EINTR in avahi_simple_poll_loop()


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@879 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-core/browse-dns-server.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-core/browse-dns-server.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-core/browse-dns-server.c
d1dd07145bb3db5c6fd77c55aea762eb79ab3b5c 11-Oct-2005 Lennart Poettering <lennart@poettering.net> * rename avahi_service_name_snprint() to avahi_service_name_join()
* add avahi_service_name_split() and make everything use it
* change avahi_normalize_name() to work on a supplied buffer instead of malloc'ed memory.
* add avahi_normalize_name_strdup() that retains the old behaviour avahi_normalize_name()
* same thing for avahi_get_host_name()/avahi_get_host_name_strdup()
* Rewrite domain name escaping and validity checking code
* Remove superfluous memory allocationsfrom various browsers and do some other major cleanups
* add new global macro AVAHI_CHECK_VALIDITY_RETURN_NULL() and modify many things to make use of it
* add AVAHI_LABEL_MAX
* patch everything to make use of AVAHI_LABEL_MAX and AVAHI_DOMAIN_NAME_MAX
* add pretty printing for NS records
* add partial pretty printing for SOA records
* add many more validity checks to various user API functions


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@708 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-core/browse-dns-server.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-core/browse-dns-server.c
1ffedb586bd2fb6daa3970304fac7c5b415cd38f 25-Sep-2005 Lennart Poettering <lennart@poettering.net> * split off lookup.h and publish.h from core.h
* implement wide-area DNS-SD
* if multiple clients query the same records, only start the query packet sequence once
* implement recursive CNAME queries
* add support for resolving services without TXT or A/AAAA records
* enlarge resolving timeouts to 5s
* implement new browse/resolving events CACHE_EXHAUSTED/ALL_FOR_NOW
* add support for resolving services without name. (i.e. for normal SRV records)


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@608 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-core/browse-dns-server.c
af548e38c2c282132ddac2a75a76218ff3be3175 21-Aug-2005 Lennart Poettering <lennart@poettering.net> * Add avahi-client examples to doxygen
* tighten avahi-core default #includes a bit


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@365 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-core/browse-dns-server.c
8b5cd6ffd9137b14b7ed678f10a551e3911e4a40 14-Aug-2005 Lennart Poettering <lennart@poettering.net> Rename some server side objects/symbols so that they do not conflict with the same things on the client side. i.e. AvahiEntryGroup -> AvahiSEntryGroup


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@310 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-core/browse-dns-server.c
4f0a5e7572a4257894b4bfede42c26d65152609e 13-Aug-2005 Lennart Poettering <lennart@poettering.net> * strip glib from avahi-core
* implement glib memory allocator
* add new documentation file MALLOC
* initialize pseudo-RNG from /dev/urandom in avahi-daemon
* remove some gcc 4.0 warnings
* beef up watch system with real timeouts
* move GCC __attribute__ macros into its own header avahi-common/gccmacro.h
* make use of GCC's sentinel attribute where it make sense
* add malloc() implementations that abort on OOM and enable them by default


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@308 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-core/browse-dns-server.c
6e35536bddb52c8e6bc201265c77a846d879b5a3 12-Aug-2005 Lennart Poettering <lennart@poettering.net> * implement hashmap
* de-glib-ify rr.[ch], rrlist.[ch]


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@306 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-core/browse-dns-server.c
5ebf655c85076f200955458673a8bbf0dd927407 12-Aug-2005 Lennart Poettering <lennart@poettering.net> Split avahi-common/util.h into
avahi-common/domain.h
avahi-core/fdutil.h
avahi-core/timeval.h


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@299 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-core/browse-dns-server.c
0632e854728e8e64552ae08f90852d4a2658539e 05-Aug-2005 Lennart Poettering <lennart@poettering.net> * add proper error codes and patch everything to make use of it
* parameter validity checkin in all user visible functions of libavahi-core
* two new python tools/examples avahi-resolve-host-name and avahi-resolve-address


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@238 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-core/browse-dns-server.c
f43187377e0c89ba02ca23e88efa01bbb255e037 03-Aug-2005 Lennart Poettering <lennart@poettering.net> * replace guchar and gint by AvahiProtocol, AvahiIfIndex at many places where it make sense
* change avahi_add_{service,txt}_strlst() to copy the string list
* gcc warning fixes from Ikke
* limit number of DBUS connections
* limit objects created by a DBUS client
* limit number of clients
* limit number of entries a client may create
* add legal blurb to avahi-discover
* remove some obsolete import prototypes from avahi-discover
* don't include config.h in dbus.h
* add string definitions for DBUS errors


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@212 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-core/browse-dns-server.c
9f9f4f6ea2405edc642d322c19f6f13e31920046 24-Jun-2005 Lennart Poettering <lennart@poettering.net> * update todo list
* add avvahi-dnsconfd
* implement AvahiDNSServerBrowser
* Update special browse/register RRs to match current RFC
* add support to avahi-daemon to publish name server information
* add support to avahi-daemon to publish /etc/resolv.conf DNS server information
* add new simple protocol command: "BROWSE-DNS-SERVERS"
* cleanup final configure message


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@143 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-core/browse-dns-server.c