summaryrefslogtreecommitdiffstats
path: root/avahi-daemon
Commit message (Collapse)AuthorAgeFilesLines
* * Add custom user-specific configure flags to bootstrap.shTrent Lloyd2005-10-172-8/+8
| | | | | | | | | | | | * Add new constant AVAHI_ADDRESS_STR_MAX for use with avahi_address_snprint arr ays * Update all our code to use AVAHI_ADDRESS_STR_MAX * Add avahi_client_add_address to avahi-client * Add avahi_client_add_address test to avahi-client git-svn-id: file:///home/lennart/svn/public/avahi/trunk@800 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * split client.h into client.h, lookup.h and publish.h just like we did on ↵Lennart Poettering2005-10-172-53/+110
| | | | | | | | | | | | 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
* * avahi-daemon: Only use multicast when looking up things in simple-protocolTrent Lloyd2005-10-151-8/+8
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@781 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Complete AVAHI_LOOKUP_NO_ADDRESS fixJakub Stachowski2005-10-131-1/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@756 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * handle AVAHI_LOOKUP_NO_ADDRESS over DBUS correctlyLennart Poettering2005-10-131-2/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@755 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * drop AVAHI_RESOLVER_TIMEOUT, AVAHI_RESOLVER_NOT_FOUND and ↵Lennart Poettering2005-10-128-68/+65
| | | | | | | | | | | AVAHI_BROWSER_NOT_FOUND, use AVAHI_xxx_FAILURE instead * set the client/server errno variable when AVAHI_xxx_FAILURE happens * update DBUS interface accordingly, pass errno value with Failure events * Pass DNS return codes to the app by wrapping them in avahi error codes git-svn-id: file:///home/lennart/svn/public/avahi/trunk@732 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* wrap avahi_server_add_service_subtype() for DBUSLennart Poettering2005-10-112-6/+51
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@720 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* remove empty line. YEAH!Lennart Poettering2005-10-031-1/+0
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@690 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Add new flag AVAHI_PUBLISH_IS_PROXY and activate it for static services with ↵Lennart Poettering2005-09-291-1/+1
| | | | | | a host name set git-svn-id: file:///home/lennart/svn/public/avahi/trunk@658 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* change default value of "disallow-other-stacks" to "no" to make Marc happy. ↵Lennart Poettering2005-09-292-2/+1
| | | | | | (i.e. enable SO_REUSEADDR by default) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@652 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * make all flags parameters UINT32 when marshalling for DBUSLennart Poettering2005-09-2911-71/+96
| | | | | | | | | | | | | | | | | | | * rename AvahiEntryFlags to AvahiPublishFlags * add flags parameter to add_service() and friends * validity checking of flags, interface and protocol parameters of add_service() and friends * make AVAHI_VALID_FLAGS a global macro * add new flag AVAHI_PUBLISH_NO_REVERSE, if set address records will no be created with matching reverse lookup PTR RRs * add new flag AVAHI_PUBLISH_NO_COOKIE, for not implicitly adding the service cookie to TXT records * minor cleanups Yes, this will break the mono bindings. More breakages to come. NO_REVERSE and NO_COOKIE needs testing. Lathiat, I guess the new flag NO_REVERSE makes the immediate need to add a client side API to add arbitrary RRs obsolete for now. You might consider moving it in the TODO list to "later". git-svn-id: file:///home/lennart/svn/public/avahi/trunk@648 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add option to not enable SO_REUSEADDR for multicast sockets, effectively ↵Lennart Poettering2005-09-282-0/+4
| | | | | | | | | | disallow multiple mDNS stacks running simultaneously * add a config file option for this and enable it by default * remove some bad \n in log messages git-svn-id: file:///home/lennart/svn/public/avahi/trunk@646 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix yet another bug found by our bugfinder number one, Sebastien. Thank you, ↵Lennart Poettering2005-09-281-0/+1
| | | | | | Sebest! git-svn-id: file:///home/lennart/svn/public/avahi/trunk@642 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * adapt to recent avahi-core API changesLennart Poettering2005-09-2512-127/+337
| | | | | | | * make use of wide area DNS git-svn-id: file:///home/lennart/svn/public/avahi/trunk@609 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Make AVAHI_PROTO_xxx well defined constantsLennart Poettering2005-09-161-6/+6
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@595 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add new DBUS function IsServiceLocal()Lennart Poettering2005-09-102-0/+43
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@562 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add new configuration file option "add-service-cookie"Lennart Poettering2005-09-102-2/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@556 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add magic identification cookies to service TXT records automaticallyLennart Poettering2005-09-103-1/+25
| | | | | | | | | * add an API to query the local service cookie * add a DBUS interface to query the local service cookie * wrap that in avahi-client git-svn-id: file:///home/lennart/svn/public/avahi/trunk@555 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Improve log messagesLennart Poettering2005-08-281-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@465 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * be a little bit more verbose about published IP addressesLennart Poettering2005-08-282-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@464 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * improve debug messages Lennart Poettering2005-08-281-13/+21
| | | | | | | * set destination for asynchronous resolver signals git-svn-id: file:///home/lennart/svn/public/avahi/trunk@460 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Fix a small typo in Server.introspectTrent Lloyd2005-08-271-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@459 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * brrr, fix commit r442Lennart Poettering2005-08-251-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@444 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * support GetNetworkInterfaceNameByIndex/IndexByName on IPv6-only hostsLennart Poettering2005-08-251-8/+10
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@442 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fix small typo which breaks build without dbus Lennart Poettering2005-08-251-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@439 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * really fix compilation without DBUSLennart Poettering2005-08-231-0/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@430 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Fix compilation with D-BUS disabled, include flags in DaemonConfig even ↵Trent Lloyd2005-08-231-2/+0
| | | | | | if HAVE_DBUS is false git-svn-id: file:///home/lennart/svn/public/avahi/trunk@429 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Implement asynchronous service resolving DBUS APILennart Poettering2005-08-231-18/+178
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@427 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Implement asynchronous host name resolvingLennart Poettering2005-08-231-5/+131
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@426 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Implement asynchronous address resolverLennart Poettering2005-08-232-10/+150
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@425 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Move the D-BUS configured but not compiled in warning, and make it work ↵Trent Lloyd2005-08-231-6/+4
| | | | | | | | | 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
* * Yeh, I should like.. test my changes before I commit them, that would be ↵Trent Lloyd2005-08-231-1/+1
| | | | | | a goodd idea. *nod* git-svn-id: file:///home/lennart/svn/public/avahi/trunk@420 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Don't barf on enable-dbus if not compiled with dbus, but print a warning ↵Trent Lloyd2005-08-231-4/+6
| | | | | | if the config file requested to enable it git-svn-id: file:///home/lennart/svn/public/avahi/trunk@419 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Bump version number in configure.ac to 0.2Trent Lloyd2005-08-231-0/+3
| | | | | | | | | | | | | * Move a few dir definitions in Makefile.am's do that autotools doesn't create empty directories * Uncomment AM_CONDITIONAL for TARGET_GENTOO which broke the build * Add missing introspect files to EXTRA_DIST in avahi-daemon/Makefile.am, makes distcheck pass again. * Remove the ugly archlinux specific -std=c99 hack * Replace it with a much more elegant test to see if rtnetlink.h will compile w ith -std=c99 and disable it if it will not git-svn-id: file:///home/lennart/svn/public/avahi/trunk@417 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add introspection data for new resolver interfacesLennart Poettering2005-08-224-6/+99
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@403 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* More asynchronous resolver workLennart Poettering2005-08-222-12/+97
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@402 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Make protocol an attribute instead of an element. (Sorry Lathiat, but you ↵Lennart Poettering2005-08-223-39/+30
| | | | | | broke the DTD, and I just fixed this without forcing a specific order of elements.) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@401 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* preliminary asynchronous resolver workLennart Poettering2005-08-221-39/+73
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@400 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add support for setting enable-dbus to "warn" in avahi-daemon.confLennart Poettering2005-08-221-4/+28
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@397 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* Add debug message when executing simple protocol commandsLennart Poettering2005-08-211-0/+20
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@387 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* initialize n_clients to 0Lennart Poettering2005-08-211-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@381 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * fix a bug with bad collision handling in static services (Thanks Sebest!)Lennart Poettering2005-08-211-7/+8
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@378 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add avahi-client examples to doxygenLennart Poettering2005-08-204-0/+7
| | | | | | | * tighten avahi-core default #includes a bit git-svn-id: file:///home/lennart/svn/public/avahi/trunk@365 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* brown paper bug typoLennart Poettering2005-08-201-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@361 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* small fixesLennart Poettering2005-08-201-7/+8
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@360 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Add support for specifying the protocol in service definition filesTrent Lloyd2005-08-193-1/+34
| | | | | | | | * Add support for proper URL encoding of IPv6 addresses to avahi-bookmarks * Cast some calls in dbus-watch-glue to get rid of warnings git-svn-id: file:///home/lennart/svn/public/avahi/trunk@357 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-31/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@354 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * set FILENO rlimit to 30 by defaultLennart Poettering2005-08-192-13/+34
| | | | | | | * improve DBUS initialization a little git-svn-id: file:///home/lennart/svn/public/avahi/trunk@353 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * start implementing error handling in avahi-clientLennart Poettering2005-08-161-3/+3
| | | | | | | | | * 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