summaryrefslogtreecommitdiffstats
path: root/avahi-daemon
Commit message (Collapse)AuthorAgeFilesLines
...
* * add new entry group state AVAHI_ENTRY_GROUP_FAILURELennart Poettering2005-10-245-29/+75
| | | | | | | | | | | | * pass error code alongside entry gorup state changes over DBUS * add new server state AVAHI_SERVER_FAILURE * pass error code alongside server state changes over DBUS * fix client-publish-service * rename error code AVAHI_ERR_LOCAL_COLLISION to AVAHI_ERR_COLLISION * update TODO git-svn-id: file:///home/lennart/svn/public/avahi/trunk@854 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* use seteuid() instead of setreuid(), since the latter seems to be broken on ↵Lennart Poettering2005-10-231-4/+8
| | | | | | macosx git-svn-id: file:///home/lennart/svn/public/avahi/trunk@850 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* increase the maximum number of allowed clients handled over DBUSLennart Poettering2005-10-221-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@840 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * added a missing include in dbus-protocol.cSebastien Estienne2005-10-211-0/+1
| | | | | | | | * added REUSEPORT in socket.c * cosmetic cleaning in iface-pfroute.c git-svn-id: file:///home/lennart/svn/public/avahi/trunk@836 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * replaced some ioctl by if_nametoindex and if_indextonameSebastien Estienne2005-10-191-13/+7
| | | | | | | * cosmetic fix in socket.c git-svn-id: file:///home/lennart/svn/public/avahi/trunk@829 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * remove some --disable in boostrap.sh for osxSebastien Estienne2005-10-191-0/+2
| | | | | | | | | * added a missing include in dus-protocol.h * remove getinterface in a-d-s replaced by if_indextoname * avahi-discover-standalone is now working on osx git-svn-id: file:///home/lennart/svn/public/avahi/trunk@826 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Compile tests only when --enable-tests was specified on the configure ↵Lennart Poettering2005-10-191-0/+2
| | | | | | | | | | | | | command line * Build compat layers only when --enable-compat-{howl,libdns_sd} was passed to configure * drop avahi_strlcpy() to reduce our code/API size * replace getifname() with if_indextoname in avahi-dnsconfd * declare environ if needed in avahi-dnsconfd * drop some useless definitions like AVAHI_PUBLISH_NULL = 0 git-svn-id: file:///home/lennart/svn/public/avahi/trunk@819 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * remove AVAHI_PUBLISH_IS_PROXY, it was a bad ideaLennart Poettering2005-10-183-49/+42
| | | | | | | | | | | * drop avahi_service_is_service_local(), avahi_client_is_service_local() * add new lookup result flags AVAHI_LOOKUP_RESULT_OUR_OWN and AVAHI_LOOKUP_RESULT_LOCAL * remove avahi_address_resolver_new() and replace it by avahi_address_resolver_new_a() * avahi-client: save query data in browse/resolve objects so that we can return it on failure * other cleanups git-svn-id: file:///home/lennart/svn/public/avahi/trunk@811 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * move unicast DNS server registration/browsing routines to their own header ↵Lennart Poettering2005-10-172-0/+4
| | | | | | | | | | | dns-srv-rr.h * remove some unused functions * unexport some functions * other cleanups git-svn-id: file:///home/lennart/svn/public/avahi/trunk@803 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * 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