summaryrefslogtreecommitdiffstats
path: root/avahi-common/simple-watch.c
Commit message (Collapse)AuthorAgeFilesLines
* get rid of a lot of old svn cruftLennart Poettering2010-06-251-2/+0
|
* from now on we enforce a strict whitespace regimeLennart Poettering2010-06-251-45/+45
|
* Remove an invalid optimization in avahi_simple_poll_run(). (Closes #132)Lennart Poettering2007-04-141-10/+6
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1425 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * avahi-utils: replace python avahi-browse with a version written in C.Lennart Poettering2005-10-261-2/+3
| | | | | | | | | | | * 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
* * do no longer include timeval.h in watch.h by defaultLennart Poettering2005-10-171-3/+3
| | | | | | | | | * fix some include lines from "" to <> * drop dbus.h from doxygen, users of our libraries shouldn't care * other cleanups git-svn-id: file:///home/lennart/svn/public/avahi/trunk@801 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fix compat-howl to work with nautilusLennart Poettering2005-10-161-1/+1
| | | | | | | | | * 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
* ### BACKPORT ###Lennart Poettering2005-10-031-0/+1
| | | | | | | * Fix a hard to trigger bug where events are dispatched that didn't happen in the first place. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@682 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Split up avahi_simple_poll_iterate() into ↵Lennart Poettering2005-10-021-81/+173
| | | | | | | | | | | | | | avahi_simple_poll_prepare(),avahi_simple_poll_run() and avahi_simple_poll_dispatch() * Export wakeup function() * add a userdata argument to poll() function * add avahi_simple_poll_loop() * minimize number of system calls * threading compat improvements * request pollfd rebuild in avahi_simple_poll_new() git-svn-id: file:///home/lennart/svn/public/avahi/trunk@671 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add some mo0re wakeupsLennart Poettering2005-09-141-3/+5
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@579 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add wakeup stuff to AvahiSimplePoll to facilitate integration in threaded ↵Lennart Poettering2005-09-131-3/+69
| | | | | | environments git-svn-id: file:///home/lennart/svn/public/avahi/trunk@578 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix for threading simple pollsLennart Poettering2005-09-131-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@577 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fix a bad memory access bug in avahi_strndup()Lennart Poettering2005-08-151-0/+11
| | | | | | | | * some small optimizations to call gettimeofday() less often * fix dbus-watch-glue to call dbus_connection_dispatch() git-svn-id: file:///home/lennart/svn/public/avahi/trunk@333 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * implement ini file parserLennart Poettering2005-08-151-0/+1
| | | | | | | | * 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
* * add new priority parameter to avahi_glib_poll_new()Lennart Poettering2005-08-141-58/+154
| | | | | | | | | | | | * 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
* * doxygen documentation updatesLennart Poettering2005-08-141-4/+13
| | | | | | | | * make AvahiPoll objects const * make poll() functions pluggable in AvahiSimplePoll git-svn-id: file:///home/lennart/svn/public/avahi/trunk@314 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * strip glib from avahi-coreLennart Poettering2005-08-131-39/+81
| | | | | | | | | | | | | | * 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
* implement new main loop abstraction layerLennart Poettering2005-08-121-0/+324
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@305 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe