History log of /external/avahi/avahi-daemon/simple-protocol.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-daemon/simple-protocol.c
4cfd855eb3f148cfad74c562004a723d0a9862b7 02-Apr-2011 Lennart Poettering <lennart@poettering.net> systemd: fix sd_is_socket() invocation
/external/avahi/avahi-daemon/simple-protocol.c
908e491f7d55209acfbb2595ab1ef5b24502d641 25-Jun-2010 Lennart Poettering <lennart@poettering.net> get rid of a lot of old svn cruft
/external/avahi/avahi-daemon/simple-protocol.c
238909aaff10489fe538c8c54e3f82fe8a54b849 02-Jun-2010 Lennart Poettering <lennart@poettering.net> systemd: add support for acquiring socket from systemd
/external/avahi/avahi-daemon/simple-protocol.c
0fa82e3aca0b80504e50016d1661bdcb4b429360 28-Sep-2007 Ted Percival <ted@tedp.net> Copyediting / spelling / grammar


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1547 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-daemon/simple-protocol.c
d0a63590d4730eb0af3ec6027818cb62d50ea657 02-May-2006 Sebastien Estienne <sebastien.estienne@gmail.com> Patch from Padraig O'Briain <Padraig.Obriain@sun.com> to build avahi on Solaris


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1206 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-daemon/simple-protocol.c
eb13918fc2bc190961d6b3938016ea8e988c7d62 24-Apr-2006 Lennart Poettering <lennart@poettering.net> fix bad memory access in simple-procotol.c's debug output


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1196 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-daemon/simple-protocol.c
6d8267e20db0b2900558cda3ec44517e845a0a99 23-Feb-2006 Lennart Poettering <lennart@poettering.net> remove two compiler warnings on OSX


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1161 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-daemon/simple-protocol.c
aedd4e87362371d83dd64d0bfb03ea3e5526607f 30-Oct-2005 Lennart Poettering <lennart@poettering.net> * add chroot() support on Linux


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@907 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-daemon/simple-protocol.c
fd25072a95549aff47d5abafd712fb14de55e172 29-Oct-2005 Sebastien Estienne <sebastien.estienne@gmail.com> * more trivial fix, now avahi-daemon and dnsconfd compiles on OpenBSD


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@904 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-daemon/simple-protocol.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-daemon/simple-protocol.c
263515cd1d7b52ce2ad3dc55a93b9d6f730133f1 18-Oct-2005 Lennart Poettering <lennart@poettering.net> * move unicast DNS server registration/browsing routines to their own header dns-srv-rr.h
* remove some unused functions
* unexport some functions
* other cleanups


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@803 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-daemon/simple-protocol.c
3adbda2cd5be48b7c630325f0f92e315d7eb2cfb 17-Oct-2005 Trent Lloyd <lathiat@bur.st> * Add custom user-specific configure flags to bootstrap.sh
* Add new constant AVAHI_ADDRESS_STR_MAX for use with
avahi_address_snprint arr
ays
* Update all our code to use AVAHI_ADDRESS_STR_MAX
* Add avahi_client_add_address to avahi-client
* Add avahi_client_add_address test to avahi-client


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@800 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-daemon/simple-protocol.c
81a128c7a13247762b80b3928c20532b914cbd4b 15-Oct-2005 Trent Lloyd <lathiat@bur.st> * avahi-daemon: Only use multicast when looking up things in simple-protocol


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@781 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-daemon/simple-protocol.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-daemon/simple-protocol.c
baba720f8375ccf4c3ecfcb7dd4cd20f66e49a30 04-Oct-2005 Lennart Poettering <lennart@poettering.net> remove empty line. YEAH!


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@690 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-daemon/simple-protocol.c
2c453196ee040e17e357f3431b0647391c88d616 25-Sep-2005 Lennart Poettering <lennart@poettering.net> * adapt to recent avahi-core API changes
* make use of wide area DNS


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@609 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-daemon/simple-protocol.c
041302604374ae779d4d6a1e83b5f738c7be00d0 21-Aug-2005 Lennart Poettering <lennart@poettering.net> Add debug message when executing simple protocol commands


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@387 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-daemon/simple-protocol.c
298a8cdb7b369d80a1d8bad2bd315d2a38c5a38f 21-Aug-2005 Lennart Poettering <lennart@poettering.net> initialize n_clients to 0


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@381 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-daemon/simple-protocol.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-daemon/simple-protocol.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-daemon/simple-protocol.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-daemon/simple-protocol.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-daemon/simple-protocol.c
7540df5ed6b383ec93f5a4f10ab2d08f9b9869e4 08-Aug-2005 Trent Lloyd <lathiat@bur.st> * Move avahi-core/llist.h to avahi-common/llist.h, not installed.
* avahi-client/
- Add copyright notice
- Remove glib, various cleanups
- Remove alternative host/service functions (available in avahi-common)


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@275 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-daemon/simple-protocol.c
bf0db10cd964b708a77d2e1768500f57a1392023 05-Aug-2005 Lennart Poettering <lennart@poettering.net> * Beef up simple protocol with error codes


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@239 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-daemon/simple-protocol.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-daemon/simple-protocol.c
66142b071a2497d7e3cf58d7bf5159bb1c970d84 02-Aug-2005 Lennart Poettering <lennart@poettering.net> * allow caller to specifiy additional CFLAGS arguments to bootstrap.sh
* fix some warnings (and some real errors) found when compiling avahi with excessive GCC warnings


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@209 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-daemon/simple-protocol.c
aab15b8d9a9d5d869659915c3d0995929ae4179b 01-Jul-2005 Sebastien Estienne <sebastien.estienne@gmail.com> * moved AVAHI_RUNTIME_DIR and AVAHI_SOCKET in configure.ac
* avahi-dnsconf and avahi use them for pid and socket file
* check that ${prefix} is fully expanded in config.h
* cosmetic changes in configure.ac


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@158 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-daemon/simple-protocol.c
14f8d9beb7ef14b0aab5512345e09109bdd8cb0c 29-Jun-2005 Lennart Poettering <lennart@poettering.net> * recreate DNS query in simple protocol on host or domain name changes
* C++ compatibility


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@151 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-daemon/simple-protocol.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-daemon/simple-protocol.c
0612e247a644046a01b018534cfc27e4af1d13e6 22-Jun-2005 Lennart Poettering <lennart@poettering.net> * remove stale UNIX sockets before creating new ones
* make sure to flush outbound records after conflict detection


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@141 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-daemon/simple-protocol.c
d865d04651f5563c2b3257a8f2073c9eac5fcfe0 21-Jun-2005 Lennart Poettering <lennart@poettering.net> * move socket and pid file to its own directory /var/run/avahi
* create /var/run/avahi securely


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@133 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-daemon/simple-protocol.c
64ab9be453f31b55e35ad5cad8102a9e45244a8c 19-Jun-2005 Lennart Poettering <lennart@poettering.net> * fix memory handling when reading configuration files
* implement signal handling in daemon
* correctly increase reference counter for main contexts when running g_main_context_default()


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@128 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-daemon/simple-protocol.c
f334deaf9d630782be3f7f535265ff7488162f85 16-Jun-2005 Lennart Poettering <lennart@poettering.net> * update avahi_address_parse() to work with AF_UNSPEC address family
* complete simple protocol
* defer scanning already cached RRs when browsing into its own main loop job


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@114 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-daemon/simple-protocol.c
969d343114a3ad07e9f1617ec1df465ca501d222 16-Jun-2005 Lennart Poettering <lennart@poettering.net> * add initial implmenentation of a "simple protocol" for usage with nss-mdns


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@113 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-daemon/simple-protocol.c