History log of /external/avahi/avahi-compat-howl/compat.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-compat-howl/compat.c
908e491f7d55209acfbb2595ab1ef5b24502d641 25-Jun-2010 Lennart Poettering <lennart@poettering.net> get rid of a lot of old svn cruft
/external/avahi/avahi-compat-howl/compat.c
a97605e07ad7f44f2f65e15be64880e61a39ab43 25-Jun-2010 Lennart Poettering <lennart@poettering.net> from now on we enforce a strict whitespace regime
/external/avahi/avahi-compat-howl/compat.c
c1e5b725e8e769c8ac1f5df97aac53896b05af43 22-Aug-2006 Lennart Poettering <lennart@poettering.net> fix logic of AVAHI_SERVER_REGISTERING state handling. Many clients assumed that
this state would follow only on a AVAHI_SERVER_COLLISION state. However, this
is not true, hence we need to handle this state transition, too. Mostly the
same as we already handle AVAHI_SERVER_COLLISION.



git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1258 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-compat-howl/compat.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-compat-howl/compat.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-compat-howl/compat.c
6f37f0e1126ad3776b80dbd64701f38a58738921 06-Nov-2005 Lennart Poettering <lennart@poettering.net> add new client state AVAHI_CLIENT_FAILURE


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@931 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-compat-howl/compat.c
20011324500a728851e4888c890a756ecf71394b 27-Oct-2005 Lennart Poettering <lennart@poettering.net> Add validity checking to TXT data parsing, this fixes a remotely exploitable vulnerability.


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@888 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-compat-howl/compat.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-compat-howl/compat.c
f17d2832301b0f2fcd50fdcc6fec77666178158f 25-Oct-2005 Lennart Poettering <lennart@poettering.net> * add new entry group state AVAHI_ENTRY_GROUP_FAILURE
* pass error code alongside entry gorup state changes over DBUS
* add new server state AVAHI_SERVER_FAILURE
* pass error code alongside server state changes over DBUS
* fix client-publish-service
* rename error code AVAHI_ERR_LOCAL_COLLISION to AVAHI_ERR_COLLISION
* update TODO


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@854 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-compat-howl/compat.c
0c54764cf19428a0c52724a75ddf3368e3899209 17-Oct-2005 Lennart Poettering <lennart@poettering.net> * split client.h into client.h, lookup.h and publish.h just like we did on the server side
* Wrap avahi_server_update_txt() as DBUS function UpdateServiceTxt
* Add client side API avahi_entry_group_update_service_txt() and friends
* handle AVAHI_PUBLISH_UPDATE semantics in DBUS protocol
* minor cleanups


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@791 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-compat-howl/compat.c
f03a9fad41c07d68c692e7d53cd9c1fe374f33bc 16-Oct-2005 Lennart Poettering <lennart@poettering.net> * add a seperate mutex for salt_lock()/salt_unlock() so that it doesn't interfere with our internal locking


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@788 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-compat-howl/compat.c
9da0241b9c1bf751605ba11fa6d4c75e34fe5f2b 16-Oct-2005 Lennart Poettering <lennart@poettering.net> * fix compat-howl to work with nautilus
* make similar changes to compat-libdns_sd
* implement sw_salt_lock()/sw_salt_unlock() in compt-howl
* simple-watch: allows immediate rerunning of avahi_simple_poll_run()


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@787 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-compat-howl/compat.c
3042dfd424c4eed370b8514d45e2c135ce3f6ca4 16-Oct-2005 Lennart Poettering <lennart@poettering.net> compat-howl:
* handle client events
* implement sw_discovery_init_with_flags()
* implement sw_discovery_publish()
* small cleanups

compat-howl is now as complete as compat-libdns_sd and thus omplete enough for
most programs. The missing functions will be implemented on demand only.

compat-libdns_sd:
* set keywords attribute for funcs.txt


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@785 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-compat-howl/compat.c
97613137fbe867f1d4905e60712f635b0cfd7b87 15-Oct-2005 Lennart Poettering <lennart@poettering.net> implement sw_discovery_browse_domains()


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@782 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-compat-howl/compat.c
76bbc91a5d2f151430bf7ecc3328e0147e60c346 15-Oct-2005 Lennart Poettering <lennart@poettering.net> Warn the user about a failed service resolving


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@772 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-compat-howl/compat.c
39917dc347d738e06b81b9456d61f8415a0a0572 15-Oct-2005 Lennart Poettering <lennart@poettering.net> * fix oid calculation
* really create a recursive mutex
* implement sw_discovery_resolve()
* initialize value data with NUL bytes in sw_text_record_iterator_next(), since HOWL seems to assume it


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@768 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-compat-howl/compat.c
a96f0540a6eb9a9cfaabef829982576ebec6e596 15-Oct-2005 Lennart Poettering <lennart@poettering.net> * implement compat-howl core
* add HOWL examples to or build


git-svn-id: file:///home/lennart/svn/public/avahi/trunk@765 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
/external/avahi/avahi-compat-howl/compat.c