summaryrefslogtreecommitdiffstats
path: root/examples/glib-integration.c
Commit message (Collapse)AuthorAgeFilesLines
* * add new flags parameter to avahi_client_new()Lennart Poettering2005-11-081-0/+1
| | | | | | | | | | | * 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
* * Rename AVAHI_ERR_NOT_CONNECTED to AVAHI_ERR_DISCONNECTEDLennart Poettering2005-11-061-2/+2
| | | | | | | * 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
* * avahi-utils: replace python avahi-browse with a version written in C.Lennart Poettering2005-10-261-3/+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
* add config.h inclusion to glib integration exampleLennart Poettering2005-10-181-0/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@814 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Mention a 'none' option to --with-distro for distributions that are not ↵Trent Lloyd2005-08-231-0/+2
| | | | | | | | | known. * Add a return 0 to the glib integration example, better make good code examples I suppose. :) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@405 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add glib integration example.Trent Lloyd2005-08-221-0/+141
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@394 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe