aboutsummaryrefslogtreecommitdiff
path: root/avahi-client/client.c
AgeCommit message (Collapse)Author
2005-08-28* Move service/host name/address resolvers to asynchronous interfacesLennart Poettering
* drop xxx_get_dbus_path() functions * drop xxx_block() functions * fix compiler warning about missing const * fix some minor memory corruption bugs git-svn-id: file:///home/lennart/svn/public/avahi/trunk@462 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-08-26 * Implement AddressResolver in the avahi-client C apiTrent Lloyd
* Small fix to the HostNameResolver git-svn-id: file:///home/lennart/svn/public/avahi/trunk@450 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-08-23* drop useless argumentLennart Poettering
* do NOT call _exit when DBUS connection dies * don't print directly to STDOUT, that's what DBusError is for * small optimization git-svn-id: file:///home/lennart/svn/public/avahi/trunk@434 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-08-23 * avahi-client/Trent Lloyd
- Create a new function avahi_dbus_bus_get which acts like dbus_bus_get but instead gets a private connection, this solves the bug where you can't have more than one AvahiClient at once because each successive AvahiClient stepped on the DBusWatch handling of the previous due to libdbus liking to recycle its connections. Introduced a new configure option --with-dbus-system-address= if you set this, you likely want it set to unix:path=/some/socket/here The default is /var/run/dbus/system_socket_address, because this path is hard coded into D-BUS itself, and the DBUS_SYSTEM_BUS_ADDRESS environment variable is now supported to change this at runtime which is inline with libdbus. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@432 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-08-20* Disable debug output of avahi-clientLennart Poettering
* implement service resolving API in avahi-client * fix some memory corruption bugs in dbus-watch-glue * add avahi-client examples git-svn-id: file:///home/lennart/svn/public/avahi/trunk@363 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-08-20* complete error handling in avahi-clientLennart Poettering
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@362 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-08-20* many improvements to avahi-client (especially error handling)Lennart Poettering
* Document AVahi error handling a little git-svn-id: file:///home/lennart/svn/public/avahi/trunk@358 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-08-19 * Improve and reorganise DBus error handling, see avahi-common/dbus.hTrent Lloyd
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@354 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-08-19* implement avahi_client_freeLennart Poettering
* issue initial GetState() call synchronously git-svn-id: file:///home/lennart/svn/public/avahi/trunk@352 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-08-16* start implementing error handling in avahi-clientLennart Poettering
* doxygen document timeval.h * add two more AVAHI_GCC_SENTINELs git-svn-id: file:///home/lennart/svn/public/avahi/trunk@350 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-08-15* implement ini file parserLennart Poettering
* 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
2005-08-14* add new priority parameter to avahi_glib_poll_new()Lennart Poettering
* 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
2005-08-14 * Fix docs/INSTALL for the right dbus path for debian (Thanks sebest)Trent Lloyd
* Put -DDBUS_API_SUBJECT_TO_CHANGE in DBUS_CFLAGS and remove from individual files * Add avahi-client to the C++ test runs, compile with DBUS flags * Fix avahi-client to compile with C++ compilers. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@323 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-08-14 * Remove most of the debug printf()s from avahi-client code and make sure ↵Trent Lloyd
errors are set when appropriate. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@321 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-08-14 * Add service browser support to C client APITrent Lloyd
* Small fix to avahi-common to get make distcheck further git-svn-id: file:///home/lennart/svn/public/avahi/trunk@317 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-08-14 * Revert revision 303 (Name space changes) as avahi-core has now been changed.Trent Lloyd
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@315 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-08-12 * Rename various data structures to prevent a namespace conflict with ↵Trent Lloyd
avahi-core git-svn-id: file:///home/lennart/svn/public/avahi/trunk@304 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-08-11* Some minor error handling cleanupsLennart Poettering
* Please use uint16_t for port numbers. This type is defined in inttypes.h which is available nearly everywhere git-svn-id: file:///home/lennart/svn/public/avahi/trunk@297 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-08-11There is no need to test a pointer to be freed for being NULL. free() does ↵Lennart Poettering
this anyway. See free(3) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@295 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-08-11It is a bad idea to name your own variables "errno". On some system the libc ↵Lennart Poettering
defines this as a macro, so you get into strange difficulties. I renamed those variables to "error" wherever this applies. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@294 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-08-11 * Add ServiceTypeBrowser support to C APITrent Lloyd
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@290 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-08-11 * Add DomainBrowser support to C client APITrent Lloyd
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@289 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-08-11 * Work on avahi-clientTrent Lloyd
- Support for connecting and registering services works - Needs some more error handling (DBus Errors from the daemon) - Needs browser support yet * Fix avahi-utils to pass make dist-check * Add new error codes git-svn-id: file:///home/lennart/svn/public/avahi/trunk@288 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-08-08 * Move avahi-core/llist.h to avahi-common/llist.h, not installed.Trent Lloyd
* 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
2005-08-02 * Fix a stupidity in avahi-client that stopped it from working.Trent Lloyd
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@210 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-08-01 * Work on avahi-clientTrent Lloyd
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@208 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-07-29 * Move dbus service #defines to avahi-common/dbus.hTrent Lloyd
* Move cdecl.h to installed common headers * Remove glib use from avahi-client * Only build avahi-client if dbus is enabled git-svn-id: file:///home/lennart/svn/public/avahi/trunk@190 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
2005-06-04 * Add some use documentation to the daemonTrent Lloyd
* Create the structure for avahi-client * Start building avahi-client and daemon by default git-svn-id: file:///home/lennart/svn/public/avahi/trunk@100 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe