summaryrefslogtreecommitdiffstats
path: root/avahi-client
Commit message (Collapse)AuthorAgeFilesLines
* bum sonamesLennart Poettering2005-08-281-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@477 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Move service/host name/address resolvers to asynchronous interfacesLennart Poettering2005-08-286-313/+336
| | | | | | | | | | * 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
* * fix some small issues in client-testLennart Poettering2005-08-273-9/+15
| | | | | | | * add protocol argument avahi_adress_resolver_new_a() git-svn-id: file:///home/lennart/svn/public/avahi/trunk@458 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Implement AddressResolver in the avahi-client C apiTrent Lloyd2005-08-265-19/+291
| | | | | | | * Small fix to the HostNameResolver git-svn-id: file:///home/lennart/svn/public/avahi/trunk@450 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Implement the HostNameResolver in the avahi-client C apiTrent Lloyd2005-08-265-3/+302
| | | | | | | | * Add HostNameResolver and ServiceResolver to client-test * Add get_client functions to all avahi-client browsers/resolvers git-svn-id: file:///home/lennart/svn/public/avahi/trunk@449 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fix "sebest's bug" (TM) -- deal with dbus brokeness when passing zero ↵Lennart Poettering2005-08-251-4/+9
| | | | | | length arrays git-svn-id: file:///home/lennart/svn/public/avahi/trunk@446 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * drop useless argumentLennart Poettering2005-08-231-8/+4
| | | | | | | | | * 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
* * avahi-client/Trent Lloyd2005-08-232-2/+39
| | | | | | | | | | | | | | | | | | | | | | - 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
* * Move the D-BUS configured but not compiled in warning, and make it work ↵Trent Lloyd2005-08-231-0/+3
| | | | | | | | | right. * Fix a bug in avahi-client where if you have multiple clients, a crash can occur when using AvahiServiceBrowsers. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@424 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* bump .so current and ageLennart Poettering2005-08-231-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@421 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fPIC fixLennart Poettering2005-08-231-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@415 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add glib integration example.Trent Lloyd2005-08-221-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@394 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add a simple entry group reset/change/commit to client-testTrent Lloyd2005-08-211-3/+17
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@389 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* doc updateLennart Poettering2005-08-201-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@367 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add avahi-client examples to doxygenLennart Poettering2005-08-201-0/+8
| | | | | | | * tighten avahi-core default #includes a bit git-svn-id: file:///home/lennart/svn/public/avahi/trunk@365 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Disable debug output of avahi-clientLennart Poettering2005-08-205-5/+329
| | | | | | | | | * 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
* * complete error handling in avahi-clientLennart Poettering2005-08-205-269/+475
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@362 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * many improvements to avahi-client (especially error handling)Lennart Poettering2005-08-205-317/+665
| | | | | | | * Document AVahi error handling a little git-svn-id: file:///home/lennart/svn/public/avahi/trunk@358 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* rename libdbus-watch-glue to libdbus-commonLennart Poettering2005-08-191-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@355 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Improve and reorganise DBus error handling, see avahi-common/dbus.hTrent Lloyd2005-08-191-3/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@354 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * implement avahi_client_freeLennart Poettering2005-08-194-88/+86
| | | | | | | * issue initial GetState() call synchronously git-svn-id: file:///home/lennart/svn/public/avahi/trunk@352 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * start implementing error handling in avahi-clientLennart Poettering2005-08-166-77/+134
| | | | | | | | | * 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
* * cleanup build system a littleLennart Poettering2005-08-152-44/+41
| | | | | | | | * strip remaining glib usage * -fPIC build fix for x86-64 (thanks tvainika) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@336 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add pkg-config files for avahi-glib/avahi-clientLennart Poettering2005-08-151-1/+2
| | | | | | | | * Generate .pc files with sed * use libtool for building libdbus-watch-glue git-svn-id: file:///home/lennart/svn/public/avahi/trunk@335 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add missing avahi-common dependency to avahi-clientLennart Poettering2005-08-151-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@334 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * implement ini file parserLennart Poettering2005-08-155-278/+7
| | | | | | | | * 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-149-67/+349
| | | | | | | | | | | | * 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
* * Fix docs/INSTALL for the right dbus path for debian (Thanks sebest)Trent Lloyd2005-08-144-3/+1
| | | | | | | | | | * 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
* * Remove AvahiEntryGroups from the client's list when we free itTrent Lloyd2005-08-142-3/+14
| | | | | | | * Add a test for AvahiEntryGroup free() git-svn-id: file:///home/lennart/svn/public/avahi/trunk@322 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Remove most of the debug printf()s from avahi-client code and make sure ↵Trent Lloyd2005-08-143-35/+4
| | | | | | errors are set when appropriate. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@321 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add a free function for AvahiEntryGroup in C apiTrent Lloyd2005-08-143-17/+52
| | | | | | | * Modify the browser free functions to return/set errors. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@320 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Implement free functions for the various browsers in the C apiTrent Lloyd2005-08-143-7/+93
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@319 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add service browser support to C client APITrent Lloyd2005-08-145-1/+154
| | | | | | | * 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
* * Revert revision 303 (Name space changes) as avahi-core has now been changed.Trent Lloyd2005-08-146-118/+92
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@315 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Rename various data structures to prevent a namespace conflict with ↵Trent Lloyd2005-08-126-92/+118
| | | | | | avahi-core git-svn-id: file:///home/lennart/svn/public/avahi/trunk@304 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Some minor error handling cleanupsLennart Poettering2005-08-113-12/+12
| | | | | | | * 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
* rename avahi_entry_group_state() to avahi_entry_group_get_state()Lennart Poettering2005-08-112-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@296 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* There is no need to test a pointer to be freed for being NULL. free() does ↵Lennart Poettering2005-08-111-1/+1
| | | | | | this anyway. See free(3) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@295 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* It is a bad idea to name your own variables "errno". On some system the libc ↵Lennart Poettering2005-08-113-7/+7
| | | | | | 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
* Please do not include "config.h" in header files! (I wrote this in HACKING, ↵Lennart Poettering2005-08-112-4/+4
| | | | | | by the way) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@293 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add ServiceTypeBrowser support to C APITrent Lloyd2005-08-115-8/+160
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@290 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add DomainBrowser support to C client APITrent Lloyd2005-08-117-14/+195
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@289 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Work on avahi-clientTrent Lloyd2005-08-116-44/+528
| | | | | | | | | | | - 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
* * Add avahi-client to the doxygen runTrent Lloyd2005-08-081-0/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@277 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Move avahi-core/llist.h to avahi-common/llist.h, not installed.Trent Lloyd2005-08-084-67/+125
| | | | | | | | | | * 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
* * Fix a stupidity in avahi-client that stopped it from working.Trent Lloyd2005-08-021-6/+6
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@210 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Work on avahi-clientTrent Lloyd2005-08-013-3/+235
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@208 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Move dbus service #defines to avahi-common/dbus.hTrent Lloyd2005-07-294-9/+35
| | | | | | | | | * 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
* * using AC_GNU_SOURCE instead of -D _GNU_SOURCESebastien Estienne2005-07-011-1/+1
| | | | | | | * fixed a typo? in dbus-protocol ("% s" -> " %s") git-svn-id: file:///home/lennart/svn/public/avahi/trunk@159 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Fixed Makefile.am not installing headers file.Sebastien Estienne2005-06-301-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@157 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe